[m-rev.] diff: mtags: use perl -w

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 24 18:03:51 AEDT 2003


On 24-Nov-2003, Peter Moulder <Peter.Moulder at infotech.monash.edu.au> wrote:
> On Mon, Nov 24, 2003 at 02:59:01PM +1100, Fergus Henderson wrote:
> 
> > 	- use "&foo" instead of the deprecated "do foo" notation for
> > 	  calling subroutines
> 
> Using &foo() rather than foo() disables prototype checking.  You
> probably don't want that.

Ah, thanks.  You're right, I don't want that.

Do you know when the foo() form was introduced?  Is the foo() form
going to be sufficiently portable to all versions of Perl that people
are likely to have lying around (say, anything released in the last
four years)?

> If perl gives unsightly warnings about not
> checking prototypes because of call-before-declaration,

No, it didn't seem to mind that.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list