Practice Evaluation (Difficult)

You have 30 minutes to complete this evaluation.

1. Create a Perl script file named diff.pl.

2. Write a Perl script that gets the current weather observations from http://w1.weather.gov/xml/current_obs/PHNL.xml.

The script should load the current weather XML data from http://w1.weather.gov/xml/current_obs/PHNL.xml.

It should parse the xml and report the current cloud coverage.

3. Email me your diff.pl file when you are finished and have tested the code.

Send an email with the file attached to cmoore@hawaii.edu and dufek@hawaii.edu. The timestamp on the email will indicate when you completed the quiz. For an easy quiz you have 30 minutes to complete the problem.

Watch me solving the problem

After trying out the problem you can watch me solve the problem.