Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Falling for the same trap - since 1942

by Aristotle (Chancellor)
on Jul 15, 2003 at 08:24 UTC ( #274302=note: print w/replies, xml ) Need Help??


in reply to Re: Re^2: Falling for the same trap - since 1942
in thread Falling for the same trap since 1942

Exactly. Putting stuff in a session object makes it global across a) all your handlers b) all the code in a single handler. As he says, if you're not careful, soon, your pages depend on being called in the right order. Just like with careless use of globals, your functions depend on being called in the right order..

Makeshifts last the longest.

  • Comment on Re^4: Falling for the same trap - since 1942

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2018-01-22 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (238 votes). Check out past polls.

    Notices?