Perl6 RFC Librarian (Today):
> =head1 TITLE
> Add C<header> and C<unheader> funtions to core distribution
> Maintainer: Nathan Wiger <[EMAIL PROTECTED]>
>
> =head1 ABSTRACT
<!-- snip -->
> This RFC proposes that Perl include a simple function, C<header>, that
> can be used to interact with these headers more easily. It is a
> general-purpose formatting function that does not do any
> content-specific handling (unlike C<CGI.pm>'s version). It is also
> proposed that an C<unheader> function be included which converts in the
> opposite direction.
While I'm not sure if this belongs in the core or not, I think it's nifty,
and I'd like to point out an almost inevitable side effect. Knowing well
the nature of Perl hackers, this function will almost certainly be used
for non-header tasks such as config files, as the data format used in most
plaintext headers is both simple and general. Add comment detection to
the parsing, f'rinstance, and this is quite similar to a Java Properties
file.
Useless comment, probably, but it sprung to mind.
~ j. // "The National Association of Theater Concessionaires
// reported that in 1986, 60% of all candy sold in movie
// theaters was sold to Roger Ebert." -- D. Letterman