Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: What is this doing, and why is this a good method of doing it?

by ihb (Deacon)
on Jul 26, 2005 at 19:29 UTC ( [id://478334] : note . print w/replies, xml ) Need Help??


in reply to What is this doing, and why is this a good method of doing it?

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!

  • Comment on Re: What is this doing, and why is this a good method of doing it?
  • Download Code