RE: Return Value Displayed to STDOUT

2003-05-31 Thread Jeff Westman
Bob, Okay, I found the error. Thanks for the info still... FYI, the problem was that I had two consecutive print statements, but the first one ended with a ',' (since I used to continue to a new line), instead of a ';' IE: print "This is my first line\n", print "This is my second lin

RE: Return Value Displayed to STDOUT

2003-05-31 Thread Bob Showalter
Jeff Westman wrote: > I am calling a function that returns a value, 0 or 1. The value (1) > is being captured in my variable ($goodRC), but is -ALSO- being > displayed on STDOUT! > > <---snippet-> > sub edHeader() > { >... >return 1; > } > $goodRC = editHeader

Return Value Displayed to STDOUT

2003-05-31 Thread Jeff Westman
I am calling a function that returns a value, 0 or 1. The value (1) is being captured in my variable ($goodRC), but is -ALSO- being displayed on STDOUT! <---snippet-> sub edHeader() { ... return 1; } $goodRC = editHeader(); print "more code, blah, blah. blah\n"