Is there a better way to create dynamic if structures on the fly that i am not aware of?
Sure, use code refs instead of eval -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>