Help for this page

Select Code to Download


  1. or download this
    use Test;
    BEGIN { plan tests => 42 }
    ...
    ok( $reply eq 'some string' );
    ok( scalar @reply == 42 );
    ok( join '', @reply eq 'some list of stuff' );
    
  2. or download this
    $ h2xs -X Foo::Bar
    
  3. or download this
    Foo/Bar/Makefile.PL
    Foo/Bar/Bar.pm
    ...
    Foo/Bar/test.pl
    Foo/Bar/MANIFEST
    Foo/Bar/README
    
  4. or download this
        'NAME' => 'Bar'
    
        # but you need
      
        'NAME' => 'Foo::Bar'
    
  5. or download this
    $ tar -cf Foo-Bar-0.01.tar Foo-Bar-0.01
    $ gzip Foo-Bar-0.01.tar
    
  6. or download this
    $ tar -xzvf Foo-Bar-0.01.tar.gz
    $ perl Makefile.PL
    $ make
    $ make test
    $ make install