#perl - Thu 1 Mar 2007 between 16:55 and 17:00



buubotFound Watching long processes through CGI (Aug 02) at [ http://www.stonehenge.com/merlyn/LinuxMag/col39.html ]
spaffummerlyn!
it was you!
thanks :)
merlynyes - it was me all along. :)
spaffumyou da man
actionmerlyn pulls off his mask
merlynpulls off his mask
spaffumhey so i have a question for you
merlyn42
spaffumsince i'm forking
merlynoh - I have to wait for the question. :)
spaffumif i encounter an error condition and I want to gracefully bail out, and maybe display an error page
hobbsmerlyn: shh. you already answered it, now you get to sit back and find out the question
spaffumbut i am in the child
what's the best way to do that?
merlynvia some sort of protocol
the data in Cache::Cache is any arbitrary hash
make up what you want it to mean
spaffumhmm i have never messed with protocols
merlyn{ progress => "some string getting longer" , errors => "show this instead of progress and don't loop" }
etc
protocol just means "agreed upon things"
spaffumohh
i see what you mean
just add that to the cache
merlynyeah
spaffumi see
merlynso if the child gets something bad, it sets something different
spaffumi had beeen using cache as just an array of strings
merlynnext web hit wakes up, finds the different thing, and stops looping
spaffumgotcha - of course! makes perfect sense
thx :)
merlynperlbot, thx > spaffum
are you paying by the character?
spaffumshould I be? :)
merlynwhy "thx" instead of the human "thanks"
unless you're paying by the character
spaffumwell if thanks is preferred, then "thanks" :)
oh
lol

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive