Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^10: Can you explain the result?

by Corion (Pope)
on Dec 06, 2011 at 17:57 UTC ( #942071=note: print w/ replies, xml ) Need Help??


in reply to Re^9: Can you explain the result?
in thread Can you explain the result?

Sure, but all of these four are keywords, and not functions - this is what makes them special.

But in the context of parsing, they are not really treated that special from (prototyped) functions, so there is no difference in that sense. Well - I'm not sure whether it's possible to pass a label to a function. My naive approach doesn't pass strict:

use strict; sub bar($) { print shift }; FOO: { bar FOO; };


Comment on Re^10: Can you explain the result?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (18)
As of 2015-07-06 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (75 votes), past polls