Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
    
    hello("world");
    bye();
    
  2. or download this
    package M;
    
    ...
    sub hello {
      print "Hello @_!\n";
    }
    
  3. or download this
    package X;
    
    ...
      M::hello("again"); # if exists M:hello();
      print "That's all, folks!\n";
    }