added my to $dir = "c:/temp";use File::Find; use strict; use warnings; my $dir = "c:/temp"; sub edit { print FILE "$File::Find::name"."\n"; } open(FILE, ">file.txt"); find(\&edit,$dir); close(FILE);
In reply to Re: writing the finding result into a file.txt
by clueless newbie
in thread writing the finding result into a file.txt
by The Mass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |