Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Calling subroutine syntax

by crabbdean (Pilgrim)
on May 01, 2004 at 15:13 UTC ( [id://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 (;)

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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found