Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: warning about prototypes too early?

by hackmare (Pilgrim)
on Feb 25, 2004 at 16:45 UTC ( [id://331711]=note: print w/replies, xml ) Need Help??


in reply to warning about prototypes too early?

When you use prototypes, perl wants you to declare the prototypes before you use them in the code.
If you put your subs before the main body of your script, then this will fix the problem

Shameless SVG plug: The March SVG London Users Meeting will take place Tuesday 9 March at the Round Table pub at 1900h.
There will be two of perl-related technical presentations.


hackmare.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found