[Chicago-talk] Piping a command into perl?

Steven Lembark lembark at wrkhors.com
Sun Mar 19 19:25:06 PST 2006

-- Jay Strauss <me at heyjay.com>

> How would I pipe a command into perl?
> for example:
> $ echo "Hello\n" | perl
> doesn't work.  But I'd like to do something like that

Works so far as I can see, just may not be doing
what you expect: take a look at the -n and -p
command line switches.

Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
lembark at wrkhors.com                                     1 888 359 3508

More information about the Chicago-talk mailing list