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, 10];



Paul Kraus








-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to