You should place a $_ = shift; at the beginning of change.
Or even better:
sub change { my $file = shift; if (-f $file && $file =~ /\.html$/) { . . .
In reply to Re: File Find
by busunsl
in thread File Find
by oaklander
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |