in reply to defining functions at runtime

In your second eval you are using double quotes ("). In a double quoted string, variables interpolate. Since you are using strict the vars in that double quoted string need to be declared. Although, I am guessing from the code that you actually want single quotes, just like your first eval.

Replies are listed 'Best First'.
Re: Re: defining functions at runtime
by batkins (Chaplain) on Jun 20, 2003 at 10:25 UTC
    Oh wow. Now I feel like an idiot. :)

    Thanks, though!


    milkbone - perl/tk instant messaging - it's the only way to fly