[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [Fun With Perl] Everything should be kept as simple as possible...



Vicki wrote:
> there's someting to be said for a nice, simple pipe. My single-line pipe
> does a more correct sort than the perl equivalents you posted because it
> sorts last name before first, rather than sorting the line as a whole.

True, but sometimes questions are asked without the full context.  That is,
the question may have really been: "I'm in the middle of a big Perl program,
and need to do this one thing...".  In that case, sticking to the language
at hand would be a benefit.  Of course you can still do a system call from
Perl for your one line.  But keeping it in native Perl is easier to read
(and more portable).

 - Andy Jacobs


==== Want to unsubscribe from this list? (Don't you love us anymore?)
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org