Help for this page

Select Code to Download


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