On Fri, 5 Sep 2008, Torsten Foertsch wrote:
Don't know if it relates to the problem but this code is quite fragile.
It depends upon whether $content completely fits into the operating
systems pipe buffer. In your program the print $wtr or the close $wtr
statements may infinitely block if $conten
On Thu 04 Sep 2008, Tina Müller wrote:
> $pid = open3($wtr, $rdr, $err,
> '/usr/bin/source-highlight', '-s', 'perl', '-css',
> '--no-doc');
> print $wtr $content;
> close $wtr;
> warn __PACKAGE__.':'.__LINE__.": before read loop\n";
> while (<$rdr>) {
> #
Hi,
I'm using source-highlight in a mod_perl application. This program takes
code in STDIN and prints the html-highlighted code to STDOUT.
My code works fine from the commandline and in
Apache/1.3.37 (Unix) mod_perl/1.30
(perl 5.8.8)
On another machine it also works from the commandline, but not