in reply to Calling subroutine syntax

Okay, that answers what it is I saw ... it was prototyping. I'd never seen it before and couldn't find any reference documentation for it because I didn't know what it was called. Thanks. :-)

Note: My initial example contained a colon (:) in the prototype when really it should have been a semi-colon (;)

Dean
The Funkster of Mirth
Programming these days takes more than a lone avenger with a compiler. - sam
RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers

Replies are listed 'Best First'.
Re(2): Calling subroutine syntax
by bart (Canon) on May 02, 2004 at 13:57 UTC
    I can recommend Tom Christiansens' rant against prototyping on why in general you want to stay away from it, even though the article is about 5 years old now.

    FMTEYEWTK on Prototypes in Perl

    It used to be available as an article on perl.com too, but not any more.