in reply to using package functions and vars withouth packagename::
package YourModule; require Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw(munge frobnicate); # symbols to export on request use ModuleName qw(frobnicate); # import listed symbols frobnicate ($left, $right) # calls YourModule::frobnicate
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: using package functions and vars withouth packagename::
by mutated (Monk) on Apr 06, 2004 at 17:16 UTC | |
by davido (Cardinal) on Apr 07, 2004 at 03:54 UTC | |
by TomDLux (Vicar) on Apr 07, 2004 at 07:47 UTC |