Help for this page

Select Code to Download


  1. or download this
    open ( SCRIPT, "| /usr/local/bin/my_program" ) or die $!;
    
    ...
        close( FILE );
    }
    close( SCRIPT );
    
  2. or download this
        while ( chomp( my $line = <FILE>) ) { print SCRIPT "$line\n"; }