Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 perusing the Monastery: (5)
As of 2014-11-23 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls