http://qs321.pair.com?node_id=1095332


in reply to Re: a perl code syntax help
in thread a perl code syntax help

thanks for your reply and pointer to the doc.
I just do not want to write the same code again and again, can I write a function and pass 'onload' or 'onChange' in a variable? so that it would resolve the $func value as -onChange or -onload ?