go ahead... be a heretic | |
PerlMonks |
Re: Undefined scalarby Discipulus (Canon) |
on Jul 11, 2017 at 16:52 UTC ( [id://1194841]=note: print w/replies, xml ) | Need Help?? |
Hello Nicpetbio23!, more ways are possible. You might profit the ternary operator described in perlop too: IF CONDITION ? THEN : ELSE
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|