Help for this page
# Untested example. Modify to your needs open my $pipe_command, "|-", "ssh $hostname 'passwd --stdin bob'"; print $pipe_command "$password\n"; close $pipe_command;