The stupid question is the question not asked | |
PerlMonks |
Re^6: Data manipulation on a fileby CountZero (Bishop) |
on Oct 02, 2015 at 21:23 UTC ( [id://1143684]=note: print w/replies, xml ) | Need Help?? |
Have a look at the uniq and distinct functions from List::MoreUtils. For example:
Output: five four one six three two CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
In Section
Seekers of Perl Wisdom
|
|