Christopher,

        You need to encase the parms in ().  The following statements are
equivalent due to the default mask that is applied.

mkdir ("dirname");
mkdir ("dirname", "0777");

Kevin Ireland
Sr. Systems Engineer
Gentiva Health Services
(913) 814-2169
[EMAIL PROTECTED]


-----Original Message-----
From: Christopher Hahn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 16:19
To: Perl win32 email list (E-mail)
Subject: mkdir



Hello all,

I got a compaint from mkdir that I didn't have sufficient
arguments, when I thought that just the dirname should do.

i.e. either

   mkdir "dirname";

or

   mkdir "dirname", "0777";

Here is the error:

      Not enough arguments for mkdir at scbuildprep.pl line 401, near
""updates";

Here is the command:

      mkdir "updates";

Wassup?

Christopher
-- 
Realisant mon espoir, je me lance vers la gloire
Christopher Hahn: [EMAIL PROTECTED] 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
  • mkdir Christopher Hahn
    • Ireland, Kevin

Reply via email to