http://www.perlmonks.org?node_id=1010849


in reply to join all elements in array reference by hash

Did you try to dereference your array ref?
join("\n\n", @{ $bible{$bookname}{$chapter}{'verses'} });

Do you realize that you are discarding the string returned by join?

See also:

Replies are listed 'Best First'.
Re^2: join all elements in array reference by hash
by johnko (Initiate) on Dec 30, 2012 at 08:44 UTC
    I'll look at the perldsc. I had a print in front of the join before and had also tried to set it to a value, which I later printed. Had only included the snippet that I thought mattered. Thanks.