Closed stuart-little closed 3 years ago
Technically this is not a bug in Inline::Perl5. You'd need to itemize that hash before passing it to Tree::DAG_Node's constructor to avoid it from getting flattened.
However since this is such a common issue and the itemization makes code more complicated and downright ugly than necessary, I dug into this and finally found out how to avoid that. With Inline::Perl5 v0.53 arguments are no longer flattened by default, so the above example works unmodified.
Yaaay! Thanks from another of your fans.
I'm playing with
Perl
's Tree::DAG_Node. InPerl
:gives
In
Raku
:gives