Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re (tilly) 3: Generating similar functions in unrelated objects

by tilly (Archbishop)
on Aug 31, 2001 at 07:25 UTC ( [id://109280]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Stringify;
    
    ...
    # Time passes
    package Fu;
    *toString = Stringify::objectToString("Fu");
    
  2. or download this
    package Stringify;
    use strict;
    ...
    }
    
    1;
    
  3. or download this
    package Fu;
    use Stringify; # Use objects as strings, and they stringify
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found