in reply to Where can I buy an $r with which to test Apache2::Cookie?

http://perl.apache.org/docs/2.0/user/coding/cooking.html
http://perl.apache.org/docs/general/testing/testing.html
http://modperl2book.org/
Apache2::Cookie ...The Apache2::Cookie module is based on the original 1.X versions, which mimic the CGI::Cookie API
  • Comment on Re: Where can I buy an $r with which to test Apache2::Cookie?

Replies are listed 'Best First'.
Re^2: Where can I buy an $r with which to test Apache2::Cookie?
by frostman (Beadle) on Feb 11, 2008 at 05:58 UTC

    Thanks for the links.

    Apache2::Cookie Pod says:

    Just like CGI::Cookie::new, but requires an additional environment argument

    ...which is the thing I need to mock.

    Also, as an aside, it seems like I keep running into example code (e.g. under the "cooking" link above) that isn't happy under use strict - unless, if I understand it correctly, it's running in a full mod_perl environment.

    Maybe I'm asking for too much, but I wish that were explained better. In the age of Google, every page is a landing page.