Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl;
    
    ...
    sub bartender_says {
      ... many more lines of code
    }
    
  2. or download this
    #!/usr/bin/perl;
    
    ...
    bartender_says("What'll ya have?");
    man_says("Sasparilla. In a dirty glass");
    exit;
    
  3. or download this
    my $foo;
    
    ... zillions of lines of subs
    
    ... followed by your main logic
    
  4. or download this
    ... zillions of lines of subs
    
    ...
    use vars qw($foo);
    
    ... followed by your main logic
    
  5. or download this
    sub foo {
    ...
    ...
    }
    
    more program logic