in reply to Re: Dynamic Dereferencing
in thread Dynamic Dereferencing

Oh sorry, line 290 is wrong as I used the output from my script and not from the snipplet here - actually this line is meant:

$deref = $item->{$element};

Replies are listed 'Best First'.
Re^3: Dynamic Dereferencing
by bliako (Abbot) on Dec 07, 2018 at 12:55 UTC

    here then:

    # But this works deref = $item->{meta}->{created};
      No, it's this line
      # This works for all elements except of meta}->{created $deref = $item->{$element};