Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 chanting in the Monastery: (7)
As of 2017-10-18 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (251 votes). Check out past polls.

    Notices?