The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.10

  • p3p_tags() returns the number of P3P tags instead of the first element in scalar context
  • rehash() returns the current object itself: my @headers = CGI::Header->new(@args)->rehash->flatten;
  • each() doesn't depend on field_names(). field_names() depends on each(). As a result, if Set-Cookie header is multi-valued, field_names() will return a list which contains duplicate values. I don't know how to solve this problem at this time.

Modules

Adapter for CGI::header() function