Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^6: weird issue with HTML::TokeParser and Fork

by arikamir (Initiate)
on May 06, 2008 at 14:59 UTC ( [id://684979]=note: print w/replies, xml ) Need Help??


in reply to Re^5: weird issue with HTML::TokeParser and Fork
in thread [Click the star to watch this topic] weird issue with HTML::TokeParser and Fork

the fork at the end of the loop is a typo, I took it off. If I understand your recommendation correctly you would package the sub scripts. I don't get how that will affect the destruction of $data and $results, and if $data and $result are being destructed in the child processes is a problem, does that mean that I can set the $sqlstatement from the child processes and execute it in the parent process (which would save on a connection to the DB)? Thanks
  • Comment on Re^6: weird issue with HTML::TokeParser and Fork

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://684979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-25 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found