in reply to Re: Unicode infinity
in thread Unicode infinity

My new use case is for those APIs where you need to specify how many of something to return, and you want a symbolic constant for "all of them". Doubly useful when that symbolic constant always compares greater than any integer list length, and would be pretty awesome if it didn't need imported into the current scope.

Replies are listed 'Best First'.
Re^3: Unicode infinity
by haj (Vicar) on Jul 01, 2024 at 09:00 UTC

    This is similar to where I use 'Inf'. I understand your point. The wording ought to get fixed seems a bit strong, though.

    A patch might be accepted, I have no idea. Nerdy things are possible under use utf8; as of today. One can write valid code which PerlMonks won't even display correctly (I used a GitHub Page). Paul Evans is experimenting with Unicode characters as infix operators (e.g. Syntax::Operator::Identical), since according to his musings Perl is running short on unused ASCII characters for that purpose. Your proposal fits into the same category.