Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: What's #! got to do with it?

by kelan (Deacon)
on Jan 19, 2004 at 15:23 UTC ( #322359=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: What's #! got to do with it?
in thread What's #! got to do with it?

Keep in mind that, at least on Win2k, that %* at the end will tell Windows to feed the entire rest of the line to your script, including redirects. So if you tried this:

.\output.pl > anotherfile.txt
@ARGV would look like this:
@ARGV = ('>', 'anotherfile.txt');
and the output would not be redirected. For that reason, I always use the perl script.pl version on Windows, which will work correctly with redirects.

kelan


Perl6 Grammar Student

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-08 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?