Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Dynamic Method Calls

by ton (Friar)
on Aug 28, 2001 at 01:17 UTC ( [id://108271]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyClass;
    use strict;
    ...
    }
    
    1;
    
  2. or download this
    use MyClass;
    use strict;
    ...
    $string = ref($pack) . "::$string";
    no strict 'refs';
    &$string($pack);
    
  3. or download this
    package MySubClass;
    use strict;
    ...
    # All implementation is done by the superclass
    
    1;
    
  4. or download this
    use MySubClass;
    use strict;
    ...
    $string = ref($pack) . "::$string";
    no strict 'refs';
    &$string($pack);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://108271]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found