Well, if the ABC::new_time_var function is declared with a prototype of (), meaning no arguments, you cannot call it with arguments in your wrapper, like ABC::new_time_var(@_). Similarly for the other two functions.
See also other threads on using prototypes here, to better understand how prototypes work in Perl (hint: they don't act like in C).
In reply to Re^3: Creating wrapper over a wrapper
by almut
in thread Creating wrapper over a wrapper
by sunnyagarwal008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |