Derek R. Price wrote:
> Now, using the same Perl source with Apache2::Cookie->new, an undefined
> value is returned instead of the new cookie.  At best, this appears to
> be an API change and should be documented.  At worst it appears to be a
> bug in libapreq2 that should be fixed.
http://svn.apache.org/viewvc?view=rev&rev=447770
How's that ?

I agree back compat is good, but I can't change the API at this juncture or we 
break backcompat in the 2.x series
with itself.

my $cookie = Apache2::Cookie->new($r, name => 'n');
if ($cookie) {
}
These ifs would suddenly be executed.

> I discovered this using libapreq2 2.0.7.
2.08 is out :)


-- 
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
       <___/

Reply via email to