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

hesco

by hesco (Deacon)
on Nov 25, 2005 at 22:07 UTC ( #511760=user: print w/replies, xml ) Need Help??

Preemptive Peace or Just (a few more) Wars
http://www.youtube.com/watch?v=kSMYHk7NNQQ

http://www.CampaignFoundations.com/
Providing Application Hosting and IT Development Services to
Green Candidates, Green Parties and
the non profits working for a just and sustainable future.

Useful links from or found on PerlMonks.org:

On Coding Standards and Code Reviews
http://perlmonks.org/?node_id=744932
Troubleshooting Perl CGI s‎crip‎ts
http://perlmonks.org/?node_id=380424
http://www.literateprogramming.com/

Thoughts on SQL injection
http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/
http://www.unixwiz.net/techtips/sql-injection.html
http://www.perlmonks.org/?node_id=661423
http://perldoc.perl.org/perlsec.html
http://www.owasp.org/index.php/Testing_for_SQL_Injection
http://www.owasp.org/index.php/Category:OWASP_SQLiX_Project

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[choroba]: His reply was "I watch them, but I haven't been impressed in the last 10 years. There's been nothing new". That was 2 years ago :)
[ambrus]: Ok, the docs is somewhat unclear. It does say that when an object is garbage collected, it will get cleaned up, and eventually can no longer get messages. It's not clear how long this takes, eg. I think it's kept alive until its queued events are handled
[ambrus]: in the loop, and I'm not sure if that's ok for AnyEvent. Also, it's not clear if a Timer or File object you free really is garbage collected, i.e. that Prima doesn't keep some references to it, but I hope so.
[Corion]: choroba: No, I don't remember that story, but yes, it matches my experience ;))
[ambrus]: Hopefull the object isn't kept alive, the events are processed immediately, but you'd have to read a lot of source code to be sure about that.
[Corion]: ambrus: I think both of AnyEvent and Prima are pretty tight in their memory management because they both are cooperative multitasking and (I think) both use the Perl memory management for managing things
[Corion]: ambrus: And for Windows, I don't think that Prima knows if there still are messages queued for an object (in the Windows message loop). Finding that out would take lots of effort for little gain
[ambrus]: And even if this works, I'm still not sure you can't get double timeouts from a Timer.
[ambrus]: Corion: well Prima::Object says something like that the cleanup method will send an onDestory message and that you can't get more messages after cleanup, or something.
[Corion]: ambrus: Yeah - I don't think the deep source dive will be necessary if things are implemented as simple as they could be :)) And hopefully I won't need (more) timely object destruction. I can update the screen at 60Hz and hopefully even do HTTP ...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2016-12-09 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.