Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How do I make deterministic constructors?

by btrott (Parson)
on Jun 21, 2000 at 23:49 UTC ( [id://19319]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        package R;
    
    ...
            my $self = { @_ };
            bless $self, $class;
        }
    
  2. or download this
        my $r1 = new R;
        my $r2 = new R (foo => 'bar');
        my $r3 = new R (baz => 'quux', foo => 'bar');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-19 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found