Commits

Toby Inkster committed 0e21e72

bump version

  • Participants
  • Parent commits 1a3630b

Comments (0)

Files changed (2)

File lib/MooX/Struct.pm

 
 use overload
 	q[""]      => 'TO_STRING',
-	q[0+]      => 'TO_STRING',
 	q[bool]    => sub { 1 },
 	q[@{}]     => 'TO_ARRAY',
 	q[=]       => 'CLONE',
 
 =head2 Overloading
 
-MooX::Struct overloads stringification, numification and array dereferencing.
-Objects always evaluate to true in a boolean context. (Even if they numify to
-0 or stringify to the empty string.)
+MooX::Struct overloads stringification and array dereferencing. Objects always
+evaluate to true in a boolean context. (Even if they stringify to the empty
+string.)
 
 =head1 BUGS
 

File meta/changes.pret

 			label "Workaround strange closure bug in Perl < 5.14."@en;
 		];
 	].
+
+`MooX-Struct 0.005 cpan:TOBYINK`
+	issued  2012-10-08;
+	changeset [
+		item "The 'object_id' method is now called 'OBJECT_ID'."^^Change;
+		item "New method 'TO_STRING'."^^Addition;
+		item "New method 'TO_HASH'."^^Addition;
+		item "New method 'FIELDS'."^^Addition;
+		item "New method 'TYPE'."^^Addition;
+		item "New method 'CLONE'."^^Addition;
+		item "Provide Point[$x,$y] style constructor."^^Addition;
+		item "Overload a lot of operations on structs."^^Addition;
+	].