Hi I am having troubles installing it. As soon as I run the Run SwitchMap.pl.
output:
"given is experimental at /var/www/html/switcmap/ModuleList.pm line 72"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 73"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 74"
"given is experimental at /var/www/html/switcmap/ModuleList.pm line 77"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 78"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 79"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 80"
SwitchMap: couldn't open SNMP session to "IP ADDRESS", skipping this switch
Switch Map: no switches processed, dying
Can someone please know how can I solve it?
Thanks
Nell
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like you're running too old a version of perl. The given/when
statement was added in 5.10. Are you perhaps still running perl 5.8?
Please send some details about your environment and how you installed
switchmap.
On Tue, Jul 4, 2017 at 6:11 AM, Leonella Camilleri nell87@users.sf.net
wrote:
Hi I am having troubles installing it. As soon as I run the Run
SwitchMap.pl.
output:
"given is experimental at /var/www/html/switcmap/ModuleList.pm line 72"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 73"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 74"
"given is experimental at /var/www/html/switcmap/ModuleList.pm line 77"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 78"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 79"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 80"
SwitchMap: couldn't open SNMP session to "IP ADDRESS", skipping this
switch
Switch Map: no switches processed, dying
Josh is quite right. To make the warnings about "given" go away, replace the file "ModuleList.pl" with the attached version. It has the same logic without using "given".
Hi I am having troubles installing it. As soon as I run the Run SwitchMap.pl.
output:
"given is experimental at /var/www/html/switcmap/ModuleList.pm line 72"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 73"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 74"
"given is experimental at /var/www/html/switcmap/ModuleList.pm line 77"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 78"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 79"
"when is experimental at /var/www/html/switcmap/ModuleList.pm line 80"
SwitchMap: couldn't open SNMP session to "IP ADDRESS", skipping this switch
Switch Map: no switches processed, dying
Can someone please know how can I solve it?
Thanks
Nell
It looks like you're running too old a version of perl. The given/when
statement was added in 5.10. Are you perhaps still running perl 5.8?
Please send some details about your environment and how you installed
switchmap.
On Tue, Jul 4, 2017 at 6:11 AM, Leonella Camilleri nell87@users.sf.net
wrote:
Josh is quite right. To make the warnings about "given" go away, replace the file "ModuleList.pl" with the attached version. It has the same logic without using "given".
Thanks both :)