J. Peng schreef: > Dr.Ruud: >> Jenda Krynicky: >>> @signs = map quotemeta($_) @signs; >> >> @signs = map quotemeta($_), @signs; >> (there was a comma missing) >> which you could even write as >> @signs = map quotemeta, @signs; > > or: > @signs = map { quotemeta } @signs;
That is not the same, because it sets up a codeblock. See `perldoc -f map`. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/