Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=602703

--- Comment #6 from Petr Pisar <ppi...@redhat.com> 2010-06-15 07:28:38 EDT ---
Ok, the full working example is:


use HTTP::Parser;

my $parser = HTTP::Parser->new();
my @lines = ('GET / HTTP/1.1','Host: localhost','Connection: close','','');

my $result;
foreach my $line (@lines) {
  $result = $parser->add("$line\x0d\x0a");
  print "passing '$line' got '$result'\n";
}
print $parser->object->as_string();


There was missing `object' method call. Run `perldoc HTTP::Parser' for more
details. The example seems be written from scratch without testing.

I will correct it in distribution package not to mislead Fedora users.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to