Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Forward declaration of subs

by ikegami (Pope)
on Oct 14, 2013 at 04:46 UTC ( #1058125=note: print w/replies, xml ) Need Help??


in reply to Forward declaration of subs

>perl -wE"sub foo { bar('a','b'); } sub bar($) { } foo(); say 'done'" done >perl -wE"sub bar($); sub foo { bar('a','b'); } sub bar($) { } foo(); +say 'done'" Too many arguments for main::bar at -e line 1, near "'b')" Execution of -e aborted due to compilation errors.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058125]
help
Chatterbox?
[Discipulus]: the node i discovered yesterday nigth was also interesting

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-12-06 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.