Dear Tim,
If you say so, but perhaps I didn't make my (the) problem clear.
I'm using Perl 5.005_03, and trying to install DBI 1.34 (which is still
supposed to support 5.005_03, if I understand things correctly). When I
run 'perl Makefile.PL; make; make test', the tests fail because t/t20meta.t
has referenced the code in DBI::DBD::Metadata.pm (and t/zz_20meta_pp.t also
fails, of course).
The error messages are:
Use of reserved word "our" is deprecated at blib/lib/DBI/DBD/Metadata.pm
line 19.
Bareword "our" not allowed while "strict subs" in use at
blib/lib/DBI/DBD/Metadata.pm line 19.
Unquoted string "our" may clash with future reserved word at ...
Array found where operator expected at ...
Global symbol @ISA requires explicit package name at ...
And so on for a number of extra messages.
So, the people who'd be having to hack their way out of the paper bag are
the users who are reluctant to upgrade (from Perl 5.005_03) but not
reluctant to upgrade to DBI 1.34, rather than the DBI/DBD developers who
know how to use rusty knives to get though the paper bag.
--
Jonathan Leffler ([EMAIL PROTECTED])
STSM, Informix Database Engineering, IBM Data Management Solutions
4100 Bohannon Drive, Menlo Park, CA 94025
Tel: +1 650-926-6921 Tie-Line: 630-6921
"I don't suffer from insanity; I enjoy every minute of it!"
|---------+---------------------------->
| | Tim Bunce |
| | <[EMAIL PROTECTED]|
| | com> |
| | |
| | 03/03/2003 12:49 |
| | PM |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: Jonathan Leffler/Menlo Park/[EMAIL PROTECTED]
|
| cc: Tim Bunce <[EMAIL PROTECTED]>, [EMAIL PROTECTED], Jonathan Leffler
<[EMAIL PROTECTED]> |
| Subject: Re: DBI 1.34 and Perl 5.005_03
|
|
|
>---------------------------------------------------------------------------------------------------------------------------------------------|
On Mon, Mar 03, 2003 at 11:52:39AM -0800, Jonathan Leffler wrote:
>
>
>
>
> I'm doing some pre-release testing on DBD::Informix and am temporarily
> running Perl 5.005_03 for one of the tests, and I'm running into a
problem
> with DBI 1.34 (and 1.33) because DBI::DBD::Metadata.pm (for which I'm at
> least partly responsible), uses 'our' and Perl 5.5.3 recognizes this as a
> future keyword. Should we fix this, Tim?
No :)
Driver authors, who are the only people likely to be using
DBI::DBD::Metadata.pm, are unlikely to be developing on Perl 5.005_03
if the DBI is going to stop supporting it soon.
And if they are, for whatever reason, they're well able to hack
themselves out of that paper bag.
> I also note that there's an =head3 (probably 2) in DBD.pm; I'll get that
> fixed for you...
Umm, that probably does need fixing if, as I recall, 5.6.1 doesn't
support =head3.
> ...I'd forgotten how problematic 5.5.3 was with things like syslog.ph on
> Solaris...Ick!
>
> I've 'worked around' this by force installing DBI 1.34 under Perl 5.5.3,
> but we may need to do a better job than that. What do you think, Tim?
I'm happy enough to let those warning bells ring.
Tim.