[pve-devel] [PATCH common] support for perl < 5.18

Dietmar Maurer dietmar at proxmox.com
Mon May 9 18:02:20 CEST 2016


> On Mon, May 9, 2016 at 5:47 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:
> > Sorry, but why is that required?
> >> -no warnings 'experimental::smartmatch';
> >> +no if $] >= 5.017011, warnings => 'experimental::smartmatch';
> 
> Well, this particular patch does make sense: I started tinkering with
> the code on a machine with perl 5.18
> and got Perl Error: Unknown warnings category 'experimental::smartmatch'

Ah, I see. But it would like to remove that smartmatch operator instead.
I don't want to use such experimental features in our code base.




More information about the pve-devel mailing list