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 );