Help for this page

Select Code to Download


  1. or download this
    open MORE,"|more" or die "wtf hax:$!";
    open HELP,"help|" or die"more hax:$!";
    print MORE <HELP>;
    
  2. or download this
    use IPC::Open2;
    open HELP,"help|" or die"more hax:$!";
    ...
    print MORE_WRITE <HELP>;
    close MORE_WRITE; #send eof so the program will give us stdout
    print <MORE_READ>;