develooper Front page | perl.beginners | Postings from February 2011

Re: Renaming with a specific spec

Thread Previous | Thread Next
From:
Brandon McCaig
Date:
February 4, 2011 10:07
Subject:
Re: Renaming with a specific spec
Message ID:
AANLkTimnA_e0EtnXVZLYhY3OF2ZaSdH33jBpR1yrwF7c@mail.gmail.com
On Fri, Feb 4, 2011 at 12:43 PM, Harry Putnam <reader@newsguy.com> wrote:
> I notice that in the OPs code and in your examples, the forward slash
> is not used at all.... When you say above that "all the normal
> delimiters [...]" .. but forward slashes `//' do not have special
> meaning inside and would seem then to be ideal char for delimiters.
>
> Yet they seem to be carefully avoided.  That is what I nearly always
> use.  Is there some reason to avoid `//' as delimiters?

The reason that I didn't use forward^Wslashes is because I often use
regular expressions with file system paths and usually end up with
leaning toothpicks[1]. I'm more or less just experimenting with other
delimiters so that I'll remember that I can when it's actually useful.
:-X

[1] http://en.wikipedia.org/wiki/Leaning_toothpick_syndrome

-- 
Brandon McCaig <http://www.bamccaig.com/> <bamccaig@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamccaig@castopulence.org>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About