Help for this page

Select Code to Download


  1. or download this
    use strict;
    use vars qw($program);
    
    $program={};
    
  2. or download this
    sub main {
      my $program;
    ...
      print_functions($program);
      do_other_stuff($program);
    }
    
  3. or download this
    sub print_functions {
      my $program=shift; # this is not needed if $program is
    ...
    
      # and now you can just use $functions to access the data
    }