The use command, the way you're using it, is the same as the following snippet:
BEGIN { require DIVISION; import DIVISION qw/divideInteger printer/; } # Assuming the subs you're describing are actually imported into # package main's namespace.
The mechanism at work is described in much better detail in perlmod, and use.
Dave
In reply to Re: subroutine calls
by davido
in thread subroutine calls
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |