On 02/05/2016 13:51, Xavier Guimard wrote: > Package: libmouse-perl > Version: 2.4.5-1+b1 > Severity: normal > > Hi all, > > When "use Mouse" is called under ModPerl::Registry, it provides a strange "No > package name defined" error. This bug affects only Debian testing, and is not > found under Ubuntu 15.10 and Debian stable. No such error using Moose. > > Regards, > Xavier
Here is a simple CGI test that fails : # /var/www/html/test.pl package main; use CGI; require '/var/www/html/test.pm'; my $q = CGI->new(); print $q->header( -type => 'text/html' ); print '<html><body>OK</body></html>'; # /var/www/html/test.pm package My; use strict; use Mouse; has a => ( is => 'rw' ); 1;