in reply to Re: Need Fast LWP GET
in thread Need Fast LWP GET

Thank you to all who responded.

Manipulating STDOUT and STDERR with CLOSE/OPEN didn't work.

I'm trying to do this on a commercial web hosting service so I don't have access to the more non-mainstream solutions mentioned.

Fortunately, the target process of the LWP isn't intolerably long, so the situation is acceptable.

jb

Replies are listed 'Best First'.
Re^3: Need Fast LWP GET
by tybalt89 (Monsignor) on Jun 13, 2020 at 12:35 UTC

    I think you also have to close STDIN, perhaps depending on which web server is being used.

      Bingo! Closing STDIN as well, worked!

      Thanks!

      jb

Re^3: Need Fast LWP GET
by haukex (Archbishop) on Jun 13, 2020 at 14:07 UTC
    I'm trying to do this on a commercial web hosting service so I don't have access to the more non-mainstream solutions mentioned.

    Please see Yes, even you can use CPAN - if you have shell access to the machine, it's very likely you can install modules there, using something like local::lib, and sometimes it's possible even if you don't have shell access. Personally I'd prefer to help you with that rather than some other hacked solution :-)

Re^3: Need Fast LWP GET
by perlfan (Parson) on Jun 13, 2020 at 17:23 UTC
    There is perlbrew. Also a VM on digital ocean is $5/mo, which provides a nice companion to any share hosting account environment. Those are not suitable for the kind of shell home you want. Also check out SDF/freeshell.