in reply to RE: RE: Re: amelinda's HTTP/MIME/file upload/not-a-cgi-but-a-client/minimal-module/perl problem
in thread amelinda's HTTP/MIME/file upload/not-a-cgi-but-a-client/minimal-module/perl problem

I changed the code so that it puts the entire output into a string, does a $len = (length $output), and then prints $len and $output. If that isn't the right number, I'll eat my hat*.

amelinda

* I am prefectly safe in this, as I own no hats. No, wait, I own a pith helmet, and I'm not going to eat that... uhm, if that isn't the right number, I'll eat.... soybeans, yeah that's it.**

** Mmmmm, edomame.

  • Comment on RE: RE: RE: Re: amelinda's HTTP/MIME/file upload/not-a-cgi-but-a-client/minimal-module/perl problem

Replies are listed 'Best First'.
RE: RE: RE: RE: Re: amelinda's HTTP/MIME/file upload/not-a-cgi-but-a-client/minimal-module/perl problem
by Fastolfe (Vicar) on Oct 02, 2000 at 23:16 UTC
    Could this be a buffering issue?
    select(OUT); $|=1; select(STDOUT);
RE: RE: RE: RE: Re: amelinda's HTTP/MIME/file upload/not-a-cgi-but-a-client/minimal-module/perl problem
by Fastolfe (Vicar) on Oct 02, 2000 at 23:13 UTC
    And from this post can I infer that your data is still getting truncated by the time the server/CGI sees it?