"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
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
"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
anged, I suppose, but it makes me twitch. Maybe someone who knows
ties better could comment on this.
--
Robert Mathews
Software Engineer
Excite@Home
've got Larry Wall to untie the Gordian knot of
perl6. One rfc to add more english, one to take it away.
--
Robert Mathews
Software Engineer
Excite@Home
ing they're weird use English things.
You'd learn to recognize the long variable names if you used English
regularly. It's a chicken-and-egg problem, but not a very difficult
one.
--
Robert Mathews
Software Engineer
Excite@Home
the values of %CGI listrefs? That should have
been spelled out before you froze the RFC. Also, it seems a bit
inconvenient if you always have to say C<$CGI{bar}[0]> when you just
want one value.
Or would you rather have %CGI magically notice what context it's in?
*Shudder*
--
Robert Ma
onic. Some
of the perlvar mnemonics are pretty strained.
--
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
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
$_[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
11 matches
Mail list logo