Why so complicated? (a sub in a sub)
use strict; use warnings; use File::Find; my @result; find (sub { m/\.pl$/ and push @result, $File::Find::name; }, "aaa");
In reply to Re^2: how to assign output of Find() into a variable $
by Tux
in thread how to assign output of Find() into a variable $
by teddy6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |