Help for this page

Select Code to Download


  1. or download this
    package MyPrint;
    
    ...
    bless *STDOUT{IO}, 'MyPrint';
    print("Hello World!\n");            # builtin
    print STDOUT ("Hello World!\n");    # builtin
    
  2. or download this
    STDOUT->print("Hello World!\n");    # custom