echo "one two three" | perl myscript.pl