Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: warning about prototypes too early?

by hackmare (Pilgrim)
on Feb 25, 2004 at 11:45 UTC ( #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.
  • Comment on Re: warning about prototypes too early?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2020-04-03 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (27 votes). Check out past polls.

    Notices?