Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: "not enough arguments" with 'mkdir' command

by sauoq (Abbot)
on Dec 09, 2003 at 00:52 UTC ( [id://313330]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: "not enough arguments" with 'mkdir' command
in thread "not enough arguments" with 'mkdir' command

The entire program is just one line.

Can you show us that one line then?

Does

perl -e "mkdir q(foobar), 0777"
work for you?

Update: Changed to include umask as jsprat's comment is correct.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: Re: Re: "not enough arguments" with 'mkdir' command
by nysus (Parson) on Dec 09, 2003 at 01:13 UTC
    Yeah, here's the line:
    mkdir 'ding';
    I also get an error with your line:
    syntax error at ./test_file.pl line 3, near "perl -e " Execution of ./test_file.pl aborted due to compilation errors.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff";
    $nysus = $PM . $MCF;
    Click here if you love Perl Monks

Log In?
Username:
Password:

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

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

    No recent polls found