On Wed, 13 Feb 2002, H.Merijn Brand wrote:
>On Wed 13 Feb 2002 18:35, Jonathan Leffler <[EMAIL PROTECTED]> wrote:
>> On Wed, 13 Feb 2002, H.Merijn Brand wrote:
>> >On Wed 13 Feb 2002 02:02, Jonathan Leffler <[EMAIL PROTECTED]> wrote:
>> >> -Note that most people are still using Kernighan & Ritchie syntax here.
>> >> -I personally don't like this and especially in this documentation it
>> >> -cannot be of harm, so let's use ANSI. Finally Tim Bunce has announced
>> >> -interest in moving the DBI sources to ANSI as well.
>> >> +Since Perl 5.6 requires support for function prototypes (ANSI or ISO or
>> >> +Standard C), you should write your code using function prototypes too.
>> >
>> >Perl requires ANSI-C (as of ***long*** before 5.6)
>>
>> You're right; Perl 5.005 requires ANSI C.  [...]
>>
>> >ANSI-C supports prototypes
>> >We DBD authors /should/ use prototypes
>> >
>> >I couldn't be more straight.
>>
>> So, apart from noting that DBI 1.21 no longer supports Perl 5.004, and
>> changing the reference from 5.6 to 5.005, do you want me to add italics
>> to I<should>?  Or drop the prevarication about ANSI vs ISO C?  Or is it
>> basically OK as it stands?
>
>Choose your own wording, but what I mean is:
>
>Since Perl 5.6 requires ANSI C (supporting function prototypes), you
>I<should> write your code using function prototypes too.

I've edited the paragraph to read:

        DBI 1.21 no longer supports Perl 5.004.  The source code for
        Perl 5.005 and later uses function prototypes, so users must
        have an ANSI C compiler to build Perl.  Therefore, you I<should>
        should write your DBD code using function prototypes too.

-- 
Jonathan Leffler                           #include <disclaimer.h>
STSM, Informix Database Engineering, IBM Data Management Solutions
Phone: +1 650-926-6921                          Tie-line: 630-6921
Email: [EMAIL PROTECTED] ([EMAIL PROTECTED])
Notes ID: Jonathan Leffler/Menlo Park/IBM@IBMUS
Guardian of DBD::Informix v1.00.PC1 -- http://dbi.perl.org
            *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Please update your address book to use [EMAIL PROTECTED] because
[EMAIL PROTECTED] will not work starting 2002-07-01.  Expect
slower responses because I can't use Lotus Notes as fast as Unix
email.  One day, this signature will shrink!

Reply via email to