On Tuesday 23 December 2008 10:05:24 am Mr. Shawn H. Corey wrote: > On Tue, 2008-12-23 at 20:16 +0530, Kelvin Philip wrote: > > When I call pod2usage(verbose => 2); the terminal is getting > > stuck. When I > > press CTRL+4, it comes out and displays the whole man page. > > Would you pls > > suggest a solution for this issue? > > This sounds like a problem with your terminal emulator. Check > its configuration file. Many xterms respond to ANSI terminal > control codes. For example, CTRL+S is stop scrolling, CTRL+Q is > continue scrolling. Note that your script will dump the entire > man page without stopping. To read it a page at a time, use a > pager like `more`: > > myscript.pl -man | more
or, myscript.pl -man | less *less* gives options that *more* does not. -- Stealth -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/