I am trying to pass a file extension as a command line argument, then to search all directories for that partcular extension, but have problem getting it to work.  Could you please advise.
 
$ext = $ARGV[1];
...
...
...
&bad_files($entry,$size) if($entry =~ /\$ext$/);
 
 
Thanks
Terry


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Reply via email to