eval with parameters

Fred L Youhanaie fly at anydata.co.uk
Sat May 20 13:16:28 BST 2006



Peter wrote:
> Code string may be something like:
> $codeString = "if ($param1->someMethods($param2)) {return 
> $param1->{someData};} else {return $param1->{someData};}";

Try ' instead of " above.

Cheers
f.


More information about the london.pm mailing list