Handle PERLIO= and document a bit.
[p5sagit/p5-mst-13.2.git] / lib / assertions / activate.pm
index 6f0f37e..0ce73f3 100644 (file)
@@ -7,7 +7,8 @@ our $VERSION = '0.01';
 
 sub import {
     shift;
-    push @{^ASSERTING}, ( map { qr/^$_$/ } @_) ;
+    @_='.*' unless @_;
+    push @{^ASSERTING}, ( map { qr/^(?:$_)$/ } @_) ;
 }
 
 1;