Hi All.

I am starting to get the quote-like expressions ( qq/.../ ) right in my 
tokenizer. Just wanted to drop a small note:

print 1 if "shalom world"
   =~
   m{shalom # start {
       \s #whitespace }
     }x;

if the expression is braced, and can include comments ( the x modifier ) 
then the braces in the comments must be balanced too, or we will get a 
compilation error.

If it is not braced, then the separator char must not appear in the 
comments.

All this is quite obvious, I think. Just had to check.

Shmuel.
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to