[EMAIL PROTECTED] wrote:
: Wizards,
: 
: I know this is a no-brainer, but like I said...
: 
: I'm sure there's something somewhere that will handle merging
: a sorted list of text into a larger sorted list of text, I'm
: just having a case of the lazy-thumbs today. Anybody care to
: point me in the right direction?  Here's what I'm trying to
: do:
: 
: @list1 = qw( artist awful billy blunder)
: @list2 = qw( attitude blatherskite)
: 
: # something magical happens, and the contents of @list1 are now
: # 'artist', 'attitude', 'awful', 'billy', 'blatherskite', 'blunder'


my @sorted = sort { $a cmp $b } @list1, @list2;


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
Free Market Advocate
Web Programmer

254 968-8328

Don't tread on my bandwidth. Trim your posts.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to