"be consistent" | |
PerlMonks |
Re: Sending xml message in perlby Crackers2 (Parson) |
on Dec 05, 2008 at 23:25 UTC ( [id://728424]=note: print w/replies, xml ) | Need Help?? |
You're reading the whole file and closing the filehandle before you pass it to $request->content, so that method won't actually add anything. Try either removing the printFile and $fh->close() calls, or re-opening $fh before you pass it to $request->content.
In Section
Seekers of Perl Wisdom
|
|