Re: perl one liner
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 12 May 2005 19:55:36 GMT
Tad McClellan wrote:
> Sometimes the comments answer a question, and sometimes they
> are a discussion of Perl that does not answer a question.
And often it wanders off topic :-D.
To Axel, I think the reply was a good one, since it explained that you can
use other delimiters than /, and also that the unescaped / was the problem
(maybe between the lines, I am to lazy to reload the thread).
Just showing how to escape the / misses an important point: that you don't
need to use / to delimit.
Quite some beginners don't know that:
/\/\/\// can be written as, for example m{///}
"\"\"\"" can be written as, for example qq(""")
etc.
So they produce now and then hard to read code, and moreover, can't read
some parts of code written by people who do know.
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
.
- Follow-Ups:
- Re: perl one liner
- From: axel
- Re: perl one liner
- References:
- perl one liner
- From: tweetiebirds
- Re: perl one liner
- From: Joe Smith
- Re: perl one liner
- From: axel
- Re: perl one liner
- From: John Bokma
- Re: perl one liner
- From: axel
- Re: perl one liner
- From: Tad McClellan
- perl one liner
- Prev by Date: Re: google search in multiple sites
- Next by Date: Re: perl one liner
- Previous by thread: Re: perl one liner
- Next by thread: Re: perl one liner
- Index(es):
Relevant Pages
|