Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Very basic question on reading error messages

by jlongino (Parson)
on Sep 07, 2001 at 21:21 UTC ( [id://110950]=note: print w/replies, xml ) Need Help??


in reply to Very basic question on reading error messages

If you don't want to mess with a separate file, use:

perl myprogram.pl | more

Update: Sorry. The above doesn't work as per blakem (below). Could have sworn I used it before. BTW, it doesn't work for similar reasons under Unix either.

@a=split??,'just lose the ego and get involved!';
for(split??,'afqtw{|~'){print $a[ord($_)-97]}

Replies are listed 'Best First'.
Re: Re: Very basic question on reading error messages
by blakem (Monsignor) on Sep 07, 2001 at 22:26 UTC
    That will pipe STDOUT through more, but if a ton of messages are being dumped to STDERR it wont solve anything. Use something like this to send both STDERR and STDOUT through more
    perl myprogram.pl 2>&1 | more

    -Blake

Re: Re: Very basic question on reading error messages
by John M. Dlugosz (Monsignor) on Sep 08, 2001 at 01:06 UTC
    Under 4NT shell,  myprogram |& more or better yet myprogram |& list /S.

    —John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found