Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Alternative ways to fully qualify subroutine names

by ikegami (Patriarch)
on Feb 04, 2006 at 20:34 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://527989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-19 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found