Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Generic object in inside-out classes

by Anno (Deacon)
on Feb 10, 2007 at 20:50 UTC ( [id://599394]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package SomeClass;
    use Scalar::Util;
    ...
    
    SomeClass->init( 456);
    print SomeClass->some_field, "\n";
    
  2. or download this
    sub new {
        my $class = shift;
        $class->init( @_);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://599394]
Approved by liverpole
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found