Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: (Revelation) Re: sub and anonymous sub

by theorbtwo (Prior)
on Jun 21, 2002 at 03:25 UTC ( [id://176218]=note: print w/replies, xml ) Need Help??


in reply to (Revelation) Re: sub and anonymous sub
in thread sub and anonymous sub

Why thank you; that monk using good pratice was me. The my lexicaly scopes the variable to the end of the my statement to the end of the smallest enclosing lexical block, where a lexical block is a pair of curlies, a file, or an eval string (and probably some other places, anybody?). By adding the extra {}s, you make a scope exactly as large as you need.


We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book

Replies are listed 'Best First'.
Re: Re: (Revelation) Re: sub and anonymous sub
by BrowserUk (Patriarch) on Jun 21, 2002 at 22:43 UTC

    Thankyou kind monk theorbtwo.

    ...but look what you started me on:)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-16 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found