Migrated from rt.cpan.org#99453 (status was 'open')
Requestors:
From $_ = 'spro^^%^6ut#@&$�>#!^!#&!pan.org'; y/a-z.@//cd; print on 2014-10-13 00:20:47:
From ether@cpan.org on 2014-10-13 00:42:13:
On Sun, Oct 12, 2014 at 08:20:47PM -0400, Father Chrysostomos via RT wrote:
> Output:
>
> Can't locate object method "port" via package "URI::file" at /System/Library/Perl/Extras/5.12/HTTP/Cookies.pm line 188.
>
> Should URI::file have a port method returning undef? Or should the ->port call be wrapped in an eval?
The latter, I think -- generally only specific URI subclasses implement the
interfaces relevant to them, with the expectation that caller uses ->can or
->isa on the $uri object first.