|
|
| There's more than one way to do things | |
| PerlMonks |
Re: $scalar => 'WTF?';by BrowserUk (Pope) |
| on Sep 07, 2011 at 00:49 UTC ( #924494=note: print w/ replies, xml ) | Need Help?? |
|
If you enabled warnings, you should have seen:
What you coded is exactly the same as:
Which in turn is equivalent to:
You declared but did not initialise $x and put a constant in a void context. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||