http://www.perlmonks.org?node_id=411548


in reply to Re: CGI throws in an extra character. Why?
in thread CGI throws in an extra character. Why?

Just curious, then. I really don't know how to check, so I'll just ask (ah, ignorance and laziness....). Does  closedir execute if it is part of a  print statement? print ++$someVar; would execute the incriment even though it is part of a print statement. Are there any rules as to what executes as part of another statement and what doesn't?

Thanks,
-P