<?xml version="1.0" encoding="windows-1252"?>
<node id="1017580" title="how do you install a perl app::someapp module in bash" created="2013-02-07 02:27:16" updated="2013-02-07 02:27:16">
<type id="115">
perlquestion</type>
<author id="1005218">
gideondsouza</author>
<data>
<field name="doctext">
&lt;b&gt;Update:&lt;/b&gt;
&lt;p&gt;So I found what I was looking for, it seemed like sorcery to me but all I was looking for was &lt;a href='http://perldoc.perl.org/ExtUtils/MakeMaker.html#EXE_FILES'&gt;EXE_FILES&lt;/a&gt; inside the Makefile.pl&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;So I'm hoping to develop a simple little app module. &lt;i&gt;App::MyApp&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;I looked at module starter and couldn't really find what I was looking for. I just have two questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
During a cpan/install, How/When do install my perl script app into the the users bash (like when module starter is installed you can now use it in bash). Note the &lt;b&gt;when&lt;/b&gt;? I'm wondering whether there is an &lt;i&gt;install event/func&lt;/i&gt; that gives me a handle to when the user is installing the module.
&lt;/li&gt;
&lt;li&gt;
Do I also have to take care of marking .pl file as executable or can I install a bash script that runs my perl script? (like module-starter is used as an executable inside bash?)
&lt;/li&gt;
&lt;/ol&gt;</field>
</data>
</node>
