in reply to subroutine calls
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: subroutine calls
by Anonymous Monk on Apr 14, 2006 at 10:05 UTC | |
by Fletch (Bishop) on Apr 14, 2006 at 12:18 UTC | |
by wazoox (Prior) on Apr 14, 2006 at 12:24 UTC |