Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Why doesn't Perl provide %_ as the hash equivalent of @_ in subs?

by Anonymous Monk
on Sep 26, 2013 at 12:42 UTC ( #1055824=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Why doesn't Perl provide %_ as the hash equivalent of @_ in subs?
in thread Why doesn't Perl provide %_ as the hash equivalent of @_ in subs?

but that's no argument against wanting something to be a built-in Perl feature - so it can be conveniently used even in casual self-contained Perl scripts, and so it will be fast.

yes it is because of exactly this

Hap-hazard new features is the reason perl has so many warts, and the p5p are finally catching onto this

This is why your feature-dea will never be a built-in Perl feature like you imagine it will be -- nobody is going to implement it for you and ferret out all the bugs and interactions (and XS and ...) :)

The burden of proof is upon you to prove this feature is worth it, to ferret out all the potential problems and interactions

At least you're not asking to change precedence table :)


Comment on Re^4: Why doesn't Perl provide %_ as the hash equivalent of @_ in subs?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-08-30 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls