Help for this page

Select Code to Download


  1. or download this
    sub hello/world {
      say "Hello World";
    }
    
  2. or download this
    *{'hello/world'} = sub {
        print shift, "\n";
    };
    
    &{'hello/world'}("Hello World!");
    
  3. or download this
    open *{'hello/world'}, '>', '/home/tai/tmp/helloworld.txt';
    print {*{'hello/world'}} "Hello World!\n";