Re: pnotes question from newbie



soup_or_power@xxxxxxxxx <soup_or_power@xxxxxxxxx> 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.


.



Relevant Pages

  • Re: What am I doing wrong?
    ... Private Sub Form_Load ... You can use a reference to some object instead. ... Anytime you are assigning objects to variables, ... With Text1 added to a new form, try this code in the form: ...
    (microsoft.public.vb.general.discussion)
  • Re: Understanding python functions - Instant Python tutorial
    ... Assigning multiple names to the same object just means you can ... In the function, some_list is another name referring to the actual object. ... y refers to a '1' object and when the function is called the object 1 now gets a new reference x inside the function. ...
    (comp.lang.python)
  • Re: Finding the instance reference of an object
    ... which implies that Python makes a copy when assigning ... RTFM: Python Reference Manual 6.3.1 ...
    (comp.lang.python)
  • Re: Garbage collection on tokens vs. plain objects
    ... Specifically: Does assigning an ... As far as I know no popular Javascript implementation uses a reference ... if the var foo assignment isn't in a ... Please explain what you mean by "a collision without a token". ...
    (comp.lang.javascript)
  • Re: ERROR: signing the return value of new by reference
    ... Assigning the return value of new by reference is ... deprecation of the effective double-reference. ... A shallow object, I suppose? ...
    (comp.lang.php)