Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I looked at the code and I can see the problem but it is is a bit bafflingUnescaped left brace in regex is deprecated here (and will be fatal in + Perl 5.32 ), passed through in regex; marked by <-- HERE in m/^\??({ <-- HERE ([ +^{}]+)}|.) / at C:/Strawberry/perl/site/lib/MP3/Tag.pm line 3080. Unescaped left brace in regex is deprecated here (and will be fatal in + Perl 5.32 ), passed through in regex; marked by <-- HERE in m/^({ <-- HERE [^{}] ++}|\w)/ at C:/Strawberry/perl/site/lib/MP3/Tag.pm line 3092.
Is fixing this as easy as sticking backslashe in front of the of the open and close braces? The.pm is installed read-only but I can finesse that. Is it dangerous to just edit/hack a .pm in ones /site/lib hierarchy?for my $f (@_) { $have{$+}++ if $f =~ /^\??({([^{}]+)}|.)/; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replacement for MP3::Tag
by choroba (Cardinal) on Oct 12, 2018 at 16:29 UTC | |
|
Re: Replacement for MP3::Tag
by Corion (Patriarch) on Oct 12, 2018 at 16:29 UTC |