Hallo!
I'm a novice Perl programmer. I want to make a subdirectory in the
path: /data/home/collette/exponat. My code looks like this:

$invnummer = $FORM{'invnummer'};
$path = "/data/home/collette/exponat";
chdir(path);
if ($invnummer ne "") {
mkdir($invnummer, 0755) || die ("Cannot mkdir $invnummer $!");
}
The code doesn't seem to have any errors, but the subdirectory is 
not created whenever I give in the invnummer.
What could be the reason?

Please help me!
Collette Hagert.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to