On Fri, May 04, 2001 at 11:01:34AM -0400, Jean-Paul Felix wrote:
> On page 18 of the book (1st ed) there is a line which carries out a
> pre-check of $_ to see if it contains the data being searched for
> (somewhere?):
> next unless m/^\Q$siteName:/;
> On page 24 it's:
> next unless m/\Q$siteName/;
> 
> I can't find out what \Q means, I assume ^ means 'beginning with', could
> someone help?
> (I checked my camel and llama, though I could be looking in the wrong
> places).

Look in perlop for \Q, and perlfunc for quotemeta.

\Q is to quotemeta as \L is to lc.

Ronald

Reply via email to