#46 UNIVERSAL::can method no longer works

0.60
closed-invalid
Martin Kutter
5
2007-10-05
2004-05-25
Anonymous
No

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

Discussion

  • Demonstration of Problem

     
    Attachments
  • Logged In: NO

    Submitted by rrwo@cpan.org

     
  • Byrne Reese
    Byrne Reese
    2004-09-27

    Logged In: YES
    user_id=28043

    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
    user_id=884175
    Originator: NO

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