Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Stumped when passing barewords

by broquaint (Abbot)
on Apr 22, 2004 at 13:53 UTC ( #347363=note: print w/replies, xml ) Need Help??


in reply to Re: Stumped when passing barewords
in thread Stumped when passing barewords

This is because in your example the call to foo can be discerned at compile-time, whereas subroutine calls within other subroutines can't due to perl's dynamic nature, hence the lack of use strict 'subs must exist'.
HTH

_________
broquaint

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://347363]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-01-21 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (186 votes). Check out past polls.