Subject: | Not passing HEADERS parameter to new() causes 'usage' error |
Tested under perl 5.8.6 and perl 5.6.1 with latest release of libwww.
Not passing HEADERS or passing empty hashref to HEADERS in new() ( as per the example in the docs ), causes 'Usage: $h->header($field, ...) at (eval 101) line 1' error when clients connect to the component.
Managed to work around this 'feature' by passing HEADERS => { Server => 'Blah/3.0' }
Cheers.