Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Pipping a script with prompts into less

by xorl (Deacon)
on Oct 18, 2012 at 17:02 UTC ( #999770=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo = <>;
    if ($foo eq "bar") {
    
    } 
    
  2. or download this
    [/home/xorl]$ ./myscript.pl | less
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://999770]
Approved by Corion
Front-paged by Tanktalus
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-03-27 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (325 votes). Check out past polls.