Using undef in numeric context (like you did) makes it look like 0; using it as a string makes it look like "".if (not defined $x) { print "\$x is undef\n"; }
In reply to Re: what is *undef* ?
by japhy
in thread what is *undef* ?
by kiseok7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |