[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] File::Find, why ...



Can anyone tell me what's wrong with the following script? As it is, it runs fine. But if I uncomment the last line, it gives error of file not found. I have no idea what could it be.

#!perl -w
use File::Find;
use English;
use strict;

find(\&processLog,'myDrive:folderPath:');

sub processLog {
	my ($ff) = $File::Find::name;
	print $ff, "\n";
# open(WEBLOG,"<$ff") || die("Error opening file: $!");

};


 Xah, xah@best.com
 http://www.best.com/~xah/PageTwo_dir/MathPrograms_dir/mathPrograms.html
 Mountain View, CA, USA



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch