in reply to Re: multidimensional array printing
in thread multidimensional array printing

Why not simply like this:
print "START: Interface report on $hostname\n"; print join(" ", map @{$_}, @dat) . "\n"; print "END: Interface report on $hostname\n";

Replies are listed 'Best First'.
Re^3: multidimensional array printing
by Anonymous Monk on Aug 26, 2012 at 17:34 UTC
    Or much simple:
    print "@{$_}\n" for @dat;
Re^3: multidimensional array printing
by chanslor (Acolyte) on Sep 01, 2012 at 03:23 UTC
    Almost there, here is the output with your suggestion:
    START: Interface report on host1 hme0 UP xxx.xxx.xxx.xxx hostname hme1 UP xxx.xxx.xxx.xxx hostname END: Interface report on host1
    I need to figure out when a new interface come by and give a new line...