laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The issue is that when installed our .pm files will end up in any one of:
We can say: use OurApp::LibName; and find our libs We can't say my $sql_lib=new SQL::Library {lib=>'sql.lib'}; We have to say: my $sql_lib=new SQL::Library {lib=>'/full/path/to/sql.lib'} We could write code to search @INC for our file, but that doesn't seem right There is little or no code in our libraries that is useful outside our application, so publishing to cpan might no make sense. Following the conventions of a cpan package may make our life easier even if we don't ever make a package. In reply to Re^2: put SQL::Library file where?
by mandog
|
|