more useful options | |
PerlMonks |
Re: How do you simulate the use of the keyboard ?by chromatic (Archbishop) |
on May 10, 2000 at 18:42 UTC ( [id://10957]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|