4. Manipulating Data with Perl (2)
To reduce the clutter, let's delete the following:
- let's delete all the lines with # in front of it. After you delete them, you should get something like this:
- Remove the line "my $count = 0;". We will not be using this count variable.
- Let's also remove the part "('Total lines processed: ' . $count) " from the line that contains "return ('Total lines processed: ' . $count) if !defined($input1);"
- remove the line $count++;
Now we are done removing the things we don't need. Doesn't it look less intimidating now? :D
|