Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Name of subpackage dependent on main package

by Tanktalus (Canon)
on Dec 29, 2019 at 23:37 UTC ( #11110741=note: print w/replies, xml ) Need Help??


in reply to Name of subpackage dependent on main package

If you conform to perl's conventions, that is, to have each package in its own file in the proper directory and file names, you may find autopackage to your liking instead of trying to build it yourself. It probably could be extended to include a sub-package name, too, which would give you something like:

use autopackage 'A'; # == package My::A;
I'm not entirely sure that's a great idea, but that doesn't mean I wouldn't do it. PRs accepted :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110741]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2021-09-27 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?