1Introduction to Perl10-21-20052Opening Discussion■Do you have any questions about the reading?■What are the main things that jump out at you as unusual about Perl?■Did you notice any similarities between Perl and Matlab?■Did you notice any features of Perl that would seem to help it to be a text processing language?3Basics of Perl■Perl is a scripting language so the scripts aren't compiled. You simply run the scripts.■Scripts can be written with any text editor.■We have installed a Perl environment under Eclipse on these machines that you can use if you want nice syntax highlighting.4Problems■Read in strings from standard input until you get the string “quit”. Then print out the strings is reverse order.■Now do it in alphabetical order.■Read in a list of numbers until you get a -1 and print out some standard stats for the list.■Now lets do a reverse Polish calculator. Use the push and pop methods of the list for your stack operations.5Reminders■I will try to get a description of assignment #6 up this weekend and let you know about it so that you can have a bit of time to work on
View Full Document