Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: local our $var; What does it do?

by BrowserUk (Pope)
on Jun 18, 2015 at 12:38 UTC ( #1130989=note: print w/replies, xml ) Need Help??


in reply to Re^4: local our $var; What does it do?
in thread local our $var; What does it do?

Indeed :)

But it does beg the question; why when you have to explicitly enable a feature, do you have to also explicitly disable the warnings that are meaningless when you've explicitly requested the feature?

It's like when I'm using hex constants in a 64-bit build of perl and I have to explicitly disable these asinine warnings:

Hexadecimal number > 0xffffffff non-portable at C:\test\mandlebrot\dou +bleDouble.pl line 57. Hexadecimal number > 0xffffffff non-portable at C:\test\mandlebrot\dou +bleDouble.pl line 58. Hexadecimal number > 0xffffffff non-portable at C:\test\mandlebrot\dou +bleDouble.pl line 59.

There is some asinine pedant in p5p adding this shit. I guess I could look up who; but then I'd feel the need to say something personal.


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". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Replies are listed 'Best First'.
Re^6: local our $var; What does it do?
by ikegami (Pope) on Jun 18, 2015 at 17:15 UTC

    It was probably more useful back in the day when there were few 64-bit machines. It's time this warning got abolished.

    They're talking about creating warnings not enabled by use warnings; (as opposed to use warnings 'all';). I disagree with that, but if they through with it, the warning could be demoted instead of abolished.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1130989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2019-07-15 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?