Subject: | Split up into a CGI::Cookie compatible base class, and provide two interfaces |
Hi,
I'd really like it if Apache::Cookie::Encrypted could share code with a hypothetical
CGI::Cookie::Encrypted and CGI::Simple::Cookie::Encrypted, by splitting the code into a mixin
class (Cookie::Encrypted::Base or something like that) and then using multiple inheritence
like:
package CGI::Cookie::Encrypted;
use base qw/Cookie::Encrypted::Base CGI::Cookie/;
package Apache::Cookie::Encrypted
use base qw/Cookie::Encrypted::Base Apache::Cookie/;
etc.
If you're willing to accept a patch for this but don't want to write it yourself let me know and
I'll write something.
Thanks!