Where's the best place to ask perl 5.10 questions?
I received mail about a module of mine. The user just upgraded to
Ubuntu 8.10 which has Perl 5.10 and was having some problems.
So I upgraded a laptop to Ubuntu 8.10 with Perl 5.10.0 for testing.
First issue is that 5.10 is complaining about symbols that are only
used once. I'm seeing a lot of them in Catalyst tests -- and Catalyst
uses NEXT.pm:
Name "Catalyst::Controller::setup_dispatcher" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Note, there is no "setup_dispatcher" in Catalyst::Controller but
probably some NEXT.pm magic is confusing it. Lines from above:
56 no strict 'refs';
57 @{$NEXT::NEXT{$self,$wanted_method}} =+
58 map { *{"${_}::$caller_method"}{CODE}||() } @forebears
59 unless $wanted_method eq 'AUTOLOAD';
Unfortunately, I have not been able to create a small working example
-- and it only happens when running "make test", not when running the
application or using "prove" to run a single test.
Before I pull out too much hair, anyone seen this or have any ideas
what's happening here?
Second issue is where modules are installed, and this is probably a
rather basic Perl question.
This isn't a 5.10 issue other than after upgrading to Perl 5.10 I had
a *ton* of "missing" modules.
Seems a lot of pure-perl modules were installed in:
/usr/local/share/perl/5.8.8
To take a random example of Set::Scalar:
/usr/local/share/perl/5.10.0/Set/Scalar.pm
/usr/local/share/perl/5.8.8/Set/Scalar.pm
so many modules are not found after upgrading since 5.8.8 in not in
@INC in 5.10.0.
@INC:
/etc/perl
/usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
Is that an Ubuntu issue or something common across Perl installations?
Assuming my modules are "forward compatible" as a module author is
there anything I can do in Makefile.PL to have my module installed in
a location that does not have the version number?
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt