Acme-MITHALDU-XSGrabBag
view release on metacpan or search on metacpan
inc/Inline.pm view on Meta::CPAN
Inline assumes '$file' is a filename,
and that file does not exist.
END
}
sub M08_no_DATA_source_code {
my ($lang) = @_;
return <<END;
No source code in DATA section for Inline '$lang' section.
END
}
sub M09_marker_mismatch {
my ($marker, $lang) = @_;
return <<END;
Marker '$marker' does not match Inline '$lang' section.
END
}
sub M10_usage_WITH_USING {
return <<END;
Config option WITH or USING must be a module name or an array ref
of module names.
END
}
sub M11_usage_DIRECTORY {
my ($value) = @_;
return <<END;
Invalid value '$value' for config option DIRECTORY
END
}
sub M12_usage_NAME {
my ($name) = @_;
return <<END;
Invalid value for NAME config option: '$name'
END
}
sub M13_usage_VERSION {
my ($version) = @_;
return <<END;
Invalid value for VERSION config option: '$version'
Must be of the form '#.##'.
(Should also be specified as a string rather than a floating point number)
END
}
sub M14_usage_Config {
return <<END;
As of Inline v0.30, use of the Inline::Config module is no longer supported
or allowed. If Inline::Config exists on your system, it can be removed. See
the Inline documentation for information on how to configure Inline.
END
}
sub M15_usage_install_directory {
return <<END;
Can't use the DIRECTORY option when installing an Inline extension module.
END
#'
}
sub M16_DIRECTORY_mkdir_failed {
my ($dir) = @_;
return <<END;
Can't mkdir $dir to build Inline code.
END
#'
}
sub M17_config_open_failed {
my ($dir) = @_;
my $file = File::Spec->catfile(${dir}, $configuration_file);
return <<END;
Can't open ${file} for input.
END
#'
}
sub M18_error_old_version {
my ($old_version, $directory) = @_;
$old_version ||= '???';
return <<END;
You are using Inline version $Inline::VERSION with a directory that was
configured by Inline version $old_version. This version is no longer supported.
Please delete the following directory and try again:
$directory
END
}
sub M19_usage_language {
my ($language, $directory) = @_;
require Config;
return <<END;
Error. You have specified '$language' as an Inline programming language.
I currently only know about the following languages:
${ defined $Inline::languages ?
\ join(', ', sort keys %$Inline::languages) : \ ''
}
If you have installed a support module for this language, try deleting the
config-${Config::Config{'archname'}}-$] file from the following Inline DIRECTORY, and run again:
$directory
(And if that works, please file a bug report.)
END
}
sub M20_config_creation_failed {
my ($dir) = @_;
my $file = File::Spec->catfile(${dir}, $configuration_file);
return <<END;
Failed to autogenerate ${file}.
END
}
sub M21_opendir_failed {
my ($dir) = @_;
return <<END;
Can't open directory '$dir'.
END
#'
}
sub M22_usage_register {
my ($language, $error) = @_;
return <<END;
The module Inline::$language does not support the Inline API, because it does
properly support the register() method. This module will not work with Inline
and should be uninstalled from your system. Please advise your sysadmin.
The following error was generating from this module:
$error
END
}
sub M23_usage_alias_used {
( run in 0.519 second using v1.01-cache-2.11-cpan-ff9377addf4 )