in reply to package inside .pl
How can I make it work ?Since a use is essentially just a require and import, and the package is already within the file you just need to call the import method on that package, and if it doesn't have an import method, then there's nothing left to do. But if it does then it would go something like this
And because import is somewhat special it's ok to call it even if the package hasn't defined it.{ packge Foo::Bar; ... } Foo::Bar->import
_________
broquaint
|
|---|