|
|
About
Colin Watson's blog
cjwatson@debian.org
Subscribe
Subscribe to a syndicated feed of my weblog,
brought to you by the wonders of RSS.
Flavours
There's more than one way to view this weblog; try these flavours on
for size.
Powered by Blosxom
|
|
|
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.
[/debian]
permanent link
|
|