stas 2004/10/02 07:46:32 Modified: src/docs/1.0/guide troubleshooting.pod Log: another solution for the print problem on OSX Revision Changes Path 1.31 +19 -0 modperl-docs/src/docs/1.0/guide/troubleshooting.pod Index: troubleshooting.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/troubleshooting.pod,v retrieving revision 1.30 retrieving revision 1.31 diff -u -u -r1.30 -r1.31 --- troubleshooting.pod 2 Oct 2004 14:43:43 -0000 1.30 +++ troubleshooting.pod 2 Oct 2004 14:46:32 -0000 1.31 @@ -443,6 +443,25 @@ PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }" +Another solution is not to use un unqualified C<print()>, but +C<$r-E<gt>print()>, for example replace: + + print "Hello"; + +with: + + $r->print("Hello"); + +If you don't have C<$r>, you can obtain it with: + + my $r = Apache->request; + + + + + + + =head2 "exit signal Segmentation fault (11)" with mysql
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]