skip to Main Content

Perl getting json values

Got some problems to access json values (translated from xml). for my $PORT (0..$#PORTS) { print Dumper $PORTS[$PORT]->{'neighbor'}; if (defined($PORTS[$PORT]->{'neighbor'}->{'wwn'}->{'$t'})) { print Dumper @{$PORTS[$PORT]->{'neighbor'}->{'wwn'}->{$t}}; } else { print Dumper "not defined" } } Test works when $PORTS[$PORT]->{'neighbor'} is empty but…

VIEW QUESTION

Ubuntu – Cannot install Webservice::InterMine

I'm attempting to install Webservice::InterMine on Ubuntu 22.04 and perl 5.38.0, but I get the following error: Loading internal logger. Log::Log4perl recommended for better logging Reading '/home/con/.cpan/Metadata' Database was generated on Fri, 04 Aug 2023 17:29:02 GMT Running install for…

VIEW QUESTION
Back To Top
Search