Software Development Kit (SDK) and API Discussions

error with perl and SDK - NaSerer.pm line 1827

richard_payne
2,872 Views

Anyone else seeing this with the SDK and Perl?

Use of uninitialized value in numeric eq (==) at ../../../../lib/perl/NetApp/NaServer.pm line 1827.

If I look at the line in NaServer.pm

                if ($na_can_use_ipv6 == 1) {

is this a bug in the SDK or do I need to disable ipv6 somewhere?

Only shows up if perl is run with -w.

thx,

--rdp

1 ACCEPTED SOLUTION

sens
2,872 Views

Hi,

This is just a warning (seen because of '-w' command line option in perl) indicating $na_can_use_ipv6 is used before initialization.

This is not going to affect the functionality. So, you can ignore the warning.

If the warnings are preventing you from execution, then don't use the '-w' option for the time being (as a workaround).

Meanwhile, we will see if we can fix all the warnings in the upcoming releases of NMSDK.

Regards,

Sen.

View solution in original post

1 REPLY 1

sens
2,873 Views

Hi,

This is just a warning (seen because of '-w' command line option in perl) indicating $na_can_use_ipv6 is used before initialization.

This is not going to affect the functionality. So, you can ignore the warning.

If the warnings are preventing you from execution, then don't use the '-w' option for the time being (as a workaround).

Meanwhile, we will see if we can fix all the warnings in the upcoming releases of NMSDK.

Regards,

Sen.

Public