STDOUT oddity

2001-01-22 Thread Chris Atenasio
Hello, Writing a little webboard cgi to more familiarize myself with mod_perl and mysql, I've run into a little quirk that I can't quite figure out. The following code: sub filter_template { my ($in, $out, %rep) = @_; while($in) { while(/!--/)

Re: STDOUT oddity

2001-01-22 Thread Chris Atenasio
Hi again. Joel Mello promptly pointed out the solution (passing by reference): filter_template(\*TEMP, \*STDOUT, %rep); No more replies necessary, thanks. - Chris Chris Atenasio [EMAIL PROTECTED] - Friends don't let