laziness, impatience, and hubris | |
PerlMonks |
Re: How can one join the shortest and longest strings of different text files?by kcott (Archbishop) |
on Jul 05, 2013 at 06:16 UTC ( [id://1042609]=note: print w/replies, xml ) | Need Help?? |
G'day supriyoch_2008, Here's a technique that involves using the lengths of the original strings as hash keys.
I'm not sure how much of your other output was actually required or just for debugging; regardless, you should be able to add code for that quite easily. -- Ken
In Section
Seekers of Perl Wisdom
|
|