Help for this page

Select Code to Download


  1. or download this
    package Logger;
    use warnings;
    ...
    sub log_warn { warn @_ }
    
    __PACKAGE__
    
  2. or download this
    package Common;
    use warnings;
    ...
    sub import { goto &$import }
    
    __PACKAGE__
    
  3. or download this
    package MyObj;
    
    ...
    }
    
    __PACKAGE__->meta->make_immutable
    
  4. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        $o->foo;
        is($warnings[0], $warnings, $name);
    }
    
  5. or download this
    t/01-basic.t .. 
    1..4
    ...
    t/01-basic.t (Wstat: 65280 Tests: 0 Failed: 0)
      Non-zero exit status: 255
      Parse errors: Bad plan.  You planned 4 tests but ran 0.
    
  6. or download this
    #!/usr/bin/perl
    use warnings;
    use strict;
    ...
        $o->foo;
        is($warnings[0], $warnings, $name);
    }