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

Re: Rat

Thread Previous
September 17, 2018 05:54
Re: Rat
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About