Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Can module building tools deal with .pl files in lib/

by perlfan (Vicar)
on Sep 11, 2020 at 20:32 UTC ( [id://11121633]=note: print w/replies, xml ) Need Help??


in reply to Can module building tools deal with .pl files in lib/

Your build tool should be able to be told to copy certain files and where to put them, so you just need to figure out how to do that. What are you using? Dist::Zilla?

Update - oh I see, Minilla. Looks cool, never used it. It might not do what you need based on this,

Minilla sets install script files as ['script/*', 'bin/*'] by default.

(Note. This option doesn't affect anything if you are using ModuleBuildTiny or ExtUtilsMakeMaker, for now. If you are using ModuleBuildTiny, you MUST put scripts in script/ directory.)

If it's true it can't handle your use case, there might be a way to do as a pre-step. But really, I think you already recognize the fact that you should figure out the root issue - don't use .pl when it should be .pm.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-20 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found