Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $soap = SOAP::Lite->uri('http://localhost/Test')->proxy('http://loc
    +alhost:8089/');
    
    print 'Returned: ', $soap->return1()->result(), "\n";
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
            -> new (LocalPort => 8089, Reuse => 1)
            -> dispatch_to('/opt/scripts/SOAP/lib')
            -> handle;
    
  3. or download this
    package Test;
    use DBI;
    sub return1 { return 1; }
    1;
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    ...
    use lib '/opt/scripts/SOAP/lib';
    use Test;
    print Test::return1(), "\n";