Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: bigint does bot overload range operator

by sk (Curate)
on Oct 02, 2005 at 05:41 UTC ( #496725=note: print w/ replies, xml ) Need Help??


in reply to bigint does not overload range operator

I don't see a range opertator in this output -

#!/usr/bin/perl use strict; use warnings; use overload; print +("$_ : ", $overload::ops{$_},$/) for (keys %overload::ops);

Update: Used a colon in the print instead of a "=" to separate key/value.

3way_comparison : <=> cmp dereferencing : ${} @{} %{} &{} *{} str_comparison : lt le gt ge eq ne with_assign : + - * / % ** << >> x . binary : & | ^ iterators : <> unary : neg ! ~ special : nomethod fallback = num_comparison : < <= > >= == != assign : += -= *= /= %= **= <<= >>= x= .= mutators : ++ -- func : atan2 cos sin exp abs log sqrt int conversion : bool "" 0+


Comment on Re: bigint does bot overload range operator
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496725]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-08 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls