http://www.perlmonks.org?node_id=977814


in reply to Re^2: redirection problem
in thread redirection problem

Do a  dir scrip*

Also try

#!/usr/bin/perl -- use strict; use warnings; use File::Find::Rule; use Env qw/ @PATH /; use Data::Dump; dd( find( 'file', 'name', qr/script/i, 'maxdepth', 1, 'in', \@PATH)); __END__

Replies are listed 'Best First'.
Re^4: redirection problem
by grizzley (Chaplain) on Jun 22, 2012 at 09:47 UTC
    You mean I have another script with the same name? No, it happens with all scripts I write, there must be some setting in the system or maybe this specific ActivePerl 5.14.2 + Win 7 configuration. Previously on Win XP with ActivePerl 5.12 it was working fine (I'll try to install 5.12 in a moment to check this).