in reply to Cannot post image using LWP
# untested open my $imagefh, '<', $imageFullPath; binmode $imagefh; my $imagedata = do { local $/; <$imagefh> }; close $imagefh; my $imageBody = $CONFIGURATION->{filekey}=>[$imageFullPath,$imageFi +leName,'Content-Type'=>$contentType,Content=>$imagedata]];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot post image using LWP
by Anonymous Monk on Nov 21, 2007 at 13:51 UTC |