Re: newbie hlelp!

2003-09-16 Thread Carl Jolley
On Tue, 16 Sep 2003, alex p wrote: > Thank you all for replying, I am using the code below and I am still unable > to get the correct date > > opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); > @allfiles = readdir(DIR); > #print("," readdir(DIR)); > #closedir(DIR); > foreach $f

Re: newbie hlelp!

2003-09-16 Thread $Bill Luebkert
Lee Goddard wrote: >>A correction for Lee and Trevor. The "-M" function is not >>the same as (stat $file)[9] which is what the original >>poster wanted (i.e. mtime of a file). > > > You're right of course: not a very good mnemonic. > And whilst I'm showing my ignorance, can someone > please exp

RE: Can I unzip with perl a WinZip does had a password ?

2003-09-16 Thread Gerber, Christopher J
> -Original Message- > From: Steven Manross [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 12:47 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Can I unzip with perl a WinZip does had a password ? > > > "The Archive::Zip module does not currently create or ext

Re: newbie hlelp!

2003-09-16 Thread $Bill Luebkert
alex p wrote: > Thank you all for replying, I am using the code below and I am still unable > to get the correct date > > opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); > @allfiles = readdir(DIR); > #print("," readdir(DIR)); > #closedir(DIR); > foreach $f (@allfiles) >

Re: newbie hlelp!

2003-09-16 Thread michael higgins
[EMAIL PROTECTED] wrote: Thank you all for replying, I am using the code below and I am still unable to get the correct date opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); @allfiles = readdir(DIR); #print("," readdir(DIR)); #closedir(DIR); foreach $f (@allfiles) { unless

RE: newbie hlelp!

2003-09-16 Thread Lee Goddard
A correction for Lee and Trevor. The "-M" function is not the same as (stat $file)[9] which is what the original poster wanted (i.e. mtime of a file). You're right of course: not a very good mnemonic. And whilst I'm showing my ignorance, can someone please explain to me why stat needs so many bra

Re: newbie hlelp!

2003-09-16 Thread Dirk Bremer \(NISC\)
- Original Message - From: "alex p" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 11:42 Subject: Re: newbie hlelp! > Thank you all for replying, I am using the code below and I am still unable > to get the correct date > > opendir (DIR, "$server\\c\$\

RE: newbie hlelp!

2003-09-16 Thread Arms, Mike
Lee Goddard ([EMAIL PROTECTED]) wrote: > opendir opens a directory so the contents can be listed. > utime changes the modification times associated with the file. > stat will give you the last modified time (as will -M). > > warn -M $file; > warn ((stat ($file))[9]) Trevor Joerges ([EMAIL PROTEC

RE: Can I unzip with perl a WinZip does had a password ?

2003-09-16 Thread Steven Manross
"The Archive::Zip module does not currently create or extract encrypted members." No passwords... :( You might try to script it using the pkunzip.exe and a system("pkunzip blah blah blah") command... Once you find a copy of PKZ204G.EXE on the internet.. It shouldn't be hard to find. Steven

Re: newbie hlelp!

2003-09-16 Thread alex p
Thank you all for replying, I am using the code below and I am still unable to get the correct date opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); @allfiles = readdir(DIR); #print("," readdir(DIR)); #closedir(DIR); foreach $f (@allfiles) { unless ( ($f eq ".") || ($f eq ".."

Can I unzip with perl a WinZip does had a password ?

2003-09-16 Thread joachim . goerner
Hi all, Can I extract with perl a WinZip-file which is protected with a password ? I looked in 'Archive::Zip' and can find no password-parameter. Best regards/Mit freundlichen Grüssen Joachim Görner Informationsverarbeitung Systemtechnik Basisdienste (ISB) ADAC e.V., Am Westpark 8, 81373 Mün

Re: newbie hlelp!

2003-09-16 Thread Lee Goddard
At 21:41 15/09/2003, alex p wrote: Hello all, I am trying to figure out a way to get the "last modified" date of a file. I have looked at the following modules but they dont seem to address what i need: stat, utime, opendir opendir opens a directory so the contents can be listed. utime changes t