Okay, the reason for the strange error message is that there are quote
operators, one of which is q.  For example,
'abc'
is equivalent to
q(abc)
and
"abc"
is equivalent to
qq(abc)
But you don't need to use () - you can use any paired delimiters.  Perl
things you meant q] to be the start of a single quoted string, using the q
operator, and was wondering where the final ] is.

Ken Bandes

----- Original Message -----
From: "Cameron Dorey" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users Mailing List"
<[EMAIL PROTECTED]>
Sent: Friday, March 08, 2002 10:37 PM
Subject: Re: Baffling error, or maybe I'm just blind


> John Draper wrote:
> >
> > Cameron,
> >
> > I'm not sure if this is the problem, but, shouldn't the:
> >     $id[q]
> > of this line: if ($id[$q_index] == $id[q]) {
> > read:
> > $id[$q] instead?
> >
> > John
>
>
> Uh, yes it should. This is part of a much larger script and in trimming,
> and trimming, and trimming to find what the mistake really was, I never
> saw it. I guess I was just blind, since I really do know better (but I
> do not understand why the error message was worded that way). Thanks.
>
> Cameron
>
> >
> > ----- Original Message -----
> [snipped, you wouldn't want to see it again, anyway. _I_ never want to
> see it again.]
>
> --
> Cameron Dorey
> Associate Professor of Chemistry
> University of Central Arkansas
> Phone: 501-450-5938
> [EMAIL PROTECTED]
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to