Using PDL, you can manipulate n-dimensional data by taking advantage of native loops.
Using libraries such as PDL::Graphics::Gnuplot, you can easily see your data.
PDL ("Perl Data Language") gives standard Perl the ability to compactly store and speedily manipulate the large N-dimensional data arrays which are the bread and butter of scientific computing.
Mailing list for general science-related Perl discussion