Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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


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


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 perl.com too, but not any more.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2015-07-28 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls