![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^5: What is true and false in Perl? (undef,undef)by davido (Cardinal) |
on Nov 22, 2013 at 18:11 UTC ( #1063973=note: print w/replies, xml ) | Need Help?? |
What do you think ref does? In your example code, $a doesn't contain a reference. It contains a false value. ref does exactly this: "Returns a non-empty string if EXPR is a reference, the empty string otherwise." Dave
In Section
Tutorials
|
|