quote
Instead of /ee say:
s/pattern/{ eval doit() }/
/quote
s/eval/try/ ?
--
Affijn, Ruud
Gewoon is een tijger.
Dr.Ruud skribis 2006-05-05 15:25 (+0200):
s/pattern/{ eval doit() }/
s/eval/try/ ?
No, string eval stays eval. Only block eval is renamed to try.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Juerd schreef:
Dr.Ruud:
S05:
s/pattern/{ eval doit() }/
s/eval/try/ ?
No, string eval stays eval. Only block eval is renamed to try.
Understood, but I was thinking about variants like
{ eval '' ~ doit() }
{ eval $\doit }
and then wasn't sure anymore whether eval doit() is a string