[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with libtext-header-perl



The following is (mostly) a series of cuts from Text::Header(3pm):

#!/usr/bin/perl -w

use Text::Header;

my @headers = ("Content-Type: text/html\n",
               "Author: Nathan Wiger\n",
               "Last-Modified: Wed Sep 27 13:31:06 PDT 2000\n",
               "Accept: text/html, text/plain\n");

my %myheaders = unheader(@headers);

When I try to run that:
grove@celine:dsdo% perl th-test.pl
Use of uninitialized value in pattern match (m//) at
/usr/share/perl5/Text/Header.pm line 68.
grove@celine:dsdo% 

Am I doing something wrong, or is this a bug? And if so which severity
should I give it?

.Henrik

-- 
Henrik Christian Grove
grove@sslug.dk
Student of Mathematics at the University of Copenhagen



Reply to: