Skip to content

extract_cookies croaks for file: addresses [rt.cpan.org #99453] #35

@oalders

Description

@oalders

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

Requestors:

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

From $_ = 'spro^^%^6ut#@&$�>#!^!#&!pan.org'; y/a-z.@//cd; print on 2014-10-13 00:20:47:


From [email protected] 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions