NAME
calc.pl - Calculator example in Parse::Eyapp
SYNOPSIS
$ calc.pl [OPTIONS]
where options are:
-f file
-d
-h
# input from STDIN
$ calc.pl
# input from file expressions1
$ calc.pl -f expressions1
# debug mode
$ calc.pl -d -f expressions1
# Example of input file
$ cat expressions1
a=2*3
b=4
c=9+1
b= (b+1)*b
DESCRIPTION
SEE ALSO
AUTHOR
Casiano Rodriguez Leon <casiano@ull.es>
LICENCE AND COPYRIGHT
Copyright (c) 2007 Casiano Rodriguez-Leon (casiano@ull.es). All rights reserved.
These modules are free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.