Open main menu

Biolecture.org β

Changes

Basic Perl Grammar

739 bytes added, 21:11, 14 June 2016
Created page with "<p># : program statement to improve understanding of the program. It is ignored when you run the program</p> <p>-w : It enables to print out error message when you make an error..."
<p># : program statement to improve understanding of the program. It is ignored when you run the program</p>

<p>-w : It enables to print out error message when you make an error.</p>

<p>print : It prints out&nbsp;the following character string, number to your monitor</p>

<p>\n : new line character. It designates the end of a line of text and the start of a new line</p>

<p>exit : Instruction for end of the program</p>

<p>Variable : The place to store data</p>

<p>&nbsp;1. $ : Scalar, to store specific number or character string</p>

<p>&nbsp;2. @ : Array, to store several values&nbsp;in sequence</p>

<p>&nbsp;3. % : Associative array, dataset without sequence</p>

<p>= : Assignment operator to give a value to the variable</p>