App-soapcli
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/App/soapcli.pm view on Meta::CPAN
The constructor which initializes the object based on C<@ARGV> variable or
based on array reference if I<argv> option is set.
=cut
sub new_with_options {
my ($class, %args) = @_;
my $argv = delete $args{argv};
local @ARGV = $argv ? @$argv : @ARGV;
my ($opts, $usage) = Getopt::Long::Descriptive::describe_options(
"$0 %o data.yml [http://schema | schema.url] [endpoint#port] [operation]",
[ 'verbose|v', 'verbose mode with messages trace', ],
[ 'dump-xml-request|x', 'dump request as XML document', ],
[ 'explain|e', 'explain webservice as Perl code', ],
[ 'help|h', 'print usage message and exit', ],
[ 'json|j', 'output result as JSON document', ],
[ 'yaml|y', 'output result as YAML document', ],
);
xt/cover.pl view on Meta::CPAN
use File::Spec;
use Cwd;
BEGIN {
chdir dirname(__FILE__) or die "$!";
chdir '..' or die "$!";
};
do "./Build.PL";
local @ARGV = (@ARGV, 'testcover');
do "./Build";
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.454 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )