if ($line eq "API#") { ... }
If you want to use regexes, maybe you need some anchors. See perlretut.
Also the double quotes inside the regex are a bit confusing - you won't get any match with them, unless your line also contains literal double quotes.
In reply to Re: String Match
by moritz
in thread String Match
by zeni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |