Help for this page

Select Code to Download


  1. or download this
    $ cat myscript.pl
    #!/usr/bin/perl -w
    ...
    
    print "yeah!\n" if $thingy->is_thing();
    print "boo!\n" unless $thingy->is_thing();
    
  2. or download this
    $ cat MyModule.pm
    package MyModule;
    ...
    }
    ...
    1;
    
  3. or download this
    #use lib('.');
    #use MyModule;
    
  4. or download this
    $ cat myscript.pl MyModule.pm > newscript.pl
    $ ./newscript.pl
    $ boo!