Next Tricks of the Wizards 85

Filter::Util::Call

        ...
        if ($status >= 0) { 
          if (/^\s*  no  \s+  Rot13  \s*  ; # "no Rot13;"
                \s* (?: #.* )?  $           # Optional WS or comment
              /x) {
            return $status;
          }
          tr/A-Za-z/N-ZA-Mn-za-m/;
        }
        ...
        no Rot13;   print "I like pie.\n";
        $z = qq{
        no Rot13;
        };


Next Copyright © 2003 M. J. Dominus