Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        END { }      
    
    1;  # return a true value, standard module behaviour
    
  2. or download this
    use subs::utils;
    print "now1: " . $subs::utils::henky . "|\n";
    $subs::utils::henky = "spanky";
    print "now2: " . $subs::utils::henky . "|\n";
    
  3. or download this
    use subs::utils;
    print "now3: " . $subs::utils::henky . "\n";
    
  4. or download this
    now1: henky_init|
    now2: spanky|
    now3: henky_init
    
  5. or download this
    BEGIN {
        require "My/Module.pm";
        My::Module->import();
    }