in reply to how to make this perl code run
Sure, no problem. I'll give you the hint that it involves Exporter and some command-line flags. So is this homework or an interview?
Update: Well, since moritz put in a great solution, mine is
<Reveal this spoiler or all in this thread>
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom