Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Alternative ways to fully qualify subroutine names

by ikegami (Pope)
on Feb 04, 2006 at 20:34 UTC ( #527989=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    *vlp_func = \&Very::Long::Package::func;
    
  2. or download this
    use warnings;
    use strict;
    ...
    import_func('Foo::Bar::func', 'fb_func');
    
    fb_func(); # Calls Foo::Bar::func
    
  3. or download this
    import_func("Foo::Bar::$_", "fb_$_")
       foreach qw( func moo bla );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://527989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2014-09-20 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls