Perl Whitespace Reg Expression
Matthew Carpenter
matt
Fri Nov 18 14:46:44 PST 2005
On Sunday 09 October 2005 15:15, Bill Campbell wrote:
> >Just a minor nitpick. I use
> >
> > my @line = split('\s+', $_);
Since we're nit-picking (sorry for the long overdue post), I prefer the
following since it is cmdline-friendly:
split(/\s/, $stuff);
>
> Right! My perl's getting rusty as I've been doing most of my
> development in python for the last year or so (with lots of
> commented curly braces to make vi's % key happy :-).
What do you think of python? I've spoken to some real supporters. I've only
in recent years picked up perl, and python is indent-blocked. That is scary.
Ruby is another interesting option. But I'm committed to learning Python a
bit. I've bought the O'Reilly Pocket guide and printed off some tutorials.
Seems easy enough, now I just gotta use it a bit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20051118/ad126224/attachment.pgp
More information about the Linux-users
mailing list