Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Recap: The Future of Perl 5

by LanX (Saint)
on Aug 03, 2019 at 12:50 UTC ( [id://11103800]=note: print w/replies, xml ) Need Help??


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.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11103800]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found