in reply to How do you simulate the use of the keyboard ?
Invoke it like this: cat printline.pl | ./printline.pl This trick works really really well for debugging CGI.pm applications from the command line.#!/usr/bin/perl -w use strict; print while (<STDIN>);
|
|---|