On Fri, 08 Mar 2002 21:37:46 -0600, Cameron Dorey <[EMAIL PROTECTED]> wrote:
>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. The error message was the worded that way because "q]" starts a string literal, and you never provided the closing "]" char. perl -we"print q]Hi there];" You can use almost any char for quoting with q, qq, qx etc. It is symmetric unless you use one of "[<({" for the opening char, then you need to use the corresponding "]>)}" for the closing quote as well. Cheers, -Jan _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs