On 28 Sep 2000, Perl6 RFC Librarian wrote:

> =head1 TITLE
> 
> Add C<header> and C<unheader> funtions to core distribution

>                                                      The C<header>
> function would simply:
> 
>    1. uc the first letter of each tag token and lc the
>       rest, also converting _'s to -'s automatically
> 
>    2. Add a colon separating each tag and its value,
>       and exactly one newline after each one
> 
>    3. Combine list elements into a comma-delimited
>       string 
> 
>    4. Append a singular newline as the last element of
>       the list

CGI.pm can do this:

print header(expires => '+1M'); # Expire in one month.

Seems like the header function described above cannot. Oh well, one
can always:

use CGI;

Alan Gutierrez

Reply via email to