PERL Class Lesson 2
MATH OPERATIONS SHORTCUTS SCRIPT

previous script, ORDER OF OPERATIONS SCRIPT              lesson2 overview



MATH OPERATIONS SHORTCUTS SCRIPT


- vim opsshortcuts.pl



As you can see it is self explanitory
Try to figure out what each line does before running it

Change permissions so it will run (chmod 755 opsshortcuts.pl)
Now run it and check if you were right (./opsshortcuts.pl)




Your  HOMEWORK  is to play with this and print out your own  equation shortcuts , and remember to use the  newline command 

==================================================

previous script, ORDER OF OPERATIONS SCRIPT              lesson2 overview