in reply to File:Find::Rule on Win32
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 );
|
|---|