http://www.perlmonks.org?node_id=729341


in reply to do my homework!
in thread Do my homework for me!

Assuming you want to solve this problem with perl (why else ask perlmonks?), you'll want to: