I would use Data::Dumper; die Dumper \@_; in the sub to verify what's getting passed in; also look at the pod for the exec method.my @results = File::Find::Rule->file() ->exec( sub { length($_[1]) < 255 } ) ->in( $dir );
In reply to Re: File:Find::Rule on Win32
by davidrw
in thread File:Find::Rule on Win32
by puploki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |