in reply to generating an array of array

I strongly recommend you use use warnings which will give you some information about your problem even with a bollixed bang-splat line. Your first line should include a !, although if you are running on Windows that line is less important:

#!usr/bin/perl -w

With use warnings; (preferred technique) or the corrected bang-splat line above your script will generate something like:

Useless use of anonymous list ([]) in void context at noname.pl line 1 +0. Useless use of anonymous list ([]) in void context at noname.pl line 1 +0.

in addition to the $VAR1 dump.

Perl is the programming world's equivalent of English

Replies are listed 'Best First'.
Re^2: generating an array of array
by Marshall (Canon) on Sep 16, 2014 at 05:26 UTC
    I did bollix the she-bang line! No doubt about it. Under Windows, this doesn't matter. Under Unix, this matters a lot. The AofA works with formatting suggestions. I just screwed up with missing parens. Thanks, Marshall