Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re (tilly) 3: fixstyle script in PERL COOKBOOK

by tilly (Archbishop)
on Apr 21, 2001 at 08:04 UTC ( #74389=note: print w/replies, xml ) Need Help??


in reply to Re: Re: fixstyle script in PERL COOKBOOK
in thread fixstyle script in PERL COOKBOOK

They are explained in perlre.

What \Q does is disable a lot of the "metacharacters" in REs until the next \E. This is often important when substituting variables in an RE because you have little control over the contents of the variable.

An alternate solution is to quote all possible meta characters with quotemeta.

  • Comment on Re (tilly) 3: fixstyle script in PERL COOKBOOK

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://74389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-05-15 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?