Hi!
When I try to run one example in Sean M. Burke's book, an error ocurrs in this line:
my $resp = $browser->get('http://www.perl.com/', ':content_cb' => sub {
my ($data, $resp) = @_; ........
Error message says:
Unexpected field value CODE(0x812116c) at (eval 4) line 1.
When debugging inside HTTP::Request::Common in function called "_simple_req"
program fail in line:
$req->push_header($k,$v);
I suppose (0x812116c) is the function's address. The program is fine cause it's a book's example.
Thank you in advance.
Andres.
_________________________________________________________________
Charla con tus amigos en l�nea mediante MSN Messenger: http://messenger.microsoft.com/es
- Re: Strange error andres finlandes
- Re: Strange error David Busby
- Re: Strange error Sean M. Burke
- Re: Strange error Gisle Aas
- Re: Strange error andres finlandes
