hessu / perl-aprs-fap

Ham::APRS::FAP – Finnish APRS Parser
Other
12 stars 4 forks source link

warning in fap.pm - perl depricating reg-ex syntax #1

Closed bradanlane closed 8 years ago

bradanlane commented 8 years ago

I've recently moved an application to a new server and - in the process - updated perl to 5.22.

It now throws a warning on FAP.pm:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^{{ <-- HERE / at FAP.pm line 2712.

I'm not clear on what the section of cod is search for so I am not sure what is the correct change to the reg-ex.

Note: Perl 5.26 will treat this as an error and quit.

hessu commented 8 years ago

Hi, thanks for the report. This is fixed in commit 84d796de105df7b5bb0d4123692f509ef2ef2949.