#46 UNIVERSAL::can method no longer works


One cannot use the UNIVERSAL::can method for SOAP
objects (at leats not with HTTP transport).

See http://rt.cpan.org/NoAuth/Bug.html?id=6416


  • Nobody/Anonymous

    Demonstration of Problem

  • Nobody/Anonymous

    Logged In: NO

    Submitted by rrwo@cpan.org

  • Byrne Reese

    Byrne Reese - 2004-09-27

    Logged In: YES

    What version of Perl are you using? Please let me know so
    that this bug can be investigated or closed.

    Please note:
    There is a known bug in Perl 5.8 that prevents this from
    working. Try using dispatch_from instead:

    From the MAN page:
    +autodispatch doesn't work in Perl 5.8

    There is a bug in Perl 5.8's UNIVERSAL::AUTOLOAD
    functionality that prevents the +autodispatch functionality
    from working properly. The workaround is to use
    dispatch_from instead. Where you might normally do something
    like this:

    use Some::Module;
    use SOAP::Lite +autodispatch =>
    uri => 'urn:Foo'
    proxy => 'http://...';

    You would do something like this:

    use SOAP::Lite dispatch_from(Some::Module) =>
    uri => 'urn:Foo'
    proxy => 'http://...';

  • Martin Kutter

    Martin Kutter - 2007-10-05
    • assigned_to: byrnereese --> kutterma
    • status: open --> closed-invalid
  • Martin Kutter

    Martin Kutter - 2007-10-05

    Logged In: YES
    Originator: NO

    Cannot asses, as there's no information about the perl version in here.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks