]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - Plugin.pod
Importing re-engine-Plugin-0.03.tar.gz
[perl/modules/re-engine-Plugin.git] / Plugin.pod
index d4bb1a246bed672d35878a3dc84e4dd310b9d49d..3ae9882d8bcd5ff26cbd5663f3ccfae1e9e916ab 100644 (file)
@@ -149,7 +149,7 @@ hashrefs, objects, etc.
 =head2 mod
 
     my %mod = $rx->mod;
-    say "has /ix" if $mod{i} and $mod{x};
+    say "has /ix" if %mod ~~ 'i' and %mod ~~ 'x';
 
 A key-value pair list of the modifiers the pattern was compiled with.
 The keys will zero or more of C<imsxp> and the values will be true