Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 



Current Newswire:

Web Browser Hero

YouTube is Big Fun And Useful

Convoluted Column Arithmetic Examples Using Awk On Linux Or Unix

30 Game Scripts You Can Write in PHP

WFTL Bytes! For Nov 20, 2008: Stock Tanks, Mozilla Rises, Moonlight on Dinosaurs

Jackalope Rising: Ubuntu 9.04 Alpha 1 As Early As Tomorrow

Building an OpenBSD Gateway - Part 1

Doing a diff Without Touching the Command Line

Creating a Daemon With Python

Via Panel PC Resists Shock, Liquids

IT Engineer/Operations - multiple openings
Becton Dickinson
US-NJ-Franklin Lakes

Justtechjobs.com Post A Job | Post A Resume
:Unique Sorting Of Lists And Lists Of Lists With Perl For Linux Or Unix
Unique Sorting Of Lists And Lists Of Lists With Perl For Linux Or Unix
Sep 6, 2008, 08 :01 UTC (0 Talkback[s]) (2285 reads)

(Other stories by Mike Tremell)

[ Thanks to Mike Golvach for this link. ]

"Q. Why the klunky foreach block at the top of the attached code? Shouldn't sorting be simpler?

"A. Actually, sorting data is simpler, but, in this case we were dealing with sorting on two levels, which may not have been readily apparent. The @s_perms array that gets returned from the public domain "permute" subroutine actually contains multiple scalar pseudo-lists.""

Complete Story

Related Stories:
Sorting Perl Lists And Removing Duplicates On Linux Or Unix(Sep 05, 2008)
Lists vs. Strings: Perl List Permutations For Linux Or Unix(Sep 03, 2008)
Number Pools And Guaranteed Combinations Within Fixed Strings(Sep 03, 2008)
Online Encyclopedia Shell Script For Linux And Unix(Sep 01, 2008)
More Funny Unix, Linux and Mainframe Error Messages(Aug 31, 2008)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................


All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers