Exercise 4.1 D

From Earlham CS Department
Revision as of 12:03, 18 December 2009 by Damian (talk | contribs) (New page: #!/usr/bin/perl -w use strict; #Damian Almiron #Ex 4-1 #I used example 4-3 #transcribing DNA into RNA #Store a DNA fragment into $DNA # #First, I added a parenthesis #Second, I deleted...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. !/usr/bin/perl -w

use strict;

  1. Damian Almiron
  2. Ex 4-1
  1. I used example 4-3
  2. transcribing DNA into RNA
  1. Store a DNA fragment into $DNA
  2. First, I added a parenthesis
  3. Second, I deleted a letter from a variable's name
  4. Third, I added a word

Add Error messages


  1. Yes, perl did accuratelty report the line where the error is.
  2. An error can lead to many lines of error reporting.
  3. It is advised that when you get an error report, you should analyze one line
  4. at a time. This practice makes things easier than trying to do it all at
  5. the same time.