in reply to (tye)Re: fixing Perl's inconsistencies
in thread fixing Perl's inconsistencies
And I just padded the = with whitespace:$this=someFunc(); $that=result($this); $that=~s/(\d+)/data($1)/eg;
And was baffled momentarily when $that started holding a large number. Then I noticed that number seemed a lot like bitwise negation of 0. D'oh.$this = someFunc(); $that = result($this); $that = ~s/(\d+)/data($1)/eg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: fixing Perl's inconsistencies
by tye (Sage) on Feb 20, 2001 at 22:33 UTC | |
by japhy (Canon) on Feb 20, 2001 at 22:44 UTC |