in reply to Re^2: Resolving Prototype mismatch
in thread Resolving Prototype mismatch

Thanks for your reply. I'm not sure how to pick one when I need aspects of both modules.

Either you want the subroutine url from CGI or you want the subroutine url from URI::URL, you cannot have both under the name url

Both are available under their full name, URI::URL::url() and CGI::url()

Don't import subroutines you're not going to use

Don't import subroutines that use the same name as some other suroutine you've imported

You're using the CGI object-oriented interface, don't import :standard, it exports url into your namespace , among dozens of others function you don't use

Read Simple Module Tutorial

Replies are listed 'Best First'.
Re^4: Resolving Prototype mismatch
by marky1124 (Novice) on Aug 09, 2012 at 13:45 UTC

    Thank you, that's very helpful. I understand it all so much more thoroughly now.

    Cheers,
    Mark