Don't ask to ask, just ask | |
PerlMonks |
Re^5: How do I determine if a variable contains a type glob?by BrowserUk (Patriarch) |
on Dec 07, 2016 at 02:29 UTC ( [id://1177358]=note: print w/replies, xml ) | Need Help?? |
But, why? That code was typed straight into the web page and not tested. In general if you have an isItSomething() routine returning a bool, you don't want it to produce any warnings, just return false if what you've been passed isn't what you're testing for. The fact that there appears to be nothing you can give to ref that produces a warning means it is probably redundant. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
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". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|