pnotes question from newbie

Discussion in 'Perl Misc' started by soup_or_power@yahoo.com, Sep 30, 2005.

  1. Guest

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

    Apache->request()->pnotes(__eReqCache => $req_session = {}) unless
    $req_session;
     
    , Sep 30, 2005
    #1
    1. Advertising

  2. Dave Weaver Guest

    <> 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.
     
    Dave Weaver, Sep 30, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jerry C.
    Replies:
    8
    Views:
    263
    Uri Guttman
    Nov 23, 2003
  2. Kruno Saho
    Replies:
    0
    Views:
    157
    Kruno Saho
    Apr 7, 2013
  3. Dave Angel
    Replies:
    0
    Views:
    137
    Dave Angel
    Apr 7, 2013
  4. rusi
    Replies:
    0
    Views:
    126
  5. Miki Tebeka
    Replies:
    0
    Views:
    91
    Miki Tebeka
    Apr 7, 2013
Loading...

Share This Page