Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Calling subroutine syntax

by crabbdean (Pilgrim)
on May 01, 2004 at 15:13 UTC ( #349622=note: print w/ replies, xml ) Need Help??

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 (;)

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
Comment on Re: Calling subroutine syntax
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 too, but not any more.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://349622]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-05-26 12:55 GMT
Find Nodes?
    Voting Booth?