On 11/8/06, Tim Wolak <[EMAIL PROTECTED]> wrote:
$grp = "E\$";
if ( substr($_, 69,2) =~ /($grp)/) {
Despite appearances, the string from the first statement doesn't
contain a backslash. (Maybe you wanted to use qr// instead of double
quotes? Or you could write the string with three backslashes: The
first two make a real backslash, while the third escapes the dollar
sign within the double quotes.)
Hope this helps!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>