TSa writes:

> Larry Wall wrote:
> 
> > The default / operator is not going to do integer division. [..] And
> > % should stick to standard floor semantics, I expect.
> 
> Since the latin1 charset contains the division character รท we could
> use that to mean floor based integer division and % the floor based
> modulus. Then we could make the div and mod pair mean the Euclidean
> definition.

Do you think most Perl programmers appreciate the difference, or are
likely to need both sorts frequently?  I'd much prefer for introductory
Perl books not to have to explain what "Euclidean" means.

> Everything else could be loadable from a module.

I still reckon a single type of division is sufficient in core, with
everything else in modules.

Smylers

Reply via email to