Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    
    BEGIN { print "Begin code$/Get initialization info from user$/";  }
    
  2. or download this
    print "Or do initialization here before the require$/";
    
    ...
    
    
    END { print "End program$/"; }
    
  3. or download this
    package Program;
    
    ...
    END: { print  "End module$/" }
    
    1;