Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Checking for data entry
by jeffa (Bishop) on Jul 08, 2003 at 14:40 UTC | |
|
Re: Checking for data entry
by Tanalis (Curate) on Jul 08, 2003 at 14:45 UTC | |
by fletcher_the_dog (Friar) on Jul 08, 2003 at 19:21 UTC | |
by Anonymous Monk on Jul 08, 2003 at 15:42 UTC | |
by Albannach (Monsignor) on Jul 08, 2003 at 15:58 UTC | |
by Anonymous Monk on Jul 08, 2003 at 16:00 UTC | |
by Albannach (Monsignor) on Jul 08, 2003 at 16:09 UTC | |
| |
by Anonymous Monk on Jul 08, 2003 at 18:06 UTC | |
|
Re: Checking for data entry
by talexb (Chancellor) on Jul 08, 2003 at 15:29 UTC |