from the debugger:

        p 1 if /[\Q$\E]/
        
gets:

        Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE E\]/ 

the following works:

        p 1 if /[\Q\$\E]/

but shouldn't \Q \E be sufficient to make perl treat '$' as a literal?

thanks,

tom arnall
north spit, ca


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to