RE: Stat() - Getting one element

2003-07-07 Thread SPENCERS
---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

RE: Stat() - Getting one element

2003-07-07 Thread SPENCERS
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

Re: Stat() - Getting one element

2003-07-07 Thread Rob Dixon
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

Re: Stat() - Getting one element

2003-07-07 Thread Janek Schleicher
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

Re: Stat() - Getting one element

2003-07-07 Thread Robin Norwood
"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

RE: Stat() - Getting one element

2003-07-07 Thread Paul Kraus
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: "

RE: Stat() - Getting one element

2003-07-07 Thread SPENCERS
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

Re: Stat() - Getting one element

2003-07-07 Thread Jenda Krynicky
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))

Re: Stat() - Getting one element

2003-07-07 Thread Sudarshan Raghavan
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

Stat() - Getting one element

2003-07-07 Thread Paul Kraus
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