in reply to Re^2: searching several files for a string at one time
in thread searching several files for a string at one time
I got this error use of uninitilised value $directory in concatenation (.)or string at.......... sayingline 6 fault in code, but dont know why... bah this stuff confuses me Do I add the code you posted to the code I already have or is it stand alone? If so, what did you mean by run my file as the second bit of code?use strict; use warnings; my $directory = shift; print "dir=$directory\n"; # just for debug
|
|---|