in reply to
Re: Manipulating directory paths
in thread
Manipulating directory paths
The
$
anchor is superfluous because
.*
is greedy and will always match to the end of the line.
Comment on
Re^2: Manipulating directory paths
Select
or
Download
Code
Replies are listed 'Best First'.
Re^3: Manipulating directory paths
by
Zen
(Deacon)
on Sep 07, 2007 at 18:06 UTC
True. I know others who do this exact same thing with the dollar sign, but I think it is good for clarity when reading at a glance.
[reply]
In Section
Seekers of Perl Wisdom