develooper Front page | perl.perl6.users | Postings from September 2018

Re: Rat

Thread Previous
From:
ToddAndMargo
Date:
September 17, 2018 05:54
Subject:
Re: Rat
Message ID:
8bebebaa-399b-4ad7-00d3-fceec1baf71e@zoho.com
On 9/16/18 7:34 PM, Vadim Belman wrote:
> You're messing up a type and a method to convert into that type. For example,
> 
> dd "1.2".Rat
> 
> will output you a rational whereas
> 
> dd "1.2"
> 
> will output a string.
> 
> Again, search for Rat on docs gives you a line just under the Class section.
> 

I had to learn the difference between a "role" and a "class".
Now I understand.

Thank you!

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About