Plack::Middleware::Debug::TrackObjects - Track Objects panel
enable "Debug"; enable "Debug::TrackObjects";
And when you load the application with plackup or other launcher:
# track everything plackup -MDevel::TrackObjects=/^/ myapp.psgi
You can specify the namespace with a regular expression. See Devel::TrackObjects for details.
This debug panel captures objects created in a request cycle by using Devel::TrackObjects. You can run your applications multiple times (i.e. refreshing the page) to see if the count of tracked objects increases, in which case there are leaked objects.
Plack::Middleware::Debug Devel::TrackObjects
To install Plack::Middleware::Debug, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::Debug
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::Debug
For more information on module installation, please visit the detailed CPAN module installation guide.