Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Polish Prefix Calculator

by jwkrahn (Monsignor)
on Oct 03, 2012 at 22:13 UTC ( #997139=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    sub solvepart($);
    sub reformat($){
    sub solvepart($){
  2. or download this
        if ($given ~~ /(?:exit)|(?:end)|(?:quit)/i){
        if ($VERBOSE or $VERBOSE ~~ /v(?:erbose)?/i){
  3. or download this
    my $num=qr/(-?\d++\.?\d*?)/;
        unshift(@stack, [$2,$3,$4]) while $given =~ s/(.*)\((\S++) ++(-?\d
    +++\.?\d*?) ++(-?\d++\.?\d*?)?\)/$1/;
  4. or download this
            if ($level[0]eq'+'){
                                    ?($value=$level[1] % $level[2])
                                    :($value=$level[1] % $value);
  5. or download this
            if ($level[0]eq'+'){
                $value = $level[1] + $level[2] || $value;
            elsif ($level[0]eq'%'){
                            $value = $level[1] % $level[2] || $value;
  6. or download this
    use warnings;
        eval join $operator, @values;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (18)
As of 2015-07-01 16:20 GMT
Find Nodes?
    Voting Booth?

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

    Results (9 votes), past polls