PERL Class Lesson 2
LEARNING BASIC MATHMATIC OPERATIONS SCRIPT
previous script, SCALAR SCRIPT
lesson2 overview
next script, ORDER OF OPERATIONS SCRIPT
LEARNING BASIC MATHMATIC OPERATIONS
- vim num_ops.pl
Try to figure out what each function does before running it
Run it and check if you were right (./num_ops.pl)
Now wasn't that easy and fun?
Your HOMEWORK is to play with this and print out your own equations and use the newline command
==================================================
previous script, SCALAR SCRIPT
lesson2 overview
next script, ORDER OF OPERATIONS SCRIPT