in reply to Re: AUTOLOAD for variables?
in thread AUTOLOAD for variables?
I like the trick but, unfortunately, the evil of my users far surpasses it. Its not uncommon to see code such as:
You really don't want to see some of the more nasty code. Honest. Especially not the 70000 line regex (its one saving grace is the /x modifier). And perhaps not the script that parses another script's --verbose output. Or perhaps ...my $value= ${ uc join "_", @$reg_spec{ qw( device reg field ) } };
--Dave
Opinions my own; statements of fact may be in error.
Opinions my own; statements of fact may be in error.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: AUTOLOAD for variables?
by dragonchild (Archbishop) on Jul 08, 2004 at 13:22 UTC |
In Section
Seekers of Perl Wisdom