in reply to Perl 28 broke L: How to fix?

autobox could be one way but xs.. Too bad Barewords are not covered by overloaded string constants. Simple https://metacpan.org/pod/Filter::Util::Call with https://metacpan.org/pod/PPR::X#(?&PerlBareword)

Replies are listed 'Best First'.
Re^2: Perl 28 broke L: How to fix?
by Anonymous Monk on Oct 28, 2019 at 11:02 UTC
    Or add a l($) to -Mojo -e " l Data::Dump; dd g(q(example.com))->headers->to_hash "
    perl -Mojo -E 'say r g("example.com")->headers->to_hash'