Christian Kruse: \Q und \E quoten?? Wo ist die PerlDoc dazu??

Beitrag lesen

Hallo Aqua,

[...]

perldoc perlre:

[...]
           \E          end case modification (think vi)
           \Q          quote (disable) pattern metacharacters till \E
[...]
       You cannot include a literal "$" or "@" within a "\Q" sequence.  An
       unescaped "$" or "@" interpolates the corresponding variable, while
       escaping will cause the literal string "$" to be matched.  You'll need
       to write something like "m/\Quser\E@\Qhost/".
[...]

Gruesse,
 CK

--
http://cforum.teamone.de/
http://wishlist.tetekum.de/
If God had meant for us to be in the Army, we would have been born with green, baggy skin.