"David L. Nicol" wrote:
> it's not a new feature. It's amazing the subtle control you
> can get with s/(\$...)/$1/ge depending on your
You mean /gee, right? Hadn't thought of that. /ee makes my brain hurt.
--
Robert Mathews
Software Engineer
Excite@Home
cial editor just to tame the obvious shortcomings of the language
syntax.
Perl *lets* you include parentheses, or not, whichever makes the code
easier to read. Yeah, you can write ugly or broken code by leaving too
many out. So?
--
Robert Mathews
Software Engineer
Excite@Home
anged, I suppose, but it makes me twitch. Maybe someone who knows
ties better could comment on this.
--
Robert Mathews
Software Engineer
Excite@Home
$_[0]
> Your tuition is now due. Please send in a payment of at least
> $_[1].
> SPAM
> }
What does the second one mean, then? Doesn't
print sub { ... }
just print out a reference to an anonymous subroutine, for any value of
"..."?
--
Robert Mathews
Software Engineer
Excite@Home
icer if Perl could just notice
> that the regex could be handled by its DFA matcher, all by itself.
That would be nice, too, but a modifier would let you ensure that the
DFA matcher was being used. You wouldn't have to guess whether a
particular construct was DFA-able or not.
--
Robert M
I don't see that this is a problem,
as long as this behavior is documented.
What about nesting lookbehinds inside of lookbehinds? Ouch...
--
Robert Mathews
Software Engineer
Excite@Home
Tom Christiansen wrote:
> Don't forget /s's other meaning.
Do you enjoy making people ask what you're talking about? What other
meaning did you have in mind, overriding $*?
--
Robert Mathews
Software Engineer
Excite@Home
"John L. Allen" wrote:
> Um, what would your proposal gain you over
>
> $z = eval "qq{$y}";
>
> other than conciseness, elegance and speed (which may be quite enough!) ?
$y = '};system "rm -rf *";qq{';
--
Robert Mathews
Software Engineer
Excite@Home
ost browsers the input focus will jump to
> the next input on tab, and the tab does not get entered into a field.
Netscape on Solaris has this tabbing behavior for text fields, but
allows you to enter tabs in text areas. I guess your solution would be
workable, though.
--
Robert Mathews
Software Engineer
Excite@Home