From 9f5e5aec8ec24aae14dccd4c8560e3fd65484a96 Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Mon, 23 Jun 2008 15:58:08 +0000 Subject: [PATCH] Re: Perl is strange --- 2008-06-23-reply-perl-is-strange.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 2008-06-23-reply-perl-is-strange.txt 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.
-- 2.30.2