Help for this page

Select Code to Download


  1. or download this
    pl@nereida:~/Lperltesting$ cat calc510withactions4.pl
    #!/usr/local/lib/perl/5.10.1/bin//perl5.10.1
    ...
    else {
      say "does not match";
    }
    
  2. or download this
    push @stack, rc(1), rc(2)
    
  3. or download this
    pl@nereida:~/Lperltesting$ ./calc510withactions4.pl
    2-8/4/2-1
    ...
    exp -> term re
    matches: 2-8/4/2-1
    Stack=(2 8 4 / 2 / - 1 -)