For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > September 2005 > pnotes question from newbie









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pnotes question from newbie
soup_or_power@yahoo.com

2005-09-30, 6:57 pm

Wondering what is $req_session = {} doing in the following
code. Thanks!

Apache->request()->pnotes(__eReqCache => $req_session = {}) unless
$req_session;

Dave Weaver

2005-09-30, 6:57 pm

soup_or_power@yahoo.com <soup_or_power@yahoo.com> pondered:
> Wondering what is $req_session = {} doing in the following
> code. Thanks!
>
> Apache->request()->pnotes(__eReqCache => $req_session = {}) unless
> $req_session;


It is assigning a reference to an empty hash to the variable
$req_session.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com