Keith Devens .com |
Friday, August 29, 2008 | ![]() |
| Ever wish you could freeze frame a moment in your day, and look at it and say "this is not... – Daniel (Mrs. Doubtfire) | ||
|
| ← Evolution | Python rocks, yet again → |

steve (http://radio.weblogs.com/0125938/) wrote:
Keith (http://www.keithdevens.com/) wrote:
Well, I'm really looking forward to Perl 6.
For some things, Perl can't be beat. It's great for hacking a quick script together - it fits everywhere and runs on everything, and has a whole bunch of libraries available. But, for anything more than like 20-40 lines, Perl would not be my choice 
However, I must make a disclaimer: I'm not a Perl expert. If I programmed in it all day every day for a month maybe I'd learn ways around all the crap in it. But, I don't think so, and from hearing what people often say who have done a lot of Perl programming, they have completely the opposite reaction - the longer you use it, the more its warts weigh on you.
Oh, by the way, Perl 6 "regexes" are going to rule.
Hmm... one more comment. It's not that .NET has good regexes now so you should always use that over Perl. Just use whatever's most appropriate for the job, and what you're most comfortable with.
raptor wrote:
steve,
well some of us don't use Windows u know :"), and the new Perl6 "rules" will rule over all the implementations of regexes as u know it..
And it is written compatible which I havent tried to be sure they are really compatible... what I mostly mean is that they will probably not implement the advanced features like lookahead, lookbehind etc...
http://www.perl.com/pub/a/2003/07/01/regexps.html
And my favorite recursive regex :") from
http://www.perl.com/pub/a/2003/06/06/regexps.html
$paren = qr/
\(
(
[^()]+ # Not parens
|
$paren # Another balanced group
)*
\)
/x;
it your turn :")
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.138s.
(Used 8 db queries)

With .net supporting Perl 5 style regex, I wonder why we still need Perl. Do we?