in reply to
Checking the value of an undefined value
just use this: my $n; .... $n = $n || 1;
Comment on
Re: Checking the value of an undefined value
In Section
Seekers of Perl Wisdom