Merdinus schreef: > my @refs = split('[', $references); > Unmatched [ in regex; marked by <--- HERE .........
The first parameter to split is a regex. The "[" character is a functional regex character. You can write it as: my @refs = split /\[/, $references; or as: my @refs = split /[[]/, $references; > The only thing I can think of is that the Perl compiler is dead wrong > here - it's treating my search string as a left bracket that needs to > be matched up. It is actually much easier to think that you need to check the documentation of split. You probably believe in homeopathy too, or were you just tired? -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/