http://www.perlmonks.org?node_id=11118410


in reply to Re^2: Pass local bash script to remote host via SSH
in thread Pass local bash script to remote host via SSH

Good catch, updated