Difference between revisions of "What is Perl?"

From Biolecture.org
imported>Mi Rae Yeo
(Created page with "<p><strong>1. What is perl?</strong></p> <p style="margin-left: 40px;">The abbreviation for “Practical Extraction and Report Language”, which is useful tool to progr...")
 
imported>Mi Rae Yeo
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<p><strong>1. What is perl?</strong></p>
 
<p><strong>1. What is perl?</strong></p>
  
<p style="margin-left: 40px;">The abbreviation for &ldquo;Practical Extraction and Report Language&rdquo;, which is useful tool to programming.</p>
+
<p style="margin-left:40px">The abbreviation for &ldquo;Practical Extraction and Report Language&rdquo;, which is useful tool to programming.</p>
  
 
<p><strong>2. What&rsquo;s the benefit of using perl?</strong></p>
 
<p><strong>2. What&rsquo;s the benefit of using perl?</strong></p>
  
<p style="margin-left: 40px;">Easy to use, fast, and time saving. Moreover, there is almost no limit in programming by using perl.</p>
+
<p style="margin-left:40px">Easy to use, fast, and time saving. Moreover, there is almost no limit in programming by using perl.</p>
  
 
<p><strong>3. Basic perl function information</strong></p>
 
<p><strong>3. Basic perl function information</strong></p>
  
<p style="margin-left: 40px;">* Perl functions</p>
+
<p style="margin-left:40px">* Perl functions</p>
  
<p style="margin-left: 40px;">- <a href="https://metacpan.org/pod/perlfunc">https://metacpan.org/pod/perlfunc</a></p>
+
<p style="margin-left:40px">- <a href="https://metacpan.org/pod/perlfunc">https://metacpan.org/pod/perlfunc</a></p>
  
<p style="margin-left: 40px;">* Perl pre-defined variable</p>
+
<p style="margin-left:40px">* Perl pre-defined variable</p>
  
<p style="margin-left: 40px;">- <a href="https://metacpan.org/pod/perlvar">https://metacpan.org/pod/perlvar</a></p>
+
<p style="margin-left:40px">- <a href="https://metacpan.org/pod/perlvar">https://metacpan.org/pod/perlvar</a></p>
  
 
<p><strong>4. Example of perl program for DNA to RNA transcription</strong></p>
 
<p><strong>4. Example of perl program for DNA to RNA transcription</strong></p>
Line 47: Line 47:
 
<p><strong>References</strong></p>
 
<p><strong>References</strong></p>
  
<p>1] <a href="http://blog.naver.com/bitnang/70182174649">http://blog.naver.com/bitnang/70182174649</a></p>
+
<p>1] What is perl,&nbsp;http://blog.naver.com/bitnang/70182174649</p>
  
<p>2] <a href="http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html">http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html</a></p>
+
<p>2] Example code of perl,&nbsp;http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html</p>
  
<p>&nbsp;</p>
+
<p>3] First steps in perl,&nbsp;https://docs.google.com/viewer?url=http%3A%2F%2Fblob.perl.org%2Fbooks%2Fbeginning-perl%2F3145_Chap01.pdf</p>

Latest revision as of 20:18, 17 June 2016

1. What is perl?

The abbreviation for “Practical Extraction and Report Language”, which is useful tool to programming.

2. What’s the benefit of using perl?

Easy to use, fast, and time saving. Moreover, there is almost no limit in programming by using perl.

3. Basic perl function information

* Perl functions

- https://metacpan.org/pod/perlfunc

* Perl pre-defined variable

- https://metacpan.org/pod/perlvar

4. Example of perl program for DNA to RNA transcription

#!/usr/bin/perl

use Bio::Seq;

$dna=”TGCAGCGAAATGT”;

($dna=~tr/T/U/);

$rna=$dna;

print”Translated seq:$rna|n”;

$startCount=($rna=~(s/UGC/start/));

print"The start seq:$rna|n”;

 

* Results:

Translated seq: UGCAGCGAAAUGU

The start seq: startAGCGAAAUGU

 

References

1] What is perl, http://blog.naver.com/bitnang/70182174649

2] Example code of perl, http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html

3] First steps in perl, https://docs.google.com/viewer?url=http%3A%2F%2Fblob.perl.org%2Fbooks%2Fbeginning-perl%2F3145_Chap01.pdf