On Sat, 10 Dec 2011 11:11:15 -0400, frank cui wrote:
> # attempt to read the directory entry for this file my @stat =
> stat($name);
> if ( !$stat[4] && !$stat[5] && !$stat[6] && !$stat[7] && !$stat[8] ) {
> return 0; # according to the code context, here
> it is saying the file is NOT ok
What is the program trying to accomplish? What does "ok" mean for a file
in the context of this exercise? The empirical derivation from the code
doesn't seem useful.
--
Peter Scott
http://www.perlmedic.com/ http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/certificates/perl-programming.php
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/