all confused about a hash

2004-02-20 Thread DrOwl
Hi all, I am searching through a large data file and pulling out the data for elements that match the IP address... this is at least half working well up to " #just for testing 1" but not after " #just for testing 2", hash %segmentFields is not being populated.

Re: parse email

2004-01-19 Thread drowl
> Is there anyway I can get outlook to run a perl script whenever mail > from a particular user arrives? > > I have Hylafax log data email to me. It would be great if I could just > get outlook to run the app for me to generate the reports instead of > having to copy the message into a text file a

Re: deprecated

2004-01-15 Thread drowl
> Jenda Krynicky wrote: >> >> From: "Rob Dixon" <[EMAIL PROTECTED]> >> > Jabez Wilson wrote: >> > > In scalar context, returns the number of fields found and splits >> into the "@_" array. Use of split in scalar context is deprecated, >> however, because it clobbers your subroutine arguments." >>

Re: multiline matching

2004-01-15 Thread drowl
> On Wed, Jan 14, 2004 at 06:22:58PM -0700, Jose Malacara wrote: >> Can someone explain to me how to do multiline matching? I am trying to >> extract three consecutive lines from a datafile containing multiple >> records like this: >> Hi All well i was reading through and i have a similar proble

Re: counting down in a for

2003-12-11 Thread DrOwl
At 20:45 11/12/2003, you wrote: >On Dec 11, 2003, at 11:49 AM, [EMAIL PROTECTED] wrote: >[..] >> there is probably a much better way of doing all this i am working on >>the checkResults sub. >>it should find the pollerAudit log created by the main process >>(discover) the file format for the log

counting down in a for

2003-12-11 Thread drowl
Hi all there is probably a much better way of doing all this i am working on the checkResults sub. it should find the pollerAudit log created by the main process (discover) the file format for the log file is pollerAudit.M.D.Y.h.m.s.lan (MDYhms being month day year hrs min sec) but as we do not

Re: first steps - read from files and make linklist

2003-12-03 Thread drowl
> Hello list, > > I am trying to write my very own first "useful" program and I am in > need of some help. I do have a lot of ressources (a book by Andrew > Johnson, the yellow book for dummies and lots of hypertexts) but I > cannot seem to get things done the way they're supposed to work. I am >

RE: factorial function

2003-11-26 Thread drowl
> B. Rothstein wrote: >> Does anyone have any suggestions on how to create an array to hold the >> value of 1000 factorial? > > This will compute it: > > perl -MMath::BigInt -le '$n = Math::BigInt->new("1"); $n *= $_ for > 2..1000; print $n' > in trying to understand this i guess that: $n = Math:

Re: factorial function

2003-11-26 Thread drowl
>>Does anyone have any suggestions on how to create an array to hold the >> value of 1000 factorial? > > Do you mean 1000! > > That's a super-sized number--something like 10-to-the-2566th power, if > I am using Sterling's approximation correctly. > > I don't know of a numeric type that stores suc

Re: not on topic but relevant to list

2003-11-13 Thread drowl
> Just dont use mail > > use a newsreader to use this group pointed at nntp.perl.org > > Ram > Thanks what a excellent idea, all tho i fear it will not save me now. Does any one know of a good news reader i can install on my web-site? one written in Perl would be nice ;) > > -- > To unsubscribe,

Re: not on topic but relevant to list

2003-11-12 Thread DrOwl
At 02:00 13/11/2003, you wrote: >On Wednesday, Nov 12, 2003, at 15:25 US/Pacific, Casey West wrote: > >>It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the soap box, saying: >>: hum could we not get a nice topic prefix added to the list? >>: it would make it a lot easy to make mai

RE: not on topic but relevant to list

2003-11-12 Thread DrOwl
At 22:12 12/11/2003, you wrote: >> I recently changed the email address i use for this >> list and posted a question, >> i have never use this email address before and now i >> receiving regular spam to this address >> Is it Just me or has every one started to receive a lot >>

not on topic but relevant to list

2003-11-12 Thread DrOwl
I recently changed the email address i use for this list and posted a question, i have never use this email address before and now i receiving regular spam to this address Is it Just me or has every one started to receive a lot of spam on address used for this l

Re: RFC on first perl script

2003-11-07 Thread drowl
> <[EMAIL PROTECTED]> wrote: >> >> well im trying at lerning this perl stuff.. reading from the >> "learning >> perl" oreilly book and a few other places, >> but also using perl a long time before i should ie making the below >> script, so that i dont get in to any very bad habbits at such an ear

Re: RFC on first perl script

2003-11-06 Thread drowl
> On Thu, 06 Nov 2003 16:33:41 +0000, drowl wrote: >> #!/usr/bin/perl -w > > No big deal, but - IMO - easier to read, and it adds strict; > > #!/usr/bin/perl > # > use strict; > use warnings; > >> @dataFile=<>; # read in file from command lin

RE: RFC on first perl script

2003-11-06 Thread drowl
Good stuff all taken on board did take me a while to figger out that EOF had to be at the begging of the line tho, but i got there in the end... and a question about "use strict" i now get the below warning along with many others... how does one declair a varible then? Global symbol "$site"

RFC on first perl script

2003-11-06 Thread drowl
Hi all well im trying at lerning this perl stuff.. reading from the "learning perl" oreilly book and a few other places, but also using perl a long time before i should ie making the below script, so that i dont get in to any very bad habbits at such an early stage. could some one please have a