I tried the code and it worked (after translating it to real code). What error message did you get? Are you using strict and warnings? That could also help catch simple errors.
Of course, it's better to objects anyway.
In reply to Re: calling functions with same names but in different modules depending on user input
by itub
in thread calling functions with same names but in different modules depending on user input
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |