Just another Perl shrine | |
PerlMonks |
Error in Camel Book Ver2?by Anonymous Monk |
on Dec 21, 2000 at 09:55 UTC ( [id://47738]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hello, I'm perplexed on this line, from the camel book, second edition, pg 540: Similarily, set default values with:
Which, doesn't really makes sense, and doesn't well, work anyways, am I missing something? I personally am trying to shorten this piece of code:
Which is trying to set a default variable to something (a copy of a tied hash) that may not be there. There's about 10 of those nasty lines, so a for loop looks inticing. Any help will be apreciated :)
Back to
Seekers of Perl Wisdom
|
|