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

Re^6: Disabling runtime warnings in dynamic scope? (updated)

by LanX (Saint)
on Apr 26, 2018 at 11:55 UTC ( [id://1213597]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Disabling runtime warnings in dynamic scope?
in thread Disabling runtime warnings in dynamic scope?

These are general CS terms and easily googled:

http://en.m.wikipedia.org/wiki/Scope_(computer_science)

http://www.geeksforgeeks.org/static-and-dynamic-scoping/

Perlglossary is from the Camel book, and as such binding for Perl terminology.

Alas the book is not (legally) online.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

update

See also perlsub#Temporary-Values-via-local()

A local modifies its listed variables to be "local" to the enclosing block, eval, or do FILE --and to any subroutine called from within that block. A local just gives temporary values to global (meaning package) variables. It does notcreate a local variable. This is known as dynamic scoping .

  • Comment on Re^6: Disabling runtime warnings in dynamic scope? (updated)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found