Help for this page

Select Code to Download


  1. or download this
    use IPC::Open3;
    use strict;
    ...
        print $line;
    }
    waitpid($pid, 0);
    
  2. or download this
    use strict;
    use warnings;
    ...
    while (<>) {
        print "[", $_, "]\n";#in your case, you would save this to an arra
    +y, or if you want scalar reset local $/
    }
    
  3. or download this
    dir|perl -w foo.pl