Visit The New, Modern Unix Linux Community

Full Discussion: Event: DevMob 2010
Special Forums News, Links, Events and Announcements Event: DevMob 2010 Post 302389849 by Becky_Moblin on Tuesday 26th of January 2010 06:27:35 AM
Event: DevMob 2010

Register for Dev Mob 2010 - free London conference/barcamp giving developers interested in portable devices the opportunity to discuss their issues and find solutions.

If you would like to suggest or host a session (or just participate) on any kind of mobile development issue, please register at DevMob 2010 - Uniting mobile application developers in London

Event details:
3rd February 2010
Science Museum, South Kensington, London
Registration is free and refreshments will be provided!

Plus: chance to win a netbook courtesy of ASUS (event sponsors)
Test Your Knowledge in Computers #784
Difficulty: Easy
The firmware for the TRS-80 Model 100 was developed by Steve Jobs.
True or False?
CatalystX::LeakChecker(3pm)				User Contributed Perl Documentation			       CatalystX::LeakChecker(3pm)

CatalystX::LeakChecker - Debug memory leaks in Catalyst applications VERSION
version 0.06 SYNOPSIS
package MyApp; use namespace::autoclean; extends 'Catalyst'; with 'CatalystX::LeakChecker'; __PACKAGE__->setup; DESCRIPTION
It's easy to create memory leaks in Catalyst applications and often they're hard to find. This module tries to help you finding them by automatically checking for common causes of leaks. This module is intended for debugging only. I suggest to not enable it in a production environment. METHODS
found_leaks(@leaks) If any leaks were found, this method is called at the end of each request. A list of leaks is passed to it. It logs a debug message like this: [debug] Circular reference detected: +------------------------------------------------------+-----------------+ | $ctx->{stash}->{ctx} | '------------------------------------------------------+-----------------' It's also able to find leaks in code references. A debug message for that might look like this: [debug] Circular reference detected: +------------------------------------------------------+-----------------+ | $a = $ctx->{stash}->{leak_closure}; | | code reference $a deparses to: sub { | | package TestApp::Controller::Affe; | | use warnings; | | use strict 'refs'; | | $ctx->response->body('from leaky closure'); | | }; | | ${ $ctx } | '------------------------------------------------------+-----------------' Override this method if you want leaks to be reported differently. AUTHORS
Florian Ragwitz <> Tomas Doran <> COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Florian Ragwitz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-03-26 CatalystX::LeakChecker(3pm)

Featured Tech Videos

All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy