Skip Menu |

This queue is for tickets about the Devel-SizeMe CPAN distribution.

Report information
The Basics
Id: 80195
Status: resolved
Priority: 0/
Queue: Devel-SizeMe

People
Owner: Nobody in particular
Requestors: thatsafunnyname [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: (no value)



Subject: sizeme_graph.pl needs Mojolicious-2.49 (I think)
Hello Tim and thank you very much for Devel::SizeMe 0.05, Using sizeme_graph.pl with Mojolicious-2.38 errors with: Can't locate object method "paths" via package "Mojolicious::Static" at sizeme_graph.pl line 92. http://cpansearch.perl.org/src/SRI/Mojolicious-3.47/Changes mentions 2.49 2012-02-13 ... - Deprecated Mojolicious::Static->root in favor of Mojolicious::Static->paths. (memowe, sri) sizeme_graph.pl worked with Mojolicious-2.51 sizeme_graph.pl works with Mojolicious-2.38 if I changed line 92 of sizeme_graph.pl to be: if( $Mojolicious::VERSION >= 2.49 ){ push @{ app->static->paths}, $static_dir; } else { app->static->root($static_dir); } Cheers, Peter (Stig) Edwards
Fixed for 0.06. Thanks.