Good question.  I went to a script right away after the difficulty with the 
one-liner and returned to the command line syntax problem more out of curiosity 
than anything else.  I'm a fan of the command line because once I get one that 
works all I need is the 'history' command and an up arrow key to retrieve 
it--one less file.  You're right though, cleverness is overated.
Stu

> --
> 
> We run into one of these "How do I do this in a one-liner?" questions
> pretty frequently, and I for one have to ask, what exactly makes the
> one-liner so compelling, especially when you are using it for something
> that will be run repeatedly?
> 
> IMHO it would have been much more practical to just create a three line
> Perl script and run it from the command-line.  It makes it easier to
> read, doesn't discourage commenting, and avoids the contortions
> sometimes needed to cram it all into one line.
> 
> 

-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to