Problems? Is your data what you think it is? | |
PerlMonks |
using List::MoreUtils::zip with anon arrays ?by leocharre (Priest) |
on Aug 28, 2006 at 19:57 UTC ( [id://570036]=perlquestion: print w/replies, xml ) | Need Help?? |
leocharre has asked for the wisdom of the Perl Monks concerning the following question: I wanted to populate an anon array with stat from a file, with labels.... so..
That works great. Prints out : ### $stat: { ### atime => 1156789541, ### blksize => 4096, ### blocks => 32, ### ctime => 1156791103, ### dev => 64768, ### gid => 0, ### ino => 2684353, ### mode => 17407, ### mtime => 1156791103, ### nlink => 15, ### rdev => 0, ### size => 12288, ### uid => 0 ### } But why declare the arrays in the fist place? ...
gives:
I can't figure out the correct way/syntax to have zip/mesh interpret these as arrays :( - Array? Not list? does this mean we must predeclare as an array?
Back to
Seekers of Perl Wisdom
|
|