Re: [code-review] Tie::Array::Bounded

Casey West <casey-QkXfiqhAi4BWk0Htik3J/[email protected]> Fri, 21 Nov 2003 12:41:18 -0500
Newsgroups gmane.comp.lang.perl.code-review-ladder
Message-ID <[email protected]>
It was Friday, November 21, 2003 when David Cantrell took the soap box, saying:
: On Thu, Nov 20, 2003 at 11:07:35PM -0800, Peter Scott wrote:
: > I've created my first module intended for CPAN, at
: > http://www.psdt.com/Tie-Array-Bounded-0.01.tar.gz pending review from
: > folks here.  It allows the user to specify upper (and, for
: > completeness' sake, lower) bounds on array indices, and throws
: > exceptions on violations.
: >
: > Mostly entertainment value - I've never felt the need for such a thing
: > - but it might give the Pascal people warm fuzzies.
: 
: Your README file is just a copy of the manpage.  Instead - especially as
: you are using the less well-known Module::Build - it is better for this
: to contain installation instructions.

I'm just curious if anyone else has used a similar trick I've used in
the past.  My INSTALL file is executable, and thus:

  #!/bin/sh
  perl Build.PL
  ./Build
  ./Build test
  ./Build install

So as to allow the user a single step:

  ./INSTALL

  Casey West

-- 
Shooting yourself in the foot with SVR4
The gun isn't compatible with your foot.