Do I also need some sort of chomp command for the data entry?use File::Find; use strict; my $StartDir = shift || do { die "No argument given. Resubmit with parameter.\n"; exit 0; }; sub processSub { #do stuff here } find(\&processSub, $StartDir); #rest of script....
chomp $StartDir;
In reply to Checking for data entry by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |