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