Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

More operator tokens

by John M. Dlugosz (Monsignor)
on Jul 09, 2002 at 20:15 UTC ( [id://180588]=note: print w/replies, xml ) Need Help??

in reply to (jeffa) Re: A better mod (%) operator?
in thread A better mod (%) operator?

Too bad Perl doesn't use a few other math symbols from Unicode as operator tokens (with no built-in meaning). I think that would be very easy to add. Often what's needed is a "different flavor" of multiplication etc., so using the circled cross etc. would be good choices, and they can have the same precidence as their ordinary cousins.

Replies are listed 'Best First'.
Re: More operator tokens
by Fastolfe (Vicar) on Jul 09, 2002 at 21:25 UTC
    Which key would I use to type that operator in vi? :)
      Try control-alt-hyperspace-meta buckyball.

      FWIW, it looks like "Space Cadet" keyboards are gaining popularity. I just got a "MS Office" keyboard to replace a dead one, as it had the best quality and key-feel of any in the store.

      In the superior vim :^), that would be Ctrl-V <numerical character code> (can be any of decimal, octal or hex) - see :help i_CTRL-V_digit


      Makeshifts last the longest.

      Maybe you could use an ascii sequence such as (*).

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-22 06:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found