Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Multiple "constructors", possible to call several.

by Dog and Pony (Priest)
on Feb 17, 2002 at 16:24 UTC ( [id://146003]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1..11
    Testing to construct via 'start_stuff()'
    ...
            Can't use string ("MyClass") as a HASH ref while "strict refs"
    + in use at
     MyClass.pm line 61.
            MyClass::start_stuff('MyClass') called at testmyclass.pl line 
    +10
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    ok( $object_via_init, $start_stuff_after_init );
    ok( $object_via_init, $start_stuff_after_use );
    ok( $start_stuff_after_init, $start_stuff_after_use );
    

Log In?
Username:
Password:

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

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

    No recent polls found