in reply to Searching a file system
sub walk { my ($file, $prefix);
Unrelated, but you probably want to escape the . in your regex because it has special meaning. Also, there is usually no need to quote a scalar variable:
if ("$file"=~m/.nsf$/){
should probably be:
if ($file =~ m/\.nsf$/) {
|
|---|