in reply to Re^4: Importing constants into another module
in thread Importing constants into another module
The "::" replaces the path separator.For example, to start a traditional, non-OO module called Some::Module +, create a file called Some/Module.pm and start with this template: package Some::Module; # assumes Some/Module.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Importing constants into another module
by paulski (Beadle) on Feb 03, 2005 at 04:00 UTC | |
by bmann (Priest) on Feb 03, 2005 at 04:33 UTC | |
by paulski (Beadle) on Feb 03, 2005 at 05:11 UTC |