Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 2ce51008d8cc771d9581a7b402fdc956 > files > 6

perl-SOAP-Transport-JABBER-0.713.0-9.mga7.noarch.rpm

#!perl -w
#!d:\perl\bin\perl.exe 

# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --

use SOAP::Lite;

# real user/passwords are used to give you a chance to try it out-of-the-box
# you may put your own user/password

my $s = SOAP::Lite
  -> proxy('jabber://soaplite_client:soapliteclient@jabber.org:5222/soaplite_server@jabber.org/')
;

my $r = $s->echo('Hello, Jabber world!');
print $r->fault ? $r->faultstring : $r->result;