[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'

Something more or less like this?

    @list1 = sort @list1, @list2;

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

Reply via email to