note
dchetlin
Good question. Unfortunately, you may not like my answer so much.
<p>The functionality you want exists, in the form of the `-b' switch.
Specifically, this is what I've been using lately:
<p><code>h2xs -AXn Foo-Bar -b 5.5.3</code>
<p>The problem is that this switch was added in [http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-06/msg00147.html|early June 2000]
, too late for 5.6.0. It has been integrated into the 5.6.1 track.
<p>Your options are (in no particular order):
<ul><li>Get Perl 5.7.0 or an even newer version of the development track
<li>Wait for 5.6.1, which should be RSN.
<li>Integrate that patch into your version of h2xs
<li>Manually delete the "require 5.005_xx", change "use warnings" to "-w", and
all `our' vars to `use vars' in every module you create
<li>Use the 5.00503 version of h2xs</ul>
<p>-dlc
46072
46072