Skip to content

Commit

Permalink
Merge pull request #6 from yewtc/master
Browse files Browse the repository at this point in the history
 $pkg is unused
  • Loading branch information
davorg committed Dec 28, 2023
2 parents 7456cc4 + 08a1d0b commit b3358dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AudioFile/Info/MP3/Tag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ sub DESTROY {
sub AUTOLOAD {
our $AUTOLOAD;

my ($pkg, $sub) = $AUTOLOAD =~ /(.+)::(\w+)/;
my ($sub) = $AUTOLOAD =~ /::(\w+)$/;

die "Invalid attribute $sub" unless exists $data{$sub};

Expand Down

0 comments on commit b3358dd

Please sign in to comment.