in reply to Multidimensional array

500 split commands will probably take up a lot less resources than the 500 fork(), exec() and read() actions implicit in the 500 `` commands.

Just use a split:

my @arrays = map { [ split /\s+/ ] } `/usr/sfw/bin/snmpdf -v1 -c publi +c $host`;

Replies are listed 'Best First'.
Re^2: Multidimensional array
by Anonymous Monk on Aug 17, 2007 at 13:03 UTC
    Thanks for your quick reply!
    The map does the job , sweet :-)