Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Prototyping - is it necessary?

by geektron (Curate)
on Aug 31, 2005 at 18:34 UTC ( [id://488186]=note: print w/replies, xml ) Need Help??


in reply to Prototyping - is it necessary?

if you're going to use the prototyping parens, you need to specify the type of prototype. otherwise, leave them off, as others have said. this:
sub getFileData() { }
is missing the prototype ... and that's why it won't work.

Replies are listed 'Best First'.
Re^2: Prototyping - is it necessary?
by merlyn (Sage) on Aug 31, 2005 at 18:43 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found