|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Answer: How do you simulate the use of the keyboard ? |
| ( #10957=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > input and output > How do you simulate the use of the keyboard ? contributed by chromatic
If you prefer not changing your filehandle, you can also cat (or perhaps echo, if you're stuck in Windows land) a file into your script:
Invoke it like this: cat printline.pl | ./printline.pl This trick works really really well for debugging CGI.pm applications from the command line.
|
|
||||||||||||||||||