Help for this page

Select Code to Download


  1. or download this
    sub main {
      print "Hello, world!\n";
    ...
    unless (caller) {
      main;
    }
    
  2. or download this
    #!/usr/bin/perl
    # File: demo.pl
    ...
    top level in Demo.pm
    this is the test subroutine!
    test() returned 1
    
  3. or download this
    #!/usr/bin/perl
    # File: Demo.pm
    ...
    
    
    1;