Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: CGI::Application file uploads buffering

by cjb (Friar)
on Mar 24, 2011 at 14:11 UTC ( #895267=note: print w/replies, xml ) Need Help??

in reply to CGI::Application file uploads buffering

What is $| set to?

Replies are listed 'Best First'.
Re^2: CGI::Application file uploads buffering
by Anonymous Monk on Mar 24, 2011 at 14:13 UTC
    thanks, it's set to $|++; near the top of my script. Do I need to put this somewhere special for CGI::Application?
Re^2: CGI::Application file uploads buffering
by Anonymous Monk on Mar 24, 2011 at 14:27 UTC
    ALso I note that there's a temp file in /var/tmp called CGItempXXXX. Why is this here if I'm using file::temp?

      perldoc seems to indicate "under Accessing the temp files directly" that's expected behavior for You might want to look at the section "Progress bars for file uploads and avoiding temp files"

        Thanks. When experimenting we found that files > 2.1 GB cause an error in apache:
        Invalid Content-Length (-3)Unknown error: Error reading request entity data
        I think I need to go find out if this bug is fixed. Running 2.2.8, so it's old. Still curious as how to get avoid writing to /tmp like that. Thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895267]
[Corion]: choroba: Yeah - I basically have the same for regenerating README and README.mkdown already, except that I do that in Makefile.PL, but I guess one or the other thing should somehow work ;)
[ambrus]: was this bug: https://rt.cpan. org/Public/Bug/ Display.html?id= 59814
[Corion]: ambrus: Oh - that one would be much harder to automate... The SYNOPSIS section should mostly be a runnable program IMO, but I write only small snippets in my documentation for single functions/methods, and creating the appropriate environment for ...
[Corion]: ... those in an automated fashion seems somewhat hard to me. Although it should do wonders for the test coverage ;)
[haukex]: Corion: I once wrote an automated thingy for that here
[haukex]: here's the code that uses it

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-02-27 12:18 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.