in reply to Very basic package / module question...
Welcome back to Perl!
Your problem is twofold:
- This module does not seem to be OO. It exports a function (hello) but not the constant GOODBYE;
- Your subroutine goodbye does not live in the SPEAK::ITALIAN package, so you could consider adding package SPEAK::ITALIAN; just bebfore your subroutine definition.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
---|
In Section
Seekers of Perl Wisdom