develooper Front page | perl.perl6.language | Postings from May 2005

Re: Quick question: '1.28' * '2.56'

Thread Previous | Thread Next
From:
Rob Kinyon
Date:
May 17, 2005 06:30
Subject:
Re: Quick question: '1.28' * '2.56'
Message ID:
703844205051706291dcc2185@mail.gmail.com
> Maybe s/Num/NumLike/ or something?  Anyway, that's how I think of it
> at least: not that a Str is converted into a Num, but rather that
> certain Strs are Nums.

If that's the case, then if I change a variable that isa Str (that isa
Num), does it change what it inherits from?

Rob

Thread Previous | Thread Next


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