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

Re: relative paths...

by poj (Parson)
on Aug 13, 2014 at 12:21 UTC ( #1097265=note: print w/ replies, xml ) Need Help??


in reply to relative paths...

mkdir "$dir1\\BC_TESTCASES" will fail if $dir1 does not exist.
Consider using File::Path, for example
#!perl use strict; use File::Path 'make_path'; my $dir = 'xyz1'; make_path("$dir/BC_TESTCASES",{verbose=>1}) or warn "$!";
poj
Comment on Re: relative paths...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2016-04-30 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.