Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: Re: Connection: Keep-Alive and Perl

by mattr (Curate)
on May 31, 2001 at 08:37 UTC ( #84455=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Connection: Keep-Alive and Perl
in thread Connection: Keep-Alive and Perl

Thank you both dws and shotgunefx, I posted a longer reply but it didn't get into the system apparently.

I seem to remember trying periods and the browser timing out anyway, but it was probably just too much time between periods.

This was for a perl program called by cgi which directs the spidering of a number of sites and indexing of them. I had looked at IO::Tee, but since I only want the browser to display a very short summary with the log file containing more detail, in the end a fork and spaces being printed by the parent seems best. I supposed I could run a number of children in parallel but when I've done this in the past I got two activity logs interleaved in one file, so I'll keep it serial for now.

I guess I was *too* lazy a perl coder. :)

  • Comment on Re: Re: Re: Re: Connection: Keep-Alive and Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://84455]
help
Chatterbox?
[dazz]: Hi I have grabbed an image from an IP camera with Image::Grab. I then want to pass that image object to a subroutine where I do a read-only test on the image with Image:Magick.
[dazz]: How do I pass an image object to a subroutine and then apply a Image::Magick a read-only method to the image object???
[dazz]: Also, I want to use Image::Magick to annotate and composite (not in a sub). How do I take a Image::Grab object and apply Image::Magick write methods to it??
[dazz]: At present, I am saving the Image::Grab image to disk, then creating a new Image::Magick object that reads the disk file.
[dazz]: .
[choroba]: Discipulus Sounds interesting. Any pictures of the puppets or paintings?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-03-27 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.