Open main menu

Biolecture.org β

Changes

Basic Perl Grammar

417 bytes added, 11:06, 16 June 2016
no edit summary
<p>First line will be stored in a first component and second line will be stored in a second component and so on.</p>
 
<p>&nbsp;</p>
 
<p>use strict;&nbsp;&nbsp;&nbsp;&nbsp; : to check typing errors</p>
 
<p>use warnings;&nbsp;&nbsp; :&nbsp; to make easy debugging ( find and modify errors )</p>
 
<p>&nbsp;</p>
 
<p>subroutine&nbsp;: to make a module and utilize it in main program (we can use it anytime)</p>
 
<p>&nbsp; basic structure of subroutine :</p>
 
<p>sub subroutine name {</p>
 
<p>execute statement</p>
 
<p>}</p>
 
<p>&nbsp;</p>
<p>&nbsp;</p>