in reply to Re: Recap: The Future of Perl 5
in thread Recap: The Future of Perl 5

>   use Class::Struct mass => $, radius => $;

How is this legal Perl syntax? A short glimpse into Class::Struct seems to indicate that you rather meant

  use Class::Struct mass => '$', radius => '$';

Right?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^3: Recap: The Future of Perl 5
by RonW (Parson) on Aug 04, 2019 at 13:04 UTC

    You're right. It was in a reply I wrote quickly and didn't get to test before I posted.

    (Also, thanks for the doc:// linking tip.)