Difference between revisions of "Basic Perl Grammar"

From Biolecture.org
imported>Seung-hoon Kim
(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...")
 
imported>Seung-hoon Kim
Line 18: Line 18:
  
 
<p>= : Assignment operator to give a value to the variable</p>
 
<p>= : Assignment operator to give a value to the variable</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p><a href="http://biolecture.org/index.php/KSH_0608_Bioinformatics_with_Bioperl" title="KSH 0608 Bioinformatics with Bioperl">KSH_0608 Bioinformatics with Bioperl</a></p>

Revision as of 21:12, 14 June 2016

# : 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

 

KSH_0608 Bioinformatics with Bioperl