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

Re: Porting Commands to Windows

by LanX (Saint)
on Sep 14, 2014 at 08:15 UTC ( [id://1100523]=note: print w/replies, xml ) Need Help??


in reply to Porting Commands to Windows

Are you aware that Perl has it's own mkdir ? :)

The portable way to use system calls is to try to avoid them. ;)

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

Update

A quick search revealed that mkdir on win is considerably different to mkdir on unix, especially when handling options like -p .

But sorry this here is supposed to be a Perl and not an OS forum...

Replies are listed 'Best First'.
Re^2: Porting Commands to Windows
by skx (Parson) on Sep 14, 2014 at 09:12 UTC

    And for handling nesting, etc, you can use File::Path which is distributed with Perl core.

    Steve
    --

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found