Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Porting Commands to Windows

by jonadab (Parson)
on Sep 15, 2014 at 12:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1100595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found