Stuart White wrote: > Outside of putting in calls to <STDIN>; is there a way > to slow down the output of a perl program? If I have > a lot of output to be printed, I never get to see the > beginning of it, only the end. Alternatively, if I > could make the little black screen a full screen, AND > keep the font size the same so I'd actually get double > the output on one screen, that would help too. For both, I'd be very > happy.
You can use the following trick from perldoc perlopentut to run you script's output through a pager: #!/usr/bin/perl use strict; my $pager = $ENV{PAGER} || "(less || more)"; open(STDOUT, "| $pager") or die "can't fork a pager: $!"; $SIG{PIPE} = sub { exit }; print "This is line $_\n" for 1..100; print "I'm all done\n"; close STDOUT; > > Is there a way to write multi-line comments in Perl? perldoc -q 'How can I comment out a large block of perl code?' -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]