Acme-Unicodify
view release on metacpan or search on metacpan
CODE_OF_CONDUCT.md view on Meta::CPAN
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
jmaslak@antelope.net.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
Takes an input string that has perhaps previously been produced
by `to_unicode` and translates the look-alike characters back
into 7 bit ASCII. Any other characters (Unicode or ASCII) are
passed through unchanged.
## file\_to\_unicode($infile, $outfile)
This method reads the file with the named passed as the first
argument, and produces a new output file with the name passed
as the second argument.
The routine will call `to_unicode` on the contents of the file.
Note this will overwrite existing files and it assumes the input
and output files are in UTF-8 encoding (or plain ASCII in the
case that no codepoints >127 are used).
This also assumes that there is sufficient memory to slurp the
entire contents of the file into memory.
## file\_back\_to\_ascii($infile, $outfile)
This method reads the file with the named passed as the first
argument, and produces a new output file with the name passed
as the second argument.
The routine will call `back_to_ascii` on the contents of the file.
Note this will overwrite existing files and it assumes the input
and output files are in UTF-8 encoding (or plain ASCII in the
case that no codepoints >127 are used).
# AUTHOR
Joelle Maslak <jmaslak@antelope.net>
Takes an input string that has perhaps previously been produced
by C<to_unicode> and translates the look-alike characters back
into 7 bit ASCII. Any other characters (Unicode or ASCII) are
passed through unchanged.
=head2 file_to_unicode($infile, $outfile)
This method reads the file with the named passed as the first
argument, and produces a new output file with the name passed
as the second argument.
The routine will call C<to_unicode> on the contents of the file.
Note this will overwrite existing files and it assumes the input
and output files are in UTF-8 encoding (or plain ASCII in the
case that no codepoints >127 are used).
This also assumes that there is sufficient memory to slurp the
entire contents of the file into memory.
=head2 file_back_to_ascii($infile, $outfile)
This method reads the file with the named passed as the first
argument, and produces a new output file with the name passed
as the second argument.
The routine will call C<back_to_ascii> on the contents of the file.
Note this will overwrite existing files and it assumes the input
and output files are in UTF-8 encoding (or plain ASCII in the
case that no codepoints >127 are used).
=head1 AUTHOR
Joelle Maslak <jmaslak@antelope.net>
lib/Acme/Unicodify.pm view on Meta::CPAN
Takes an input string that has perhaps previously been produced
by C<to_unicode> and translates the look-alike characters back
into 7 bit ASCII. Any other characters (Unicode or ASCII) are
passed through unchanged.
=head2 file_to_unicode($infile, $outfile)
This method reads the file with the named passed as the first
argument, and produces a new output file with the name passed
as the second argument.
The routine will call C<to_unicode> on the contents of the file.
Note this will overwrite existing files and it assumes the input
and output files are in UTF-8 encoding (or plain ASCII in the
case that no codepoints >127 are used).
This also assumes that there is sufficient memory to slurp the
entire contents of the file into memory.
=head2 file_back_to_ascii($infile, $outfile)
This method reads the file with the named passed as the first
argument, and produces a new output file with the name passed
as the second argument.
The routine will call C<back_to_ascii> on the contents of the file.
Note this will overwrite existing files and it assumes the input
and output files are in UTF-8 encoding (or plain ASCII in the
case that no codepoints >127 are used).
=head1 AUTHOR
Joelle Maslak <jmaslak@antelope.net>
t/00-report-prereqs.t view on Meta::CPAN
}
else {
$cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
my @full_reports;
my @dep_errors;
my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
# Add static includes into a fake section
for my $mod (@include) {
$req_hash->{other}{modules}{$mod} = 0;
}
for my $phase ( qw(configure build test runtime develop other) ) {
next unless $req_hash->{$phase};
next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
for my $type ( qw(requires recommends suggests conflicts modules) ) {
next unless $req_hash->{$phase}{$type};
( run in 0.657 second using v1.01-cache-2.11-cpan-39bf76dae61 )