CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [sdebeaubien] Unix - Thread issue?: Edit Log



FishMonger
Veteran / Moderator

Dec 16, 2009, 3:47 PM


Views: 1316
Re: [sdebeaubien] Unix - Thread issue?

You have a wrong assumption of the cause.

"my" is not a namespace. "my" is a keyword that creates a lexically scoped variable. The package keyword is used to create a namespace

You never showed your code and your description of the problem is vague and incomplete, so we can only make guesses. My guess is that you declared your vars in the wrong scope and if you had code that failed to execute, then that would indicate a logic error.


(This post was edited by FishMonger on Dec 16, 2009, 3:50 PM)


Edit Log:
Post edited by FishMonger (Veteran) on Dec 16, 2009, 3:50 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives