I think I prefer
use Symbol qw/ qualify_to_ref /; *{ qualify_to_ref($name) } = sub { ... };
ihb
See perltoc if you don't know which perldoc to read!
In reply to Re: What is this doing, and why is this a good method of doing it?
by ihb
in thread What is this doing, and why is this a good method of doing it?
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |