Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Make $^V and "my" implicit

by ikegami (Pope)
on Feb 06, 2014 at 02:53 UTC ( #1073643=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Make $^V and "my" implicit
in thread Make $^V and "my" implicit

Are you suggesting we declare variables using $x = undef; instead of my $x;? It doesn't sound like a good thing to me. It's longer, and it's less clear. And of course, you'd need a new way to undefine variables.

If you're not talking about replacing all my $x; with $x = undef;, then it's not a declaration, and it would make it impossible to catch typos.


Comment on Re^5: Make $^V and "my" implicit
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2014-10-30 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls