in reply to RFC: new module r (or R)
I think that sam has a good point. This would make a good script, but I disagree that it wouldn't make a good module. As it stands now, with all the work being done in import and with @ARGV, it is not really reusable outside of the command line scenario. But if you refactor the code, you could easily make it useable in other scenarios as well. Allowing arguments other than through @ARGV and making import check its execution context before it does any magic would increase the usefulness of this module immensly.
And then package the script in your CPAN distribution, and you get the best of both worlds. This too would allow you to name the module better, as R is incredibly un-descriptive and tells me absolutely nothing about what it does.
Basically I think that you have some good things going here, and to restrict its usefulness to one scenario would be a waste of your effort.
-stvn
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: RFC: new module r (or R)
by jryan (Vicar) on Mar 06, 2004 at 04:03 UTC | |
by stvn (Monsignor) on Mar 06, 2004 at 05:38 UTC | |
by jryan (Vicar) on Mar 06, 2004 at 23:27 UTC |