in reply to Re: Re: Re3: Code rot?
in thread Code rot?
Beechbone: Here are all the elsifs:
As you can see, no concatenations in the elsifs, just a bunch of regexes. If you'd like, I can post the whole script, but I'll wait till someone says they want it. Thanks.if (!$desc and /^(\w+):$/) { # ... } elsif (/^\{$/) { # ... } elsif (/^\}$/) { # ... } elsif (!$desc and /^"?$screen"?\.(.+):/) { # ... } elsif ($desc and /^\s*id:\s*(\d+)$/) { # ... } else { # ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Code rot?
by Beechbone (Friar) on Sep 24, 2003 at 15:03 UTC | |
|
Re: Re: Code rot?
by aarestad (Sexton) on Sep 23, 2003 at 18:27 UTC |