Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32)
Posted: Mon Jun 25, 2018 7:34 pm
Since today, after an update of perl from 5.26 to 5.28 and a recompilation of ZoneMinder (from git) I am getting those messages when starting the zm:
root@jastreb:/usr/share/perl5/vendor_perl/ZoneMinder# /etc/rc.d/rc.zm start
Starting ZoneMinder: 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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
25.06.2018 22:22:52.317031 zmpkg[1147].INF [Sanity checking States table...]
25.06.2018 22:22:52.319009 zmpkg[1147].INF [Command: start]
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
25.06.2018 22:22:54.928006 zmpkg[1147].INF [Single server configuration detected. Starting up services.]
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
[ OK ]
Anyway, zm is starting fine, and working as usual. I wonder if I should upgrade to perl 5.32 when the time comes ?
root@jastreb:/usr/share/perl5/vendor_perl/ZoneMinder# /etc/rc.d/rc.zm start
Starting ZoneMinder: 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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
25.06.2018 22:22:52.317031 zmpkg[1147].INF [Sanity checking States table...]
25.06.2018 22:22:52.319009 zmpkg[1147].INF [Command: start]
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
25.06.2018 22:22:54.928006 zmpkg[1147].INF [Single server configuration detected. Starting up services.]
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
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 .+})$/ at /usr/share/perl5/vendor_perl/ZoneMinder/General.pm line 657.
[ OK ]
Anyway, zm is starting fine, and working as usual. I wonder if I should upgrade to perl 5.32 when the time comes ?