---Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robin Norwood
Sent: Monday, July 07, 2003 7:13 AM
To: [EMAIL PROTECTED]
Cc: SPENCERS
Subject: Re: Stat() - Getting one element
"SPENCERS" <[EMAIL PROTECTED]> writes:
> Or.
>
> [EMAIL PROT
TECTED]
Subject: RE: Stat() - Getting one element
Ok I understand this but why the need for enclosing the function call in
().
Thanks for the info.
Paul
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Sta
Paul Kraus wrote:
> From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
> > From: "Paul Kraus" <[EMAIL PROTECTED]>
> > What's an easy way to grab just one element out of a function that
> > returns a list.
> >
> > For instance if I was to stat a file and all I wanted was the $atime
> > or if I just want
Paul Kraus wrote at Mon, 07 Jul 2003 09:27:15 -0400:
> What's an easy way to grab just one element out of a function that
> returns a list.
>
> For instance if I was to stat a file and all I wanted was the $atime or
> if I just wanted the three timestamps atime mtime and ctime. Thanks.
A complet
"SPENCERS" <[EMAIL PROTECTED]> writes:
> Or.
>
> [EMAIL PROTECTED]("filename") ;
> my$FIRSTTIME = "$FILETIME[8,9,10]";
>
> -Original Message-
> From: Paul Kraus [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 6:2
Ok I understand this but why the need for enclosing the function call in
().
Thanks for the info.
Paul
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Stat() - Getting one element
From: "
Or.
[EMAIL PROTECTED]("filename") ;
my$FIRSTTIME = "$FILETIME[8,9,10]";
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 6:27 AM
To: [EMAIL PROTECTED]
Subject: Stat() - Getting one element
What's an easy way to grab
From: "Paul Kraus" <[EMAIL PROTECTED]>
> What's an easy way to grab just one element out of a function that
> returns a list.
>
> For instance if I was to stat a file and all I wanted was the $atime
> or if I just wanted the three timestamps atime mtime and ctime.
> Thanks.
$atime = (stat($file))
Paul Kraus wrote:
What's an easy way to grab just one element out of a function that
returns a list.
For instance if I was to stat a file and all I wanted was the $atime or
if I just wanted the three timestamps atime mtime and ctime. Thanks.
my ($atime, $mtime, $ctime) = (stat ($your_file))[8, 9
What's an easy way to grab just one element out of a function that
returns a list.
For instance if I was to stat a file and all I wanted was the $atime or
if I just wanted the three timestamps atime mtime and ctime. Thanks.
Paul Kraus
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
10 matches
Mail list logo