Perl

Menu

Homework 2
Frequently Asked Questions

  1. What is a valid character_value field? What kinds of errors do we need to look for if field_type is 'C'?
    There is no defined structure for the character_field. Absolutely any value is valid. If the field_type is 'C', simply make sure the character_value field has a value, and the numeric_value and date_value fields do not.
  2. What do we do if a line has more than one error?
    For the purposes of this assignment, you can assume that no lines will ever have more than one error.
  3. In #1 above, does "absolutely any value" include the empty string?
    No. The empty string would mean that no character_value was given for a field_type of 'C'. This is an error.
Perl Quotes
Perl Quotes