On 10/20/06, Kathryn Bushley <[EMAIL PROTECTED]> wrote:

I'm trying to get this program to work and it works up until the last two lines
(substitution) which gives a syntax error...any idea what might be the problem?

What *is* the error message?

   $line=~ s/(.*)$code([/D])/$1$id_global{$code}$2/;

An s/// operator should have three delimiter characters, but you seem
to have four. Was that what the error message was trying to tell you?

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>


Reply via email to