M
MischMan
newbie perl question: looking for a simple accurate way to state to
STDOUT that the program ran OK ...
thanx
STDOUT that the program ran OK ...
thanx
MischMan said:newbie perl question: looking for a simple accurate way to state to
STDOUT that the program ran OK ...
STDOUT that the program ran OK ...
thanx
Robin said:just print something with print "something"; I know this has already been
answered, I wonder why I'm even here. You can also code:
select (STDOUT);
print "Something";
This will select your default file handle, STDOUT and then print it, if
you've selected another file.
Matt Garrish said:Did you just read Jurgen's post and thought you understood it?
Matt Garrish said:Did you just read Jurgen's post and thought you understood it? print will
*always* print to STDOUT by default, unless you specifically send the data
to another filehandle or output stream. The only reason to re-select STDOUT
is if you've already used a select statement in your code, and even then
it's incredibly pointless in this case to select STDOUT just to print an
okay message at the end of the script, don't you think? (Oh, sorry. I forgot
you don't...)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.