Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Sending xml message in perl

by Crackers2 (Parson)
on Dec 05, 2008 at 23:25 UTC ( [id://728424]=note: print w/replies, xml ) Need Help??


in reply to Sending xml message in perl

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://728424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-24 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found