Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Using Apache2::RequestRec and pnotes

by perrin (Chancellor)
on Apr 03, 2007 at 14:58 UTC ( [id://608078]=note: print w/replies, xml ) Need Help??


in reply to Using Apache2::RequestRec and pnotes

You can't store anything but a string in notes. In pnotes, you can store a ref to a hash or an object or anything else perl can store.
  • Comment on Re: Using Apache2::RequestRec and pnotes

Replies are listed 'Best First'.
Re^2: Using Apache2::RequestRec and pnotes
by Krambambuli (Curate) on Apr 03, 2007 at 15:15 UTC
    Thanks, I've thought that will work like that, I'm however unsure about references to 'shared' variables hidden within the stored structures.

    But I guess I'm just a bit paranoic and most of the problems occuring with improper ways to share variables/structures within mod_perl are not as critical here, as long as I stay tied with one specific request.

    I'll definitely will need to play a bit with it myself in order to 'feel' it.

    Many thanks,
    Krambambuli
      I'm not sure what the "shared" references you're referring to are, but there is no sharing of notes or pnotes between child processes. It also gets cleaned up automatically at the end of the request, which is very convenient.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://608078]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found