|
|
| "be consistent" | |
| PerlMonks |
Re: use fields; # damnitby Juerd (Abbot) |
| on Aug 21, 2004 at 12:57 UTC ( #384782=note: print w/ replies, xml ) | Need Help?? |
|
My way of getting error messages when using the wrong property name is by using only the accessor methods. These are made lvalues, so they can be assigned to. It saves a lot of typing (pun intended) too. Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In Section
Meditations
|
|
||||||||||||||||||||