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

Alternative ways to fully qualify subroutine names

by bobf (Monsignor)
on Feb 04, 2006 at 20:21 UTC ( [id://527987] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $class = 'Very::Long::Class::Name';
  2. or download this
    my $pkg = 'Very::Long::Package::Name';
  3. or download this
    use strict;
    use warnings;
        my $func_str = $pkg . "::foo( 'param' );";
        eval $func_str; # [param]