Welcome to PERL Class
Saturdays 10am - 12pm in the Training Room
<<
LESSON 3
>>
2009.05.16
GETTING STARTED
- review what was done last week
- vim input.pl
- defined
- $ (string)
& - chomp
& -
- change permissions (chmod 755 input.pl)
- run input.pl
- vim array.pl
- defined
& - scalar (a number or string variable)
& - array (only thing that can go in an array is a list of variables)
- change permissions (chmod 755 array.pl)
- run and see output of list of array
- open and add new scalar variable to count elements in array
- run and see output of list and amount of array
- vim if.pl
- defined
& - if (zero is a false value and everything else is a true)
& - else
- change permissions (chmod 755 if.pl)
- run if.pl
- open and add