From: cjwatson <> Date: Mon, 23 Jun 2008 15:58:08 +0000 (+0000) Subject: Re: Perl is strange X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=9f5e5aec8ec24aae14dccd4c8560e3fd65484a96;p=blog.git Re: Perl is strange --- diff --git a/2008-06-23-reply-perl-is-strange.txt b/2008-06-23-reply-perl-is-strange.txt new file mode 100644 index 00000000..01c33dcc --- /dev/null +++ b/2008-06-23-reply-perl-is-strange.txt @@ -0,0 +1,11 @@ +Re: Perl is strange + +
Christoph:
+That's because =~
binds more tightly than +
. This
+does what you meant:
+$ perl -le 'print "yoo" if (1 + 1) =~ /3/' ++ +
perlop(1) has a useful table of precedence.