For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2007 > Re: Passing each of the files in a directory as parameter to the









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Passing each of the files in a directory as parameter to the
hwigoda@mindspring.com

2007-08-01, 7:00 pm

i believe it returns the permissions of the file
to $access.



-----Original Message-----[color=darkred]
>From: Mihir Kamdar <kamdarmihir06@gmail.com>
>Sent: Aug 1, 2007 10:49 AM
>To: Paul Lalli <mritty@gmail.com>
>Cc: beginners@perl.org
>Subject: Re: Passing each of the files in a directory as parameter to the perl script
>
>hey Rob,
>
>Can you explain with reference to your code, what does this do:
>
>my $access = (stat $fname)[8];
>
>
>On 8/1/07, Paul Lalli <mritty@gmail.com> wrote:

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com