Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Output question

by oaklander (Acolyte)
on Dec 26, 2001 at 19:10 UTC ( #134400=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Output question
in thread Output question

arhuman,

Thanks for you quick response and answer to my question! It now works the way I wanted.

Can you please explain what the 'getc'is??

Also If I wanted to use the 'more' command, where would I put it in my script?? I tried several areas and it didnt work.


Comment on Re: Output question
Re: Re: Output question
by arhuman (Vicar) on Dec 26, 2001 at 19:42 UTC
    You're welcome...

    For the getc you better read the doc (or follow the link) as it will be more accurate and clear than I could ever be.
    (anyway perldoc and/or SuperSearch and/or the camel book, must now be a a reflex for you Perl lover ;-)

    Now for the use of the more command, just forget about using 'more' IN your script, use it the unix way
    (joining several simple but efficient commands to do a complex task...) via pipe.
    Only display the lines on the screen in your script and then using 'more' for the paging part :

    perl yourscript.pl | more


    "Only Bad Coders Code Badly In Perl" (OBC2BIP)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://134400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2014-07-30 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls