Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: The default hash - accident, coincidence or conspiracy?

by tlm (Prior)
on Jul 02, 2005 at 23:53 UTC ( #471975=note: print w/replies, xml ) Need Help??


in reply to Re^4: The default hash - accident, coincidence or conspiracy?
in thread The default hash - accident, coincidence or conspiracy?

The $_ example is misleading, because Perl provides a lot of extra built-in help (like implicit localization) that it doesn't provide for other such variables. (I can easily imagine perfectly well-behaved modules that make heavy use of $_ without ever using a single explicit localization of $_.) Without this extra help I think the use of $_, at least in modules, would become much less attractive. An even with all the extra help, the use of $_ is still fraught with trouble.

the lowliest monk

  • Comment on Re^5: The default hash - accident, coincidence or conspiracy?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://471975]
help
Chatterbox?
[LanX]: I think I've send one whitespace by myself at 20
[Discipulus]: are you polluting tests? grin..
[LanX]: 123456789012345678 901234567890123456 789012345678901234 567890
[LanX]: yep
[LanX]: 1234567890 1234567890 1234567890
[LanX]: so inserting own whitespace helps, ie. a JS warning on submit could help preventing problems

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-07-24 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (350 votes). Check out past polls.