more useful options | |
PerlMonks |
Re^5: Infinity and Inf? (MAX_INT)by LanX (Saint) |
on Sep 01, 2010 at 16:36 UTC ( [id://858378]=note: print w/replies, xml ) | Need Help?? |
> You are mistaken. did you read my updates before answering? > That limit be obtained using the following: I question these design decisions forcing the user to care about such implementation details. From a higher language perspective it doesn't make sense why a range operator within a for(..){} can't iterate thru the same spectrum like a while($x++){ } can do. IMHO the cleanest syntax would be allowing to use Inf which is automatically translated to whatever maximum the current implementation of an operator can handle.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|