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

jdlev has asked for the wisdom of the Perl Monks concerning the following question:

So I run my pl programs through my command prompt. Well, the amount of data it is processing is just ridiculous. It hasn't ever actually made it to the end of the program. Anyways, is there a way for perl to spit out the max values it finds when you terminate the program by pushing ctrl-c? TIA...
I love it when a program comes together - jdhannibal