RE: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Jason . Santos
No, a user needs execute permission on a directory in order to traverse it (i.e., list the contents). -- Jason Santos Sr. Unix System Administrator APS/Pinnacle West Phoenix, AZ USA -Original Message- From: Tony Frasketi [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 1:13 PM

RE: Is empty directory?

2003-06-16 Thread Jason . Santos
Sure: W:\>type test.pl sub IsDir { return 1 } if ( IsDir() = = 1 ) { print "true" } else { print "false" } W:\>perl test.pl syntax error at test.pl line 2, near "= =" Execution of test.pl aborted due to compilation errors. W:\>perl -v This is perl, v5.8.0 built for MSWin32-x86-m