Introduction to Perl
Lesson One
First I want to say that when I'm doing my hand/hard-coding & editing, I use one of two programs.
- EditPad Lite .. I've been using EPL for several years now and thoroughly enjoy its versatility. One of these days, I'll probably break down and buy the professional version, but I'm happy with what I have right now.
- AceHTML 5 .. I'm using the freeware version, the last of the freeware versions actually. Once again, one of these days, when I have the money, I'll break down and purchase the Pro version.
As for my script, I decided to do something whimsical, as that always makes me remember my lessons a little more. Hence my "ode" to Lewis Carroll's Alice in Wonderland.
#Simple script inspired by Lewis Carroll #!usr/bin/perl system "cls"; # use "cls" for Windows/DOS # system "clear"; # use for Linux/UNIX #My First Perl Script print "\nhello!"; print "\nTime for a riddle."; print "\n\nWhen is a raven like a writing desk?"; print "\n\n\tNope, I've no idea either. Sorry!"; print "\n\t\tGoodbye!\n";