Subject: | Hashref target level does not work |
When I try to use the hashref argument to specify a level and a version, I get a warning "Use of uninitialized value $package in concatenation (.) or string at /.../Import/Into.pm line 22." and the things I want are not imported.
$module->import::into( { level => 2, version => $version } );
Changing line 12 in Import::Into to add "level" at the end of the hash slice fixes this.
= ref $target ? @{$target}{qw(package filename line level)}