293 |
|
|
294 |
if ($out_type eq 'perl-pm') { |
if ($out_type eq 'perl-pm') { |
295 |
status_msg_ qq<Generating Perl module from <$mod_uri> for <$mod_for>...>; |
status_msg_ qq<Generating Perl module from <$mod_uri> for <$mod_for>...>; |
296 |
|
local $Message::Util::DIS::Perl::Implementation |
297 |
|
= $impl->get_feature (ExpandedURI q<Util:PerlCode> => '1.0'); |
298 |
my $pl = $mod->pl_generate_perl_module_file; |
my $pl = $mod->pl_generate_perl_module_file; |
299 |
status_msg qq<done>; |
status_msg qq<done>; |
300 |
|
|
483 |
sub dac_search_file_path_stem ($$$) { |
sub dac_search_file_path_stem ($$$) { |
484 |
my ($ns, $ln, $suffix) = @_; |
my ($ns, $ln, $suffix) = @_; |
485 |
require File::Spec; |
require File::Spec; |
486 |
for my $dir ('.', @{$Opt{input_search_path}->{$ns}||[]}) { |
for my $dir (@{$Opt{input_search_path}->{$ns}||[]}) { |
487 |
my $name = Cwd::abs_path |
my $name = Cwd::abs_path |
488 |
(File::Spec->canonpath |
(File::Spec->canonpath |
489 |
(File::Spec->catfile ($dir, $ln))); |
(File::Spec->catfile ($dir, $ln))); |
589 |
sub daf_generate_perl_test_file ($) { |
sub daf_generate_perl_test_file ($) { |
590 |
my $mod = shift; |
my $mod = shift; |
591 |
my $pc = $impl->get_feature (ExpandedURI q<Util:PerlCode> => '1.0'); |
my $pc = $impl->get_feature (ExpandedURI q<Util:PerlCode> => '1.0'); |
592 |
|
local $Message::Util::DIS::Perl::Implementation = $pc; |
593 |
my $pl = $pc->create_perl_file; |
my $pl = $pc->create_perl_file; |
594 |
my $pack = $pl->get_last_package ("Manakai::Test", make_new_package => 1); |
my $pack = $pl->get_last_package ("Manakai::Test", make_new_package => 1); |
595 |
$pack->add_use_perl_module_name ("Message::Util::DIS::Test"); |
$pack->add_use_perl_module_name ("Message::Util::DIS::Test"); |