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

Igor Vlasenko ivlasenko at gmail.com
Mon May 9 17:15:39 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'

but the main reason is that I try to port PVE to run under ALT Linux
(rpm based platform)

http://git.altlinux.org/people/viy/packages/?p=pve-common.git;a=summary

for that I need to learn how to interact and contribute to PVE.

I used that simplest patch as my first try.
Seeing that quick reaction I am encouraged to send another patch ;)

-- 
IV



More information about the pve-devel mailing list