Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
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 exploiting the Monastery: (8)
As of 2014-12-25 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls