Help for this page

Select Code to Download


  1. or download this
    # Main script
    require 'TEST2.pm';
    require 'TEST.pm';
    
    test_sub();
    
  2. or download this
    # TEST.pm
    
    ...
    sub test_sub {
      print "Hello, world!\n";
    }
    
  3. or download this
    # TEST2.pm
    package TEST2;
    ...
    require 'TEST.pm';
    
    return 1;