-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi,
I'm using Mouse (2.4.5) under Debian testing (mod_perl 2.0.9, Perl 5.22.1). This simple test fails:
-
CGI:
package main;
use CGI;
require '/tmp/test.pm';
my $q = CGI->new();
print $q->header( -type => 'text/html' );
print 'OK'; -
Mouse package (/tmp/test.pm):
package My;
use strict;
use Mouse;
has a => ( is => 'rw' );
1; -
Result in Apache logs when trying to load CGI:
No package name defined at /usr/lib/x86_64-linux-gnu/perl5/5.22/Mouse.pm line 137.\nBEGIN failed--compilation aborted at /tmp/test.pm line 4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels