On Jun 13, John W. Krahn said:
>> if ($invnummer ne "") {
>
>What if $invnumber has the value undef?
If $invnummer [sic] is undef, then in a string context, $invnummer DOES eq
"", so he's safe.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #
[EMAIL PROTECTED] wrote:
> Hallo!
Hello,
> 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);
You are missi
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 $invnumm