Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Generating similar functions in unrelated objects

by t'mo (Pilgrim)
on Aug 31, 2001 at 02:03 UTC ( #109219=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    sub ObjectToString {
    ...
    package Baz;
    sub toString = ObjectToString("Baz");
    ...
    
  2. or download this
    my ($foo, $bar, $baz);
    
    ...
    # do stuff with bar...
    print $bar->toString();
    ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2016-07-29 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (262 votes). Check out past polls.