The following code:
undef $q ? "undef" : "defined"
is unlikely to do what you intend it to do. undef explains it a bit more.
Most likely, you wanted to use defined instead.
In reply to Re: Can't call method "url" on an undefined value? But it appears defined!
by Corion
in thread Can't call method "url" on an undefined value? But it appears defined!
by mjfrazer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |