Basic Perl Grammar
Revision as of 21:12, 14 June 2016 by imported>Seung-hoon Kim
# : program statement to improve understanding of the program. It is ignored when you run the program
-w : It enables to print out error message when you make an error.
print : It prints out the following character string, number to your monitor
\n : new line character. It designates the end of a line of text and the start of a new line
exit : Instruction for end of the program
Variable : The place to store data
1. $ : Scalar, to store specific number or character string
2. @ : Array, to store several values in sequence
3. % : Associative array, dataset without sequence
= : Assignment operator to give a value to the variable