[siesta-commit] siesta/lib Siesta.pm,1.15,1.16

[prev] [thread] [next] [lurker] [Date index for 2002/09/06]

From: muttley
Subject: [siesta-commit] siesta/lib Siesta.pm,1.15,1.16
Date: 14:18 on 06 Sep 2002
Update of /cvsroot/siesta/siesta/lib
In directory usw-pr-cvs1:/tmp/cvs-serv14316/lib

Modified Files:
	Siesta.pm 
Log Message:
Made list_all_plugins sort the list alphabetically and remove duplicates.


Index: Siesta.pm
===================================================================
RCS file: /cvsroot/siesta/siesta/lib/Siesta.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Siesta.pm	6 Sep 2002 10:29:09 -0000	1.15
+++ Siesta.pm	6 Sep 2002 13:18:17 -0000	1.16
@@ -94,7 +94,9 @@
         	push @plugins, $file;
 	}
 
-	return @plugins;
+	my %plugins = map { $_ => 1 } @plugins;
+
+	return sort keys %plugins
 }
 
 



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52