#!/usr/bin/perl -w use strict; # -- Server # -- SOAP::Lite use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('HelloSOAPArray') -> handle; package HelloSOAPArray; sub doFuncFoo(%) { my ($class, $id, $first, $last, $in_arr) = @_; my $res = "ID: $id / $first $last "; foreach (@{$in_arr}) { $res .= "[$_] "; } my @arr = qw(); $arr[0] = 200; $arr[1] = $res; return \@arr; } __END__ Failed to access class (HelloSOAP): Can't locate HelloSOAP.pm in @INC (@INC contains:) at (eval 93) line 3.