Subject: | module prints to STDOUT in error condition |
On line 99, the function prints a message to standard out in an error
condition. This line should be changed to a warn() instead of a print(
).
$vfs->chdir( $path ) or do { print "chdir $path failed\n"; return };
to
$vfs->chdir( $path ) or do { warn "chdir $path failed\n"; return };
This is critical because when using this module in a mod_perl
environment, the print is being passed to apache, which is then passing
it to the client, and it thus the client doesn't get a valid HTTP
response.