Subject: | warnings when parsing qw() |
Attached is a simple Perl package that makes self.pm throwing warnings
(though both $self and @args works fine):
substr outside of string at /usr/lib/perl5/site_perl/5.10.0/self.pm line 36.
Use of uninitialized value in string eq at
/usr/lib/perl5/site_perl/5.10.0/self.pm line 36.
This is perl, v5.10.0 built for i586-linux-thread-multi
self 0.32
Subject: | foo.pm |
package foo;
use self 0.32;
use Modern::Perl;
# @bar makes self.pm throwing warnings
my @bar = qw(
bar
);
sub baz {
say $self, @args;
}