Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: redirection problem

by grizzley (Chaplain)
on Jun 22, 2012 at 09:29 UTC ( #977810=note: print w/ replies, xml ) Need Help??

in reply to Re: redirection problem
in thread redirection problem

No, there are no errors on STDERR:

C:\>type #!perl print 'abc' C:\> > noperl.txt C:\>perl > perl.txt C:\>type noperl.txt C:\>type perl.txt abc C:\>assoc .pl .pl=Perl C:\>ftype Perl Perl="C:\Perl64\bin\perl.exe" "%1" %*
I use standard Windows console.

Comment on Re^2: redirection problem
Download Code
Replies are listed 'Best First'.
Re^3: redirection problem
by Anonymous Monk on Jun 22, 2012 at 09:42 UTC

    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__
      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).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977810]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-11-27 07:22 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (719 votes), past polls