At 15.47 -0500 1998.12.23, Mark Manning/Muniz Eng. wrote: > @theInfo =~ s/\s$theName\s/ <a >href="c$j.html">$theName<\/a> /g; You cannot do that. In this case, @theInfo will be taken as in scalar context, so you are really doing: scalar(@theInfo) =~ s/MATCH/REPLACEMENT/g; And you cannot substitute on that value. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch