in reply to Re^3: Error: when joining two hashes
in thread Error: when joining two hashes

You can't call keys on an array so that's not going to do anything useful.

As of 5.12 (2010), keys @array returns the indicies of the array.

$ perl -wMstrict -le 'my @x=qw/a b c d/; print for keys @x' 0 1 2 3

But yeah, in this context it's not useful.

Replies are listed 'Best First'.
Re^5: Error: when joining two hashes
by Fletch (Bishop) on Feb 19, 2020 at 15:50 UTC

    Derp! I stand corrected there (and should have read my own link first); it's just the difference in shapes and depths of the values means it's not going to do anything useful.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.