in reply to Join returning array reference, not string... why?

You need to dereference $files[($ii-1)/3]{map1]. It contains a reference to an array, so

print "map1 : [", join( ',', @{$files[(($ii-1)/3)]{map1}}), "]\n";
will fix it. I changed join's first argument to be a string, and replaced concatenation with a print list.

After Compline,
Zaxo

Replies are listed 'Best First'.
Ah, yes...
by mr. jaggers (Sexton) on Dec 24, 2002 at 02:41 UTC
    Now I understand... join got confused too. Okay, thank you much!