in reply to problem with eval

You are probably better of using do or require, or even by writing a module, see perlmod.

Hope this helps,

Jeroen
"We are not alone"(FZ)