in reply to Problem with functions in modules
So, did you actually declare the subroutine ReadConfigFile? It does not suffice to say that you will be exporting ReadConfigFile, you also need to write the code into a subroutine and that subroutine must be named ReadConfigFile. For example like the following:
package Hello; sub ReadConfigFile { my ($file) = @_; warn "Reading of config file '$file' is not yet implemented."; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with functions in modules
by nisha (Sexton) on Oct 26, 2005 at 09:46 UTC | |
by Corion (Patriarch) on Oct 26, 2005 at 10:52 UTC |