[sf-perl] Odd behavior for dot operator?

Bill Moseley moseley at hank.org
Fri Mar 18 11:17:51 PDT 2011


On Fri, Mar 18, 2011 at 10:50 AM, Quinn Weaver <quinn at fairpath.com> wrote:

> Note also that this code snippet is equivalent to $y:
>
>    (defined $y)? $y :'undef'
>
> If $y is not defined, then it's undef, by (if you'll pardon me) definition.
>

Isn't is 'undef'?  not undef?




-- 
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20110318/b3b6cf4f/attachment-0001.html>


More information about the SanFrancisco-pm mailing list