Re: counting down in a for

2003-12-12 Thread drieux
On Dec 11, 2003, at 1:20 PM, [EMAIL PROTECTED] wrote: [..] Why not Open the directory with say opendir() and get the list of files in it? then use the readdir() and 'grep' type tricks: opendir(DIR, $some_dir) || die "can't opendir $some_dir: $!"; @today_files = grep {$_ =~ /^pollerAudit.$fileDa

Re: counting down in a for

2003-12-12 Thread Rob Dixon
<[EMAIL PROTECTED]> wrote: > > 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

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

Re: counting down in a for

2003-12-11 Thread drieux
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 file is pollerAudit.M.D.Y.h.m.s.lan (MDYhms