On Thu, 22 Feb 2007 13:55:06 +0100, Greg Hurrell <greg.hurrell / gmail.com>  
wrote:

> On 21 feb, 20:50, Brian Candler <B.Cand... / pobox.com> wrote:
>
>> In a single-quoted string:
>>    \'  =>  '
>>    \\  =>  \
>>    \x  =>  \x  for all other x
>>
>> So '...\1' and '...\\1' are identical.
>
> Excellent, that explains why I was getting the same results for 3 and
> 4 slashes, and the same for 5 and 6 slashes.
>

%q{...} is your friend.

David Vallner