libwww-perl / HTTP-Message

The HTTP-Message distribution contains classes useful for representing the messages passed in HTTP style communication.

Home Page:https://metacpan.org/pod/HTTP::Message

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP::Message::decodable should localise $@ [rt.cpan.org #116270]

oalders opened this issue · comments

Migrated from rt.cpan.org#116270 (status was 'open')

Requestors:

  • 'spro^^%^6ut#@&$%*c

From $_ = 'spro^^%^6ut#@&$�>#!^!#&!pan.org'; y/a-z.@//cd; print on 2016-07-18 06:21:49:


From $_ = 'spro^^%^6ut#@&$�>#!^!#&!pan.org'; y/a-z.@//cd; print on 2016-07-18 06:22:18:


The ticket had this comment with example code for version 6.11:

$ perl -MHTTP::Message -e '$m = new HTTP::Message; $@=57; $m->decodable; warn $@'
Warning: something's wrong at -e line 1.

It ate my 57!

Thanks -- that's much more helpful. 👍