[an error occurred while processing this directive]

Perl

Menu

Homework 2 Sample Input/Output

Provide the file ~lallip/perl/one.eml on the command line to your script. I have tried to include as many variations of the information as I could, but it is not guaranteed to include every possible test. Remember that this is sample input only. To put it in math terms, compliance with this sample is necessary but not sufficient for a perfect grade. The HW description is the ultimate authority. Make sure you email us for any questions or clarifications.

Using this file, this should be your output:

Phone numbers: (876) 555-1234
Email addresses: secret.name@youknowwhere.org
Physical addresses: 45 Mockingbird Ln Springfield, IL
Times: 9:05am, 13:45
Dates: 1/5/2009, 2009-02-18

Phone numbers: 876.5309
Physical addresses: 1 Alfred Rd, 312 Main St Delta, NY
Times: 04:00
Dates: 2009/2/20

Dates: 2008/09/30, 2010-03-30, 2010-5-10, 2010-06-05

Physical addresses: 100 South Blvd Adobe, DE, 65 Main Cir Alfred, NY, 123 North Ave Alfred, NY
Times: 09:30, 12:12, 3:00pm

Email addresses: Jorge-no_se@that.other.place, maria!@that.other.place, Jane#Doe@unknown.org, John#Doe@unknown.org

Phone numbers: 6587845, 985-3625, (530) 685-2310, 530.784.0002, 530-971-4319, (931)215.1423, 9312413699, 931-875-6521
Perl Quotes
Perl Quotes