Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Porting Commands to Windows

by jonadab (Parson)
on Sep 15, 2014 at 12:49 UTC ( #1100595=note: print w/replies, xml ) Need Help??


in reply to Porting Commands to Windows

In general, Windows is sufficiently different from Unix that no single simple rule will cover all of the changes you're going to have to make if you're using system(). If you can find ways to do things in pure Perl, without relying on external commands, that will be much more portable. As others have pointed out, mkdir exists as a Perl builtin. Other things can be done with modules (although getting CPAN working on Windows can be non-trivial, so you may want to constrain yourself to modules that ship with a particular Perl distribution for Windows).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1100595]
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 2019-12-08 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?