Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    # of the forwarded methods over all objects in 
    # the list, but I can't get it to work!
    print $list->items->name;
    
  2. or download this
    $VAR1 = bless( {
                     'items' => [
    ...
                                ]
                   }, 'MyPackage::List' );
    Can't call method "name" on unblessed reference at test.pl line 32.