Help for this page

Select Code to Download


  1. or download this
    my @tests = ("1 + 2", "2*3", "(2 + 5) / 3", 
                 "print 'a test', "E = m * c**2", "3**2 + 2");
    ...
            print "$expr = ", eval $expr, "\n";
        }
    }