Help for this page

Select Code to Download


  1. or download this
    package MyTypes;
    
    ...
      => via { tie my @array, "Tie::File", $_; return \@array };
    
    1;
    
  2. or download this
    package Foo;
    
    ...
    );
    
    1;
    
  3. or download this
    WARNING: String found where Type expected (did you use a => instead of
    + a , ?) at lib/MyDemoTypes.pm line 14
    WARNING: String found where Type expected (did you use a => instead of
    + a , ?) at lib/MyDemoTypes.pm line 19
    WARNING: String found where Type expected (did you use a => instead of
    + a , ?) at lib/MyDemoTypes.pm line 19
    WARNING: String found where Type expected (did you use a => instead of
    + a , ?) at lib/MyDemoTypes.pm line 23
    WARNING: String found where Type expected (did you use a => instead of
    + a , ?) at lib/MyDemoTypes.pm line 23
    
  4. or download this
    Can't call method "is_a_type_of" on an undefined value at /Users/io1/p
    +erl5/perlbrew/perls/p512/lib/site_perl/5.12.0/darwin-thread-multi-2le
    +vel/Moose/Meta/Attribute/Native/Trait.pm line 62.
    Compilation failed in require.
    BEGIN failed--compilation aborted.