tsu has asked for the wisdom of the Perl Monks concerning the following question:
use File::Scan; $fs = File::Scan->new(extension => 'bad', move => 'infected'); $fs->scan("e:\\filescan\\test.html"); print "$fs\n"; my $e = $fs->error; print "$e\n"; if(my $e = $fs->error) { print "$e\n"; } if(my $c = $fs->skipped) { print "file skipped ($c)\n"; } print "$c\n"; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to use file::scan
by LTjake (Prior) on Nov 19, 2002 at 20:59 UTC | |
|
Re: how to use file::scan
by insensate (Hermit) on Nov 19, 2002 at 21:01 UTC | |
|
Re: how to use file::scan
by jkahn (Friar) on Nov 19, 2002 at 20:53 UTC | |
by tsu (Novice) on Nov 19, 2002 at 21:01 UTC |