[8836] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 2453 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Apr 29 10:07:42 1998

Date: Wed, 29 Apr 98 07:00:39 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Wed, 29 Apr 1998     Volume: 8 Number: 2453

Today's topics:
    Re: 1701 days hath September (was: Re: rename funciton) <ljz@asfast.com>
    Re: ANNOUNCE: Perl Builder IDE Now Available <grinch@whoville.com>
    Re: ANNOUNCE: Perl Builder IDE Now Available (Dr. Fridemar Pache)
    Re: ANNOUNCE: Perl Builder IDE Now Available <$_=qq!fearless\@NOSPAMio.com!;y/A-Z//d;print>
        Date of last change of any file <asteinba@htwm.de>
        Dateinamen + Datum letzte Aenderung <asteinba@htwm.de>
    Re: Dateinamen + Datum letzte Aenderung <kirsch@akademie.de>
    Re: Defending Perl <lacey_michael_j/swby@swby.cgo.Cargill.Com>
    Re: Hello people, want to learn Perl ? <lacey_michael_j/swby@swby.cgo.Cargill.Com>
        How to find the number of matches in a string <seong@cse.bridgeport.edu>
    Re: How to find the number of matches in a string <brianm@kodak.com>
    Re: How to load the module with calculated name? (Petr Prikryl)
    Re: Matts Script Archive-WWWBoard-FrontPage-Suddenly No <grinch@whoville.com>
    Re: Not crying when dying? (Petr Prikryl)
    Re: ODBC access via Perl on UNIX box <Jacqui.Caren@ig.co.uk>
    Re: ODBC access via Perl on UNIX box (Mike Heins)
    Re: Odd Regexp Question (Michael Poliakov)
    Re: Odd Regexp Question <dballing@speedchoice.com>
        print($b=1,$b=2) <horst.fickenscher@it.erlm.siemens.de>
        Shared File Access Question/Problem (John Ackermann)
    Re: Sys::syslog not working? (Marc Haber)
    Re: where are the examples in the newer (blue) camel bo <merlyn@stonehenge.com>
    Re: where are the examples in the newer (blue) camel bo <merlyn@stonehenge.com>
    Re: where are the examples in the newer (blue) camel bo (Mark-Jason Dominus)
    Re: You people want Perl to be popular? (Mark-Jason Dominus)
    Re: You people want Perl to be popular? <$_=qq!fearless\@NOSPAMio.com!;y/A-Z//d;print>
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: 29 Apr 1998 07:15:50 -0400
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: 1701 days hath September (was: Re: rename funciton)
Message-Id: <lt67jsubdl.fsf@asfast.com>

Calle Dybedahl <qdtcall@esb.ericsson.se> writes:

> Lloyd Zusman <ljz@asfast.com> writes:
> 
> > But now that we've been enlightened, I'm disappointed to find that
> > it's just more gratuitous anti-"newbie" snobbery.
> 
> "Gratuitous"? If you'd been there you'd know the difference, boy.
> Abigail is absolutely right.

I've been more or less continually contributing to usenet since at
least 5 years prior to the September in reference, and I, too, have
noticed how the large influx of new users over the past several years
has been changing the character of many of the newsgroups here.  And I
also am aware of how institutions like AOL have been instrumental in
attracting large numbers of these new users.  But despite the
advertising spam and despite the larger numbers of frequently asked
questions being posed in many of the technical newsgroups, I'm
generally quite happy to see so many more people from all over the
world communicating here in usenet.

It's not the Sept. 1993 date nor the general historical content of
particular comments in question that I was reacting to, but rather,
it's the condescending snobbery of these comments which I find to be
disappointingly "gratuitous" ... as in "uncalled for".

-- 
 Lloyd Zusman   ljz@asfast.com
 perl -e '$n=170;for($d=2;($d*$d)<=$n;$d+=(1+($d%2))){for($t=0;($n%$d)==0;
 $t++){$n=int($n/$d);}while($t-->0){push(@r,$d);}}if($n>1){push(@r,$n);}
 $x=0;map{$x+=(($_>0)?(1<<log($_-0.5)/log(2.0)+1):1)}@r;print"$x\n"'


------------------------------

Date: Wed, 29 Apr 1998 07:06:53 -0400
From: "Grinch" <grinch@whoville.com>
Subject: Re: ANNOUNCE: Perl Builder IDE Now Available
Message-Id: <6i70mb$sqa@fridge.shore.net>

Matthias Neeracher wrote in message <86ogxl11dx.fsf@gwaihir.ethz.ch>...

> a) In this case, "Balloon Help" is obviously a better description,
wouldn't
>    you agree ? Variables are not "tools" and their value is not a "tip".

I hadn't really considered it, but yes, it is more accurate.

To repeat an earlier post, btw, I wasn't slamming Macs... I only figured the
poster may know the, er..., thingies by a different name.

> b) However one might call it, this is a neat idea.

Yep!

-grinch

--
-----
"Yes, I'm paranoid, but that doesn't mean
no one's out to get me." - me

Sherm Pendley
grinch@whoville.com
http://www.whoville.com





------------------------------

Date: Wed, 29 Apr 1998 12:31:31 GMT
From: dr.pc@t-online.de (Dr. Fridemar Pache)
Subject: Re: ANNOUNCE: Perl Builder IDE Now Available
Message-Id: <6i7667$bvk$1@rznews.rrze.uni-erlangen.de>

Hi
again this annoying message:

"
Forbidden
You don't have permission to access
ftp://ftp13.pair.com/pub/solnsoft/PerlBuilder.exe on this server
"

I'm using IE4 for download. Special settings required?
Or is there too much traffic on your site, such that from time to time
(I seem to be always in the locked interval:-) the ftp-site is closed?

S
Fridemar


>>We would like to invite everyone here to try a pre-release 
>>copy of Perl Builder--the first complete, integrated 




------------------------------

Date: Wed, 29 Apr 1998 06:13:58 -0700
From: "Creede Lambard" <$_=qq!fearless\@NOSPAMio.com!;y/A-Z//d;print>
Subject: Re: ANNOUNCE: Perl Builder IDE Now Available
Message-Id: <6i791d$6ku@bgtnsc03.worldnet.att.net>

I was able to get the download started by opening up the parent
directory in IE4 (ftp://ftp13.pair.com/pub/solnsoft) and clicking on the
link to PerlBuilder.exe. Maybe that would work for you . . .

-- Creede

Dr. Fridemar Pache wrote in message
<6i7667$bvk$1@rznews.rrze.uni-erlangen.de>...
>Hi
>again this annoying message:
>
>"
>Forbidden
>You don't have permission to access
>ftp://ftp13.pair.com/pub/solnsoft/PerlBuilder.exe on this server
>"
>
>I'm using IE4 for download. Special settings required?
>Or is there too much traffic on your site, such that from time to time
>(I seem to be always in the locked interval:-) the ftp-site is closed?
>
>S
>Fridemar
>
>
>>>We would like to invite everyone here to try a pre-release
>>>copy of Perl Builder--the first complete, integrated
>
>




------------------------------

Date: Wed, 29 Apr 1998 13:57:04 +0200
From: Arne Steinbacher <asteinba@htwm.de>
Subject: Date of last change of any file
Message-Id: <35471590.4992CB3@htwm.de>

Hello ,
how can I find out the date of the last change of any file ?

Thanks.



------------------------------

Date: Wed, 29 Apr 1998 13:28:52 +0200
From: Arne Steinbacher <asteinba@htwm.de>
Subject: Dateinamen + Datum letzte Aenderung
Message-Id: <35470EF3.29CD6BB9@htwm.de>

Hallo zusammen,
wie bekomme ich eigentlich das Datum der letzten Aederung einer
beliebigen Datei heraus?
Danke.

Arne



------------------------------

Date: Wed, 29 Apr 1998 13:32:56 +0200
From: Christian Kirsch <kirsch@akademie.de>
Subject: Re: Dateinamen + Datum letzte Aenderung
Message-Id: <35470FE8.1F134282@akademie.de>

Arne Steinbacher wrote:
> 
> Hallo zusammen,
> wie bekomme ich eigentlich das Datum der letzten Aederung einer
> beliebigen Datei heraus?
> Danke.

Ich f|rchte mal, da_ diese Frage in einer englischsprachigen Newsgroup,
die sich mit PERL beschdftigt, eher etwas fehl am Platze ist.

Das mindeste wdre vielleicht noch eine Information |ber das benutzte
Betriebssystem.

Christian


------------------------------

Date: Wed, 29 Apr 1998 12:05:51 +0100
From: "Mike Lacey" <lacey_michael_j/swby@swby.cgo.Cargill.Com>
Subject: Re: Defending Perl
Message-Id: <6i71ik$hrh@wind.cargill.com>

Hmmm

Something tells me that Ilya works with, and has always worked with, fairly
modern, fairly standard, kit.

I'm with Abigail to an extent. On the older systems I used to have a problem
installing perl (and other source code distributed utilities) from time to
time but not so much recently. I've never worked with perl on anything but
various unixes though so I'm somewhat limited myself.

Mike
--
Mike_Lacey@Cargill.Com


Ilya Zakharevich wrote in message
<6i5jll$fdg$1@mathserv.mps.ohio-state.edu>...
>[A complimentary Cc of this posting was sent to Abigail
><abigail@fnx.com>],
>who wrote in article <6i58jn$68r$1@client3.news.psi.net>:
>> I'm not denying Configure is useful. It is. It just makes installation
>> more difficult.
>
>Words, words, words...
>
>Can you *explain* what your problem is/was?  I never need to do
>anything harder than
>
> ./Configure -des -D usethreads -D prefix=~/perllib
> make
> make test
> make install
>
>Ilya




------------------------------

Date: Wed, 29 Apr 1998 12:14:13 +0100
From: "Mike Lacey" <lacey_michael_j/swby@swby.cgo.Cargill.Com>
Subject: Re: Hello people, want to learn Perl ?
Message-Id: <6i7229$i8k@wind.cargill.com>

No commercial bias there re your consultancy business is there? <smile>....

Actually I agree with Randal - might be a bit risky to let new perl
programmers loose.

Regards

Mike
--
Mike_Lacey@Cargill.Com

Randal Schwartz wrote in message <8c90orjly0.fsf@gadget.cscaper.com>...
>>>>>> "Mattias" == Mattias Pihlstrvm <mm@c64.org> writes:
>Mattias> I need some perl programmers to help me out, no money involved,
just
>Mattias> friendship, and doing things to learn from it.
>You *definitely* don't want "first time perl people" hacking web scripts.
>You don't.  Trust me.





------------------------------

Date: Wed, 29 Apr 1998 08:17:08 -0400
From: "Seong Y. Kim" <seong@cse.bridgeport.edu>
Subject: How to find the number of matches in a string
Message-Id: <35471A44.19F3@cse.bridgeport.edu>

Here is my question, 

***************************************************************

$string = "Do you know how to find the number of character matches
within a string";
$NumOfMatches=0;
if ($string =~ /char/){
	print "the string $string includes \'char\'\n";
}else {
	print "the string $string includes \'char\'\n";
}

print " the number of matches are $NumOfMatches \n";

***************************************************************

However, I want my program able to tell me the number of matches within
a string.

can someone help me out?

ITPN
Best wish
Seong Y. Kim


------------------------------

Date: Wed, 29 Apr 1998 09:21:06 -0400
From: Brian Mathis <brianm@kodak.com>
To: seong@cse.bridgeport.edu
Subject: Re: How to find the number of matches in a string
Message-Id: <35472942.3FF11BFA@kodak.com>

Seong Y. Kim wrote:
> 
> Here is my question,
[...]
> However, I want my program able to tell me the number of matches within
> a string.
> 
> can someone help me out?
> 
> ITPN
> Best wish
> Seong Y. Kim

>From the 'perlfunc' page:
    grep EXPR,LIST
[...]
            In a scalar context,
            returns the number of times the expression was TRUE.

Brian Mathis


------------------------------

Date: 29 Apr 1998 11:01:34 GMT
From: prikryl@dcse.fee.vutbr.cz (Petr Prikryl)
Subject: Re: How to load the module with calculated name?
Message-Id: <6i71ae$37c$1@boco.fee.vutbr.cz>

Tom Phoenix (rootbeer@teleport.com) wrote:
>On 28 Apr 1998, Petr Prikryl wrote:
>>     eval "use lib '$dir';" or die "Unsuccessful use lib '$dir': $@";

>To see whether an eval failed, check $@ directly, like this. (The return
>value from an eval may be false even though the eval succeeds.) 
>    eval "use lib '$dir';" ;
>    die "Unsuccessful use lib '$dir': $@" if $@;
>Hope this helps!

Yes, this helped. I just blindly believed to Tom Christiansen's
advice stated in the response 2 in this thread

        unless (eval "require $mod") {
            warn "couldn't load $mod: $@";
        }

which aparently is not the best way even though written for 
Perl Cookbook (draft). The perlfunc documentation (eval) clearly
says that eval() returns undefined value when error occured
during eval() or the value of the last expression (or the one
returned by the return command) if there was no error.
The suggested unless (eval...) { warn... } mislead me -- I 
thought that eval returns true if succeeds and false if
there was an error.
 
>Tom Phoenix       Perl Training and Hacking       Esperanto
>Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/

Thanks for help, Tom P.

                       Petr

--
Petr Prikryl (prikryl@dcse.fee.vutbr.cz)   http://www.fee.vutbr.cz/~prikryl/
TU of Brno, Dept. of Computer Sci. & Engineering;    tel. +420-(0)5-7275 218


------------------------------

Date: Wed, 29 Apr 1998 07:24:06 -0400
From: "Grinch" <grinch@whoville.com>
Subject: Re: Matts Script Archive-WWWBoard-FrontPage-Suddenly Not Working
Message-Id: <6i71mi$he@fridge.shore.net>

brian d foy wrote in message ...

>if anyone ever wondered why so many real programmers don't like Matt's
>work, this is a really good example.

Actually, I've had a lot of first-hand experiences. Before becoming a
freelancer a few months ago, I worked at a web hosting company. It's a small
company with not much room for specialists, so along with everyone else
there, I  wore a lot of hats: admin, programming, support.

I literally don't know how many sites I've had to repair and/or debug.
What's even more fun is debugging Matt's scripts after someone who's on Day
3 of "Learn Perl in 7 Days" has been hacking at it.

It's really sad that kid makes five times as much $$ as the people who clean
up after him.

>sorry for the rant, but give discredit where it is due.  it wasn't
>Microsoft's fault this time.

Give them a minute, they'll catch up... :-)

-grinch


--
-----
"Yes, I'm paranoid, but that doesn't mean
no one's out to get me." - me

Sherm Pendley
grinch@whoville.com
http://www.whoville.com





------------------------------

Date: 29 Apr 1998 11:05:57 GMT
From: prikryl@dcse.fee.vutbr.cz (Petr Prikryl)
Subject: Re: Not crying when dying?
Message-Id: <6i71il$37c$2@boco.fee.vutbr.cz>

Tom Phoenix (rootbeer@teleport.com) wrote:
>On 28 Apr 1998, Petr Prikryl wrote:
>> When trying to use the module which name and path were calculated
>> during run-time, I have observed strange behaviour -- "die" command
>> did not write anything -- died silently. Why?

>You called it from within an eval. Do the docs for eval explain what
>you're seeing? Hope this helps!
>-- 
>Tom Phoenix       Perl Training and Hacking       Esperanto
>Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/

Oh, it seems that only my guess was strange. The documentation
says that the die()'s message is returned inside $@ after eval().

Thanks again, Tom

                    Petr

P.S. I always thought that "RTFM" cannot be applied on me ;-)

--
Petr Prikryl (prikryl@dcse.fee.vutbr.cz)   http://www.fee.vutbr.cz/~prikryl/
TU of Brno, Dept. of Computer Sci. & Engineering;    tel. +420-(0)5-7275 218


------------------------------

Date: Wed, 29 Apr 1998 11:42:25 GMT
From: Jacqui Caren <Jacqui.Caren@ig.co.uk>
Subject: Re: ODBC access via Perl on UNIX box
Message-Id: <Es6B6q.3KJ@ig.co.uk>

In article <35467D80.130DA052@rpi.edu>, John Sasso  <sassoj@rpi.edu> wrote:
>We developed an Access database under Windows95 & NT that stores
>information
>on the workstations on our LAN, and we'd like to be able to make queries
>of the database
>as well as writes to it from a UNIX platform.  We have Perl 5.004
>running under HP-UX 10.20.
>
>I understand that there's a Win32::ODBC module, but has there been one
>ported over to UNIX?
>Any helpful suggestions on developing a client/server app. under UNIX to
>access an Access db
>on a remote Windows 95/NT machine?

Win32::ODBC only works with the ActiveState implementation of perl.

The Standard perl implementation (available from your local CPAN site)
works under both Unixen and NT - as well as other platforms such
as AmigaOS. :-)

The DBI interface provides a DBD::ODBC driver which (if you obtain
a ODBC manager and drivers) you can use to connect to Access from
unix.

Another solution, if you are prepared to migrate to the more
stable SQLServer, is the Sybperl or DBD::Sybase interfaces which
(AFAIK) works under both Unixen and NT and connects to SQLServer.

See

  http://www.hermetica.com/technologia/DBI/

for more information.

Jacqui
-- 
Email: Jacqui.Caren@ig.co.uk  http://www.ig.co.uk/
Fax  : +44 1483 419 419       http://www.perlclinic.com/
Phone: +44 1483 424 424       http://www.perl.co.uk/
Paul Ingram Group Ltd,140A High Street,Godalming GU7 1AB United Kingdom



------------------------------

Date: 29 Apr 98 12:56:32 GMT
From: mikeh@minivend.com (Mike Heins)
Subject: Re: ODBC access via Perl on UNIX box
Message-Id: <35472380.0@news.one.net>

In comp.lang.perl.misc Jacqui Caren <Jacqui.Caren@ig.co.uk> wrote:
> In article <35467D80.130DA052@rpi.edu>, John Sasso  <sassoj@rpi.edu> wrote:
>>We developed an Access database under Windows95 & NT that stores
>>information
>>on the workstations on our LAN, and we'd like to be able to make queries
>>of the database
>>as well as writes to it from a UNIX platform.  We have Perl 5.004
>>running under HP-UX 10.20.
>>
>>I understand that there's a Win32::ODBC module, but has there been one
>>ported over to UNIX?
>>Any helpful suggestions on developing a client/server app. under UNIX to
>>access an Access db
>>on a remote Windows 95/NT machine?

> Win32::ODBC only works with the ActiveState implementation of perl.

Not so -- it will also work with the standard port, albeit only on
a Windows box. Gurusamy's bindist-04 comes with it.

> The Standard perl implementation (available from your local CPAN site)
> works under both Unixen and NT - as well as other platforms such
> as AmigaOS. :-)

> The DBI interface provides a DBD::ODBC driver which (if you obtain
> a ODBC manager and drivers) you can use to connect to Access from
> unix.

Unfortunately, Access does not have a net-capable driver, so this
is not the case, at least as of Office 97.

> Another solution, if you are prepared to migrate to the more
> stable SQLServer, is the Sybperl or DBD::Sybase interfaces which
> (AFAIK) works under both Unixen and NT and connects to SQLServer.

This is true, and might be best for your app.

An alternative is to keep the data on the UNIX box and connect from the
Windows box via ODBC. (MySQL has a fair ODBC driver, and it is the SQL
I use for my applications.)

If you want to have the root version of the data on the Windows box in
and Access-specific format, perhaps so you can do some VBA stuff,
then you can do a query-update of a linked table.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
"The U.S. Senate -- white           131 Willow Lane, Floor 2  | ||  _ \
male millionaires working           Oxford, OH  45056         | || |_) |
for YOU!" -- Dave Barry             <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\


------------------------------

Date: Wed, 29 Apr 1998 11:15:22 GMT
From: polk@inforis.ru (Michael Poliakov)
Subject: Re: Odd Regexp Question
Message-Id: <354909b4.22316698@news.inforis.ru>

On 28 Apr 1998 11:50:59 -0500, Jonathan Feinberg <jdf@pobox.com> wrote:

>> Any thoughts on how to achieve this? Can I do something
>> like:
>> 
>> ($number_2) = /(\d{6})([^\-]|$)/  
>> 
>  you could use a zero-width lookahead assertion (instead of a
>  capture)
>
>      ($foo) = /(\d{6})(?=[^-]|$)/;
>  

I suspect the correct way is

      ($foo) =~ /(\d{6})(?=[^-]|$)/;
             ^^^

Michael Poliakov, Nizhny Novgorod, Russia


------------------------------

Date: Wed, 29 Apr 1998 07:08:02 -0500
From: Derek Balling <dballing@speedchoice.com>
Subject: Re: Odd Regexp Question
Message-Id: <6E4B528DB44DE52D.83A48EA0FA191724.D443D388A0720541@library-proxy.airnews.net>

Ronald J Kimball wrote:
> 
> Derek Balling wrote:
> >
> > Any thoughts on how to achieve this? Can I do something
> > like:
> >
> > ($number_2) = /(\d{6})([^\-]|$)/
> >
> > telling it to match 6 digits next to either a non-"-" or the
> > end of the string? I didn't think that would work, but I'm
> > open to suggestions.
> 
> Here's a suggestion for you:  TRY IT!
> 
> Sheesh.

Heh ... after receiving a number of people's messages saying
that "what you thought looked neat but wouldn't work WOULD
work", I tried it, and it worked.

That'll teach me to second-guess myself. :)

Derek


------------------------------

Date: Wed, 29 Apr 1998 16:15:19 +0200
From: Horst Fickenscher <horst.fickenscher@it.erlm.siemens.de>
Subject: print($b=1,$b=2)
Message-Id: <354735F7.550F@it.erlm.siemens.de>

Perl 5.003 on Linux:

The following code makes a little more sense
than that in the subject line:

my $b;
print($b = "basename", $b = "directory/$b");
# do some other stuff with $b

I thought it should print: basenamedirectory/basename
but it prints:             directory/basenamedirectory/basename

Reading man pages and FAQs doesn't answer my question:

Is this a bug or a feature.
-- 
--Horst--1---------2----no---3---line--4--should-5----be---6--longer-7


------------------------------

Date: Wed, 29 Apr 1998 12:12:02 GMT
From: john.ackermann@daytonOH.ncr.com (John Ackermann)
Subject: Shared File Access Question/Problem
Message-Id: <eNLNbi2c9GA.178@rpc1285.daytonoh.ncr.com>

Hi --

I have a problem that I'm sure has a simple answer, but I haven't been able to 
come up with it...

I have one simple perl script (program "A") that connects via tcp/ip to a 
remote host and receives a text (line delimited) data stream.  It then spools 
that data stream to a disk file, appending new data as it is received.  That's 
all.  The amount of data is relatively small -- say 32kb/hour.

A second perl script (program "B") runs as a server that is launched by inetd. 
 It simply opens (read only) the spool file created by the first 
program, dumps its current contents to the calling system, and continues to 
dump new data as it is appended to the spool file by program A.  There may be 
multiple instances of program B running, and they may be running for a long 
period of time (like many hours).  Program B never needs to write to the spool 
file, it's read-only.

Both programs work, and do what I want.  Almost.

The problem is:  I need to be able to trim the size of the spool file every 
few hours by removing the oldest (i.e., the first) entries.  Actually, I could 
completely zero the file as the remote host that provides the original data 
does some spooling of its own.  But I need to do this in a way that doesn't 
disrupt the server processes that may have the file open in read mode.

So, I'm looking for a way to trim the head of a text file, while not 
disturbing the other processes that are reading the tail end of the file.
A solution that works in program A by trimming the file without disturbing it, 
or in program B by sensing that the open file is gone, and reopening it, would 
be acceptable.

Any pointers would sure be appreciated -- I need to have this thing working 
properly by the weekend.

Thanks!

John Ackermann
jra@febo.com   <-- home
john.ackermann@daytonOH.ncr.com <-- work
 


------------------------------

Date: Wed, 29 Apr 1998 11:21:30 GMT
From: Marc.Haber-usenet@gmx.de (Marc Haber)
Subject: Re: Sys::syslog not working?
Message-Id: <6i72hf$k2n$2@nz12.rz.uni-karlsruhe.de>

Calle Dybedahl <qdtcall@esb.ericsson.se> wrote:
>Marc.Haber-usenet@gmx.de (Marc Haber) writes:
>> I am trying to have a perl script log something on the syslog on a
>> Linux box. I am using the example from the Camel book. That program
>> does: nothing. There is nothing being logged to syslog. syslog.ph is
>> present on the system.
>
>You have set up syslog on your machine to log entries of severity
>info, haven't you? If you haven't, syslogd is just throwing away what
>you send to it.

Actually, I don't know how syslog is configured as the machine was
configured by somebody else. The syslogd ist, however, logging almost
everthing down to every single line sent to the printer.

I will try to log info with higher priority this afternoon.

Thanks for pointing me into that direction.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


------------------------------

Date: Wed, 29 Apr 1998 11:05:22 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
To: Bob Trieger <sowmaster@juicepigs.com>
Subject: Re: where are the examples in the newer (blue) camel book?
Message-Id: <8ciunsopmc.fsf@gadget.cscaper.com>

>>>>> "Bob" == Bob Trieger <sowmaster@juicepigs.com> writes:

Bob> Atleast they haven't taken it to Jerry Springer or Ricki Lake yet. :)

That's because our schedules haven't worked out yet. :-)

print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 125 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


------------------------------

Date: Wed, 29 Apr 1998 11:08:46 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
To: Jon Drukman <jsd@gamespot.com>
Subject: Re: where are the examples in the newer (blue) camel book?
Message-Id: <8cemygopgp.fsf@gadget.cscaper.com>

>>>>> "Jon" == Jon Drukman <jsd@gamespot.com> writes:

Jon> Randal Schwartz wrote:
>> But stop rewriting history.  If you can't get this accurate, stop
>> saying it.  If you don't understand the definition or the
>> responsibilities of a "lead writer" in the technical writing industry,
>> stop using the term.  Hint: "it's not the guy with the most pages".

Jon> i was a technical writer at SCO and Oracle for many years and we never
Jon> used the term "lead writer."  the job as you described it sounds more
Jon> like "project lead."

I'll concede that there is a possibility of the confusion of terms
here.  I learned that term as "lead writer" in my 4 years at
Tektronix.  So, using your terms, I was "project lead" on camel-2ed.
And Larry was "most prolific writer" and "person that we would not
want to upset in any way".  There... less overloaded terms. :)

print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 125 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


------------------------------

Date: 29 Apr 1998 09:08:00 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: where are the examples in the newer (blue) camel book?
Message-Id: <6i78ng$4tf$1@monet.op.net>
Keywords: flexible hotshot loaves spawn

In article <3546A5A6.49BF4B0D@order.booktraders.com>,
Birgitt Funk  <birgitt@order.booktraders.com> wrote:
>I thought they are the ones who moderate - 

Not so far as I know, and I'm the person who has the list of moderators.



------------------------------

Date: 29 Apr 1998 09:19:25 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: You people want Perl to be popular?
Message-Id: <6i79ct$51j$1@monet.op.net>
Keywords: devisee golly rump wobble



It's already popular.



------------------------------

Date: Wed, 29 Apr 1998 06:33:04 -0700
From: "Creede Lambard" <$_=qq!fearless\@NOSPAMio.com!;y/A-Z//d;print>
Subject: Re: You people want Perl to be popular?
Message-Id: <6i7a4e$ats@bgtnsc03.worldnet.att.net>

We want Perl to be useful. Popularity ain't all it's cracked up to be.




------------------------------

Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 8 Mar 97)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V8 Issue 2453
**************************************

home help back first fref pref prev next nref lref last post