Help for this page
use strict; use warnings; ... <local bash script written here> EOF close $out_fh or die "Error flushing/closing pipe to ssh: $!";