better description for tap methods
[catagits/DOM-Tiny.git] / lib / DOM / Tiny / Collection.pm
index 4068fa5..da17842 100644 (file)
@@ -49,7 +49,7 @@ sub grep {
 }
 
 sub join {
-  join +(defined $_[1] ? $_[1] : ''), map {"$_"} @{$_[0]};
+  join $_[1] // '', map {"$_"} @{$_[0]};
 }
 
 sub last { shift->[-1] }
@@ -342,7 +342,7 @@ from the results.
 
   $collection = $collection->tap(sub {...});
 
-Alias for L<Mojo::Base/"tap">.
+Equivalent to L<Mojo::Base/"tap">.
 
 =head2 to_array