Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Golf: RPN calculator

by chipmunk (Parson)
on May 11, 2001 at 01:32 UTC ( #79575=note: print w/replies, xml ) Need Help??


in reply to Re: Golf: RPN calculator
in thread Golf: RPN calculator

I think you neglected to read any input... :) perl -ple's,(\S+)\s+(\S+)\s*([-+*/]),"$1$3$2",ee&&redo'

Replies are listed 'Best First'.
Re: Re: Re: Golf: RPN calculator
by japhy (Canon) on May 11, 2001 at 01:58 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://79575]
help
Chatterbox?
[Lady_Aleena]: I"m getting: Not a SCALAR reference at ../files/lib/Base/ Menu.pm line 114. which is weird because it should be a string.
[Lady_Aleena]: I love typos.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-04-27 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (506 votes). Check out past polls.