[pmwiki-users] Irreproducible behavior - maybe a bug

Patrick R. Michaud pmichaud at pobox.com
Wed May 11 08:40:03 CDT 2005


On Wed, May 11, 2005 at 09:34:52AM -0400, Radu wrote:
> So how about eval(), folks?
> 
> As in
>   eval('$bls="bla $var blub";');

I tend to avoid eval(), as it can often be a bit dangerous.  
What you've written here is probably okay, though.  In the case
of FmtPageName, eval doesn't help because I want more control
over the actual substitutions that take place (and not all
of the needed variables are in scope anyway).

Pm




More information about the pmwiki-users mailing list