[Bps-public-commit] r9554 - CSS-Squish/lib/CSS

ruz at bestpractical.com ruz at bestpractical.com
Mon Nov 5 12:15:58 EST 2007


Author: ruz
Date: Mon Nov  5 12:15:57 2007
New Revision: 9554

Modified:
   CSS-Squish/lib/CSS/Squish.pm

Log:
* add a very simple constructor

Modified: CSS-Squish/lib/CSS/Squish.pm
==============================================================================
--- CSS-Squish/lib/CSS/Squish.pm	(original)
+++ CSS-Squish/lib/CSS/Squish.pm	Mon Nov  5 12:15:57 2007
@@ -82,6 +82,11 @@
 
 =cut
 
+sub new {
+    my $proto = shift;
+    return bless {@_}, ref($proto) || $proto;
+}
+
 sub concatenate {
     my $self   = shift;
     my $string = '';



More information about the Bps-public-commit mailing list