So i tried to work around this issue by splitting the hash I need to
pass over to the frontend.
I split it into one normal array and one multidimensional array.
First things first: I have to pass over some IPs and for each IP certain
additional values. First I wanted to pass a hash like
IP1 => value1,value2,value3...
IP2 => ...
so each IP had an array of values. That did not seem to work so I
splitted it into an array of IPs and an array of an array of values
(i.e. a multidimensional array, a matrix).
The array of IPs is (as expected) perfectly passed on, but the matrix is
not.
The webinterface says (using print_r()):
Query backend plugin for function try
Array ( [0] => ARRAY(0x87a270c) [1] => ARRAY(0x8890198) [2] =>
ARRAY(0x8890210) [3] => ARRAY(0x889018c) [4] => ARRAY(0x8890174) [5] =>
ARRAY(0x889045c) [6] => ARRAY(0x88904b0) [7] => ARRAY(0x88904f8) )
How can I access these arrays? All I see is their references, as that's
how I build the matrix in Perl (%file is the above mentioned hash)
foreach my $ip (keys (%file)) {
my @valueArray = @{$file{$ip}};
push(@valueMatrix, [EMAIL PROTECTED]);
}
Seems to be stuck at the same place as before... Any ides on that?
-best regards, bjoern
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss