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

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

by Dog and Pony (Priest)
on Feb 17, 2002 at 16:24 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-08-13 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?