Buddy Burden writes:
> Guys,
>
> > It's fairly unusually for a piece of code to be appropriate both as
> > a stand-alone program and as a module loaded by other programs. ...
>
> Perhaps David's original question would have been more clear with a
> slightly more targeted footnote reference:
> ht
On Sat, Sep 01, 2012 at 01:40:01AM -0700, Buddy Burden wrote:
> > It's fairly unusually for a piece of code to be appropriate both as a
> > stand-alone program and as a module loaded by other programs. ...
> Perhaps David's original question would have been more clear with a
> slightly more targete
Guys,
> It's fairly unusually for a piece of code to be appropriate both as a
> stand-alone program and as a module loaded by other programs. ...
Perhaps David's original question would have been more clear with a
slightly more targeted footnote reference:
http://www.drdobbs.com/scripts-as-module
David Christensen writes:
> On 08/31/12 07:53, Leon Timmermans wrote:
>
> >Why do you want to do this?
>
> So that after "make install" my Perl scripts can say "use MyModulino"
> and I can invoke the modulino from the command line via "mymodulino
> ARGS".
Yes, but why do you want to do _that_?
On 08/31/12 07:53, Leon Timmermans wrote:
Why do you want to do this?
So that after "make install" my Perl scripts can say "use MyModulino"
and I can invoke the modulino from the command line via "mymodulino ARGS".
David
On Fri, Aug 31, 2012 at 3:29 PM, David Christensen
wrote:
> module-authors:
>
> I am working on a modulino [1] and would like to use ExtUtils::MakeMaker to
> generate a Makefile such that "make" (or "make all") copies the module file
> (lib/MyModulino.pm) to a script file (perl-bin/mymodulino.pl)
module-authors:
I am working on a modulino [1] and would like to use ExtUtils::MakeMaker
to generate a Makefile such that "make" (or "make all") copies the
module file (lib/MyModulino.pm) to a script file
(perl-bin/mymodulino.pl) and sets the execute bit.
Any suggestions?
TIA,
David