more useful options | |
PerlMonks |
Re: Autovivification trickby blazar (Canon) |
on Aug 12, 2006 at 10:56 UTC ( [id://567024]=note: print w/replies, xml ) | Need Help?? |
Some more details: in this post someone asked how to "take strings like:"
and "produce something like:" [snip] In my reply I pointed out that there should be a module designed for exactly this kind of things, which I still fail to remember. (
In it I have to compensate for perl not autovivifying in this case. Then Brian McCauley provided an alternative way, precisely suggesting that one do
Instead, which is the Autovivification trick I'm "advertising" here.
In Section
Cool Uses for Perl
|
|