Help for this page

Select Code to Download


  1. or download this
    {
        package MyArray;
    ...
    
    $a0->push(2.0);
    dump_it($a0);
    
  2. or download this
    bless( {"myarray" => [[0],[0,0,0],[1,2,3]]}, 'MyArray' )
    bless( {"myarray" => [[0],["cat"],[1,2,3]]}, 'MyArray' )
    bless( {"myarray" => [[0],["cat"],[1,2,3],[2]]}, 'MyArray' )
    
  3. or download this
    subtype 'MyArray::Ents::Level2'
        => as 'ArrayRef[Str|Num|Int]';
    ...
    ...
    
    isa => 'MyArray::Ents'
    
  4. or download this
    Can't call method "is_a_type_of" on an undefined value at .../Moose/Me
    +ta/Attribute/Native/Trait.pm line 98