Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Inheritance of files on windows

by bmann (Priest)
on Jan 31, 2006 at 23:25 UTC ( #526927=note: print w/ replies, xml ) Need Help??


in reply to Inheritance of files on windows

No, it's not silly - see the seemingly unrelated Re: Strange "There is not enough space on the disk" error (Win32) as well as perlwin32faq5:

STDIN and STDOUT, and Piping don't always work on NT/2000.

You may get unexpected results when you try to redirect the output of files that use Windows NT/2000's file association feature. You can use PerlApp or pl2bat to convert a Perl script to an executable or a batch file. This should solve any problems you may have with redirection.

Another alternative that works is to run the script as perl script.pl (which you did).

You can add XP to the list of OSes on the first line. I've searched, but I've never seen a complete explanation for this oddity.


Comment on Re: Inheritance of files on windows
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2014-11-28 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (192 votes), past polls