in reply to how to avoid mis-spelling hash keys?
Now if you misspell an attribute name, it gives you a run-time error.sub get_attr { $_[0]->{'attr'} } sub set_attr { $_[0]->{'attr'} = $_[1] }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: how to avoid mis-spelling hash keys?
by crouchingpenguin (Priest) on Jan 06, 2003 at 16:14 UTC | |
by BrentDax (Hermit) on Jan 06, 2003 at 23:01 UTC |