in reply to Re: Trying to access array within hash
in thread Trying to access array within hash

Thanks a bunch everyone. I got it working with Bill's solution. The reason I was copying the array is because the syntax was getting ugly, and I wasn't sure how to get things working. In Bill's solution, what does this line do exactly?

local $" = "\n";

Replies are listed 'Best First'.
Re^3: Trying to access array within hash
by LanX (Saint) on Jun 04, 2013 at 14:16 UTC
    see $" in perlvar

    $LIST_SEPARATOR $" This is like $, except that it applies to array and sli +ce values interpolated into a double-quoted string (or sim +ilar interpreted string). Default is a space. (Mnemonic: o +bvious, I think.)

    Are you the Hound or the Mountain? ;-)

    Cheers Rolf

    ( addicted to the Perl Programming Language)