Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^8: exists on hash autovivifies right?

by starbolin (Hermit)
on Jun 30, 2008 at 08:46 UTC ( [id://694707]=note: print w/replies, xml ) Need Help??


in reply to Re^7: exists on hash autovivifies right?
in thread exists on hash autovivifies right?

I don't feel an overwhelming need to do anything with regards to auto-vivification as I don't recall it ever being an major issue in any of my programs. In fact, if I see auto-vivification in my data set, that triggers a voice in my head that says "Ah, I abused a reference somewhere!" The only times I have ever had to really struggle with it is when others have coded bizarre, twisted, incorrect, algorithms and then, complained about perl creating spurious data elements when, in fact, perl was merely trying to save them from themselves.

If you feel an overwhelming need to retool auto-vivification then please, feel free to come up with an implementation and push it up to the perldev community.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
  • Comment on Re^8: exists on hash autovivifies right?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-20 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found