in reply to safe regex variables
It means to match a literal $ sign, then the string 'boundary.' To do what you want, just do what japhy said and use:if (/^-+\$boundary/){
(or you can use quotemeta on $boundary)if (/^-+\Q$boundary\E/){
The 15 year old, freshman programmer,
Stephen Rawls
|
---|