RPC-XML
view release on metacpan or search on metacpan
etc/make_method view on Meta::CPAN
croak "Error opening $file.base for reading: $!\nStopped";
}
for my $line (@lines)
{
chomp $line;
# Skip blanks and comments
next if ($line =~ /^\s*(?:#.*)?$/);
# I'm using a horrendous if-else cascade to avoid moving the required
# version of Perl to 5.012 just for the "when" construct.
## no critic (ProhibitCascadingIfElse)
if ($line =~ /^name:\s+([\w.]+)$/i)
{
$attrs{name} = $1;
}
elsif ($line =~ /^namespace:\s+([\w.]+)$/i)
{
$attrs{namespace} = $1;
}
( run in 0.604 second using v1.01-cache-2.11-cpan-49f99fa48dc )