my $str = 'ala bala'; print $str | qx{cmd -option}; [download]
In reply to passing string to stdin on exec-command by bugsbunny