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

You want to print @{$files[(($ii-1)/3)]{map1}} rather than $files[(($ii-1)/3)]{map1} since the latter is a reference to a list and the former converts it to a list the join function expects.

Hope this helps, -gjb-

Replies are listed 'Best First'.
Re: Re: Join returning array reference, not string... why?
by mr. jaggers (Sexton) on Dec 24, 2002 at 02:38 UTC
    Yeah, that was one of those bracketed things that I tried, and what that did was return the array, but join only used the scalar context and printed:
    map : [4] . . .
    ... that's part of why I got so puzzled. Thanks, though!