On Sat, Apr 26, 2008 at 7:54 PM, Dr.Ruud <[EMAIL PROTECTED]> wrote:
> 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`.
>
I mean the results are the same, not the process.
See also `perldoc -f map'.
--
J. Peng - QQMail Operation Team
eMail: [EMAIL PROTECTED] AIM: JeffHua
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/