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
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
> -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
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)
>
[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
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
- 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\$\
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
"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
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 ".."
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
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
12 matches
Mail list logo