view release on metacpan or search on metacpan
t/30log_1.t view on Meta::CPAN
's-action' => 'TCP_ERR_MISS',
'sc-status' => '503',
'cs-bytes' => '3100',
'cs-method' => 'GET',
'cs-uri' => 'http:// bug0bus0.free.fr/es_fichiers/tn_ak_01.jpg',
'cs-username' => 'CN=Tom BOMBADIL,OU=fr,O=tolkien',
's-hierarchy' => 'DIRECT',
'cs-supplier-name' => '-',
'cs-content-type' => '-',
'sc-filter-category' => 'Portal_Sites',
'user-agent' =>
view all matches for this distribution
view release on metacpan or search on metacpan
share/flot/jquery.js view on Meta::CPAN
// Used for detecting and trimming whitespace
core_rnotwhite = /\S/,
core_rspace = /\s+/,
// Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
// A simple way to check for HTML strings
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
rquickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
view all matches for this distribution
view release on metacpan or search on metacpan
(index($4, 'n') >= 0 ? ( nothxarg => 1 ) : ()),
} )
: die "invalid spec: $_" } qw(
AvFILLp|5.004050||p
AvFILL|||
BOM_UTF8|||
BhkDISABLE||5.024000|
BhkENABLE||5.024000|
BhkENTRY_set||5.024000|
BhkENTRY|||
BhkFLAGS|||
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Rex/JobControl/public/3rdparty/jquery-ui-1.11.1/external/jquery/jquery.js view on Meta::CPAN
core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
// Used for splitting on whitespace
core_rnotwhite = /\S+/g,
// Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
// A simple way to check for HTML strings
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
// Strict HTML recognition (#11290: must start with <)
view all matches for this distribution
view release on metacpan or search on metacpan
t/000-report-versions.t view on Meta::CPAN
return $self->_error("Did not provide a string to load");
}
# Byte order marks
# NOTE: Keeping this here to educate maintainers
# my %BOM = (
# "\357\273\277" => 'UTF-8',
# "\376\377" => 'UTF-16BE',
# "\377\376" => 'UTF-16LE',
# "\377\376\0\0" => 'UTF-32LE'
# "\0\0\376\377" => 'UTF-32BE',
# );
if ( $string =~ /^(?:\376\377|\377\376|\377\376\0\0|\0\0\376\377)/ ) {
return $self->_error("Stream has a non UTF-8 BOM");
} else {
# Strip UTF-8 bom if found, we'll just ignore it
$string =~ s/^\357\273\277//;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SBOM/CycloneDX.pm view on Meta::CPAN
package SBOM::CycloneDX;
use 5.010001;
use strict;
use warnings;
use utf8;
use Types::Standard qw(Str StrMatch Int Num InstanceOf HashRef);
use Types::TypeTiny qw(ArrayLike);
use SBOM::CycloneDX::Declarations;
use SBOM::CycloneDX::Definitions;
use SBOM::CycloneDX::Dependency;
use SBOM::CycloneDX::List;
use SBOM::CycloneDX::Metadata;
use SBOM::CycloneDX::Schema;
use SBOM::CycloneDX::Util qw(urn_uuid);
use List::Util qw(uniq);
use Moo;
use namespace::autoclean;
extends 'SBOM::CycloneDX::Base';
use constant JSON_SCHEMA_1_2 => 'http://cyclonedx.org/schema/bom-1.2b.schema.json';
use constant JSON_SCHEMA_1_3 => 'http://cyclonedx.org/schema/bom-1.3a.schema.json';
use constant JSON_SCHEMA_1_4 => 'http://cyclonedx.org/schema/bom-1.4.schema.json';
use constant JSON_SCHEMA_1_5 => 'http://cyclonedx.org/schema/bom-1.5.schema.json';
lib/SBOM/CycloneDX.pm view on Meta::CPAN
);
has version => (is => 'rw', isa => Int, default => 1);
has metadata =>
(is => 'rw', isa => InstanceOf ['SBOM::CycloneDX::Metadata'], default => sub { SBOM::CycloneDX::Metadata->new });
has components => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Component']],
default => sub { SBOM::CycloneDX::List->new }
);
has services => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Service']],
default => sub { SBOM::CycloneDX::List->new }
);
has external_references => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::ExternalReference']],
default => sub { SBOM::CycloneDX::List->new }
);
has dependencies => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Dependency']],
default => sub { SBOM::CycloneDX::List->new }
);
has compositions => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Composition']],
default => sub { SBOM::CycloneDX::List->new }
);
has vulnerabilities => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Vulnerability']],
default => sub { SBOM::CycloneDX::List->new }
);
has annotations => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Annotations']],
default => sub { SBOM::CycloneDX::List->new }
);
has formulation => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Formulation']],
default => sub { SBOM::CycloneDX::List->new }
);
has declarations => (
is => 'rw',
isa => InstanceOf ['SBOM::CycloneDX::Declarations'],
default => sub { SBOM::CycloneDX::Declarations->new }
);
has definitions => (
is => 'rw',
isa => InstanceOf ['SBOM::CycloneDX::Definitions'],
default => sub { SBOM::CycloneDX::Definitions->new }
);
has properties => (
is => 'rw',
isa => ArrayLike [InstanceOf ['SBOM::CycloneDX::Property']],
default => sub { SBOM::CycloneDX::List->new }
);
# TODO JSF (JSON Signature Format)
has signature => (is => 'rw', isa => HashRef, default => sub { {} });
sub validate { SBOM::CycloneDX::Schema->new(bom => shift)->validate }
sub add_dependency {
my ($self, $target, $depends_on) = @_;
lib/SBOM/CycloneDX.pm view on Meta::CPAN
}
if (not $exists) {
$self->dependencies->push(
SBOM::CycloneDX::Dependency->new(ref => $target_ref, depends_on => \@depends_on_refs));
}
# Add empty dependency entry if not exists "ref"
$self->add_dependency($_, []) for (@{$depends_on});
lib/SBOM/CycloneDX.pm view on Meta::CPAN
sub get_vulnerabilities_for_bom_ref {
my ($self, $bom_ref) = @_;
my $list = SBOM::CycloneDX::List->new;
foreach my $vulnerability (@{$self->vulnerabilities}) {
foreach my $affect (@{$vulnerability->affects}) {
$list->add($vulnerability) if $affect->ref eq $bom_ref;
}
lib/SBOM/CycloneDX.pm view on Meta::CPAN
sub get_affected_components_by_cve {
my ($self, $cve_id) = @_;
my $list = SBOM::CycloneDX::List->new;
foreach my $vulnerability (@{$self->vulnerabilities}) {
if ($vulnerability->id eq $cve_id) {
foreach my $affect (@{$vulnerability->affects}) {
$list->add($self->get_component_by_bom_ref($affect->ref));
lib/SBOM/CycloneDX.pm view on Meta::CPAN
=encoding utf-8
=head1 NAME
SBOM::CycloneDX - CycloneDX Perl Library
=head1 SYNOPSIS
my $bom = SBOM::CycloneDX->new;
my $root_component = SBOM::CycloneDX::Component->new(
type => 'application',
name => 'MyApp',
licenses => [SBOM::CycloneDX::License->new('Artistic-2.0')],
bom_ref => 'MyApp'
);
my $metadata = $bom->metadata;
$metadata->tools->add(cyclonedx_tool);
$metadata->component($root_component);
my $component1 = SBOM::CycloneDX::Component->new(
type => 'library',
name => 'some-component',
group => 'acme',
version => '1.33.7-beta.1',
licenses => [SBOM::CycloneDX::License->new(name => '(c) 2021 Acme inc.')],
bom_ref => 'myComponent@1.33.7-beta.1',
purl => URI::PackageURL->new(
type => 'generic',
namespace => 'acme',
name => 'some-component',
lib/SBOM/CycloneDX.pm view on Meta::CPAN
);
$bom->components->add($component1);
$bom->add_dependency($root_component, [$component1]);
my $component2 = SBOM::CycloneDX::Component->new(
type => 'library',
name => 'some-library',
licenses => [SBOM::CycloneDX::License->new(expression => 'GPL-3.0-only WITH Classpath-exception-2.0')],
bom_ref => 'some-lib',
);
$bom->components->add($component2);
$bom->add_dependency($root_component, [$component2]);
lib/SBOM/CycloneDX.pm view on Meta::CPAN
say $bom->to_string;
=head1 DESCRIPTION
L<SBOM::CycloneDX> is a library for generate valid CycloneDX BOM file.
CycloneDX is a modern standard for the software supply chain. At its core,
CycloneDX is a general-purpose Bill of Materials (BOM) standard capable of
representing software, hardware, services, and other types of inventory.
The CycloneDX standard began in 2017 in the Open Worldwide Application Security
Project (OWASP) community. CycloneDX is an OWASP flagship project, has a formal
standardization process and governance model, and is supported by the global
information security community.
lib/SBOM/CycloneDX.pm view on Meta::CPAN
CycloneDX provides advanced supply chain capabilities for cyber risk reduction. Among these capabilities are:
=over
=item Software Bill of Materials (SBOM)
=item Software-as-a-Service Bill of Materials (SaaSBOM)
=item Hardware Bill of Materials (HBOM)
=item Machine Learning Bill of Materials (ML-BOM)
=item Cryptography Bill of Materials (CBOM)
=item Operations Bill of Materials (OBOM)
=item Manufacturing Bill of Materials (MBOM)
=item Bill of Vulnerabilities (BOV)
=item Vulnerability Disclosure Report (VDR)
lib/SBOM/CycloneDX.pm view on Meta::CPAN
=head2 MODELS
=over
=item L<SBOM::CycloneDX>
=item L<SBOM::CycloneDX::Advisory>
=item L<SBOM::CycloneDX::Annotation>
=over
=item L<SBOM::CycloneDX::Annotation::Annotator>
=back
=item L<SBOM::CycloneDX::Attachment>
=item L<SBOM::CycloneDX::Component>
=over
=item L<SBOM::CycloneDX::Component::Commit>
=item L<SBOM::CycloneDX::Component::ConfidenceInterval>
=item L<SBOM::CycloneDX::Component::Diff>
=item L<SBOM::CycloneDX::Component::Graphic>
=item L<SBOM::CycloneDX::Component::GraphicsCollection>
=item L<SBOM::CycloneDX::Component::ModelCard>
=item L<SBOM::CycloneDX::Component::Patch>
=item L<SBOM::CycloneDX::Component::Pedigree>
=item L<SBOM::CycloneDX::Component::PerformanceMetric>
=item L<SBOM::CycloneDX::Component::QuantitativeAnalysis>
=item L<SBOM::CycloneDX::Component::SWID>
=back
=item L<SBOM::CycloneDX::CryptoProperties>
=over
=item L<SBOM::CycloneDX::CryptoProperties::AlgorithmProperties>
=item L<SBOM::CycloneDX::CryptoProperties::CertificateProperties>
=item L<SBOM::CycloneDX::CryptoProperties::CipherSuite>
=item L<SBOM::CycloneDX::CryptoProperties::Ikev2TransformType>
=item L<SBOM::CycloneDX::CryptoProperties::ProtocolProperties>
=item L<SBOM::CycloneDX::CryptoProperties::RelatedCryptoMaterialProperties>
=item L<SBOM::CycloneDX::CryptoProperties::SecuredBy>
=back
=item L<SBOM::CycloneDX::DataGovernance>
=item L<SBOM::CycloneDX::DataGovernanceResponsibleParty>
=item L<SBOM::CycloneDX::Declarations>
=over
=item L<SBOM::CycloneDX::Declarations::Affirmation>
=item L<SBOM::CycloneDX::Declarations::Assessor>
=item L<SBOM::CycloneDX::Declarations::Attestation>
=item L<SBOM::CycloneDX::Declarations::Claim>
=item L<SBOM::CycloneDX::Declarations::Confidence>
=item L<SBOM::CycloneDX::Declarations::Conformance>
=item L<SBOM::CycloneDX::Declarations::Contents>
=item L<SBOM::CycloneDX::Declarations::Data>
=item L<SBOM::CycloneDX::Declarations::Evidence>
=item L<SBOM::CycloneDX::Declarations::Map>
=item L<SBOM::CycloneDX::Declarations::Signatory>
=item L<SBOM::CycloneDX::Declarations::Targets>
=back
=item L<SBOM::CycloneDX::Definitions>
=item L<SBOM::CycloneDX::Dependency>
=item L<SBOM::CycloneDX::ExternalReference>
=item L<SBOM::CycloneDX::Formulation>
=item L<SBOM::CycloneDX::Hash>
=item L<SBOM::CycloneDX::IdentifiableAction>
=item L<SBOM::CycloneDX::Issue>
=over
=item L<SBOM::CycloneDX::Issue::Source>
=back
=item L<SBOM::CycloneDX::License>
=over
=item L<SBOM::CycloneDX::License::Licensee>
=item L<SBOM::CycloneDX::License::Licensing>
=item L<SBOM::CycloneDX::License::Licensor>
=item L<SBOM::CycloneDX::License::Purchaser>
=back
=item L<SBOM::CycloneDX::Metadata>
=item L<SBOM::CycloneDX::Metadata::Lifecycle>
=item L<SBOM::CycloneDX::Note>
=item L<SBOM::CycloneDX::OrganizationalContact>
=item L<SBOM::CycloneDX::OrganizationalEntity>
=item L<SBOM::CycloneDX::PostalAddress>
=item L<SBOM::CycloneDX::Property>
=item L<SBOM::CycloneDX::ReleaseNotes>
=item L<SBOM::CycloneDX::Schema>
=item L<SBOM::CycloneDX::Service>
=item L<SBOM::CycloneDX::Standard>
=over
=item L<SBOM::CycloneDX::Standard::Level>
=item L<SBOM::CycloneDX::Standard::Requirement>
=back
=item L<SBOM::CycloneDX::Tool>
=item L<SBOM::CycloneDX::Tools>
=item L<SBOM::CycloneDX::Version>
=item L<SBOM::CycloneDX::Vulnerability>
=over
=item L<SBOM::CycloneDX::Vulnerability::Affect>
=item L<SBOM::CycloneDX::Vulnerability::Analysis>
=item L<SBOM::CycloneDX::Vulnerability::Credits>
=item L<SBOM::CycloneDX::Vulnerability::ProofOfConcept>
=item L<SBOM::CycloneDX::Vulnerability::Rating>
=item L<SBOM::CycloneDX::Vulnerability::Reference>
=item L<SBOM::CycloneDX::Vulnerability::Source>
=back
=back
=head3 HELPERS
=over
=item L<SBOM::CycloneDX::BomRef>
=item L<SBOM::CycloneDX::Enum>
=item L<SBOM::CycloneDX::List>
=item L<SBOM::CycloneDX::Timestamp>
=item L<SBOM::CycloneDX::Util>
=back
=head2 METHODS
L<SBOM::CycloneDX> inherits all methods from L<SBOM::CycloneDX::Base>
and implements the following new ones.
=over
=item SBOM::CycloneDX->new( %PARAMS )
=item $bom->version
Whenever an existing BOM is modified, either manually or through
automated processes, the version of the BOM SHOULD be
incremented by 1. When a system is presented with multiple BOMs
with identical serial numbers, the system SHOULD use the most
recent version of the BOM. The default version is '1'.
=item $bom->metadata
Provides additional information about a BOM.
See L<SBOM::CycloneDX::Metadata>.
=item $bom->components
A list of software and hardware components.
$bom->components->add($component);
See L<SBOM::CycloneDX::Component>.
=item $sbom->services
A list of services. This may include microservices, function-as-a-
service, and other types of network or intra-process services.
$bom->services->add($service);
See L<SBOM::CycloneDX::Service>.
=item $bom->external_references
External references provide a way to document systems, sites, and
information that may be relevant but are not included with the BOM.
They may also establish specific relationships within or external to the
BOM.
$bom->external_references->add($external_reference);
See L<SBOM::CycloneDX::ExternalReferences>.
=item $bom->dependencies
Provides the ability to document dependency relationships including
provided & implemented components.
lib/SBOM/CycloneDX.pm view on Meta::CPAN
# or
$bom->add_dependency($parent_component, [$component1, component2])
See L<SBOM::CycloneDX::Dependency>.
=item $bom->compositions
Compositions describe constituent parts (including components,
services, and dependency relationships) and their completeness. The
completeness of vulnerabilities expressed in a BOM may also be
described.
$bom->compositions->add($composition);
See L<SBOM::CycloneDX::Composition>.
=item $bom->vulnerabilities
Vulnerabilities identified in components or services.
$bom->vulnerabilities->add($vulnerability);
See L<SBOM::CycloneDX::Vulnerability>.
=item $bom->annotations
Comments made by people, organizations, or tools about any object
with a bom-ref, such as components, services, vulnerabilities, or the
BOM itself. Unlike inventory information, annotations may contain
opinions or commentary from various stakeholders. Annotations may
be inline (with inventory) or externalized via BOM-Link and may
optionally be signed.
$bom->annotations->add($annotation);
See L<SBOM::CycloneDX::Annotation>.
=item $bom->formulation
Describes how a component or service was manufactured or
deployed. This is achieved through the use of formulas, workflows,
lib/SBOM/CycloneDX.pm view on Meta::CPAN
with the observed formulas describing the steps which transpired in the
manufacturing process.
$bom->formulation->add($formulation);
See L<SBOM::CycloneDX::Formulation>.
=item $bom->declarations
The list of declarations which describe the conformance to standards.
Each declaration may include attestations, claims, and evidence.
See L<SBOM::CycloneDX::Declarations>.
=item $bom->definitions
A collection of reusable objects that are defined and may be used
elsewhere in the BOM.
$bom->definitions->add($definition);
See L<SBOM::CycloneDX::Definition>.
=item $bom->properties
Provides the ability to document properties in a name-value store. This
provides flexibility to include data not officially supported in the
lib/SBOM/CycloneDX.pm view on Meta::CPAN
Formal registration is optional.
$bom->definitions->add($property);
See L<SBOM::CycloneDX::Property>.
=item $bom->signature
Enveloped signature in JSON Signature Format (JSF) L<https://cyberphone.github.io/doc/security/jsf.html>.
lib/SBOM/CycloneDX.pm view on Meta::CPAN
say "Found component with $purl PURL";
}
=item $bom->get_component_by_bom_ref($ref)
Return the component with specific BOM-Ref string.
if ($bom->get_component_by_bom_ref($bom_ref)) {
say "Found component with $bom_ref BOM-Ref";
}
=item $bom->get_vulnerabilities_for_bom_ref($bom_ref)
Return L<SBOM::CycloneDX::List> with a list of vulnerabilities with the same C<bom_ref>.
=item $bom->get_affected_components_by_cve ($cve_id)
Return L<SBOM::CycloneDX::List> with a list of components affected with the same C<cve_id>.
say $_->bom_ref for($bom->get_affected_components_by_cve('CVE-2025-1234')->list);
=item $bom->validate
Validates BOM file with the JSON Schema and return the L<JSON::Validator> errors.
my @errors = $bom->validate;
if (@errors) {
say $_ for @errors;
Carp::croak "Invalid BOM";
}
See L<SBOM::CycloneDX::Schema>.
=item $bom->to_string
Encode in JSON.
lib/SBOM/CycloneDX.pm view on Meta::CPAN
=head1 SUPPORT
=head2 Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker
at L<https://github.com/giterlizzi/perl-SBOM-CycloneDX/issues>.
You will be notified automatically of any progress on your issue.
=head2 Source Code
This is open source software. The code repository is available for
public review and contribution under the terms of the license.
L<https://github.com/giterlizzi/perl-SBOM-CycloneDX>
git clone https://github.com/giterlizzi/perl-SBOM-CycloneDX.git
=head1 AUTHOR
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
* 2.408 Sun June 13 2010
- Added File::ShareDir as a dep
- TODO'd temporary test cases
* 2.407 Wed June 02 2010
- Minor fix on BOM marks in test files
* 2.406 Tues May 18 2010
- Fixed SDL::Video::list_modes(), it returns now arrayref to SDL::Rects [FROGGS]
- Updated docs [Blaizer]
- Removed deprecated modules [kthakore, FROGGS]
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SDL2/TTF.pm view on Meta::CPAN
( SDL_TTF_COMPILEDVERSION() >= SDL_VERSIONNUM( $X, $Y, $Z ) )
}
]
];
attach ttf => { TTF_Linked_Version => [ [], 'SDL_Version' ] };
define ttf => [ [ UNICODE_BOM_NATIVE => 0xFEFF ], [ UNICODE_BOM_SWAPPED => 0xFFFE ] ];
package SDL2::TTF::Font {
use SDL2::Utils;
our $TYPE = has();
};
lib/SDL2/TTF.pm view on Meta::CPAN
These functions deal with L<SDL2::TTF::Font> and global attributes.
=head2 C<TTF_ByteSwappedUNICODE( ... )>
This function tells C<SDL_ttf> whether UNICODE (Uint16 per character) text is
generally byteswapped. A B<UNICODE_BOM_NATIVE> or B<UNICODE_BOM_SWAPPED>
character in a string will temporarily override this setting for the remainder
of that string, however this setting will be restored for the next one. The
default mode is non-swapped, native endianness of the CPU.
# Turn on byte swapping for UNICODE text
lib/SDL2/TTF.pm view on Meta::CPAN
=item C<TTF_PATCHLEVEL>
SDL_ttf library patch level at compilation time.
=item C<UNICODE_BOM_NATIVE>
This allows you to switch byte-order of UNICODE text data to native order,
meaning the mode of your CPU. This is meant to be used in a UNICODE string that
you are using with the SDL_ttf API.
=item C<UNICODE_BOM_SWAPPED>
This allows you to switch byte-order of UNICODE text data to swapped order,
meaning the reversed mode of your CPU. So if your CPU is LSB, then the data
will be interpreted as MSB. This is meant to be used in a UNICODE string that
you are using with the SDL_ttf API.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SIL/Shoe/Control.pm view on Meta::CPAN
}
$self->{' INFILE'} = $fh;
$self->{' fname'} = $file;
open($fh, "$file") and ($_ = <$fh>);
s/^\xEF\xBB\xBF//o; # BOM in UTF8
chomp;
if (m/^\\\+(\S+)\s+(.*?)\s*$/o)
{ $self->{'name'} = $2; }
else
{ croak("Malformed database type file ($file)"); }
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libfax-hylafax-client-perl", "Fax-Hylafax-Client", "1.02", "0", "0"
"libfcgi-perl", "FCGI", "0.71", "1", "1"
"libfcgi-procmanager-perl", "FCGI-ProcManager", "0.19", "0", "0"
"libfeed-find-perl", "Feed-Find", "0.07", "0", "1"
"libfile-basedir-perl", "File-BaseDir", "0.03", "0", "1"
"libfile-bom-perl", "File-BOM", "0.14", "0", "0"
"libfile-changenotify-perl", "File-ChangeNotify", "0.20", "0", "0"
"libfile-chmod-perl", "File-chmod", "0.32", "0", "0"
"libfile-copy-link-perl", "File-Copy-Link", "0.112", "0", "0"
"libfile-copy-recursive-perl", "File-Copy-Recursive", "0.38", "1", "0"
"libfile-counterfile-perl", "File-CounterFile", "1.04", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
t/000-report-versions.t view on Meta::CPAN
return $self->_error("Did not provide a string to load");
}
# Byte order marks
# NOTE: Keeping this here to educate maintainers
# my %BOM = (
# "\357\273\277" => 'UTF-8',
# "\376\377" => 'UTF-16BE',
# "\377\376" => 'UTF-16LE',
# "\377\376\0\0" => 'UTF-32LE'
# "\0\0\376\377" => 'UTF-32BE',
# );
if ( $string =~ /^(?:\376\377|\377\376|\377\376\0\0|\0\0\376\377)/ ) {
return $self->_error("Stream has a non UTF-8 BOM");
} else {
# Strip UTF-8 bom if found, we'll just ignore it
$string =~ s/^\357\273\277//;
}
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libfax-hylafax-client-perl", "Fax-Hylafax-Client", "1.02", "0", "0"
"libfcgi-perl", "FCGI", "0.71", "1", "1"
"libfcgi-procmanager-perl", "FCGI-ProcManager", "0.19", "0", "0"
"libfeed-find-perl", "Feed-Find", "0.07", "0", "1"
"libfile-basedir-perl", "File-BaseDir", "0.03", "0", "1"
"libfile-bom-perl", "File-BOM", "0.14", "0", "0"
"libfile-changenotify-perl", "File-ChangeNotify", "0.20", "0", "0"
"libfile-chmod-perl", "File-chmod", "0.32", "0", "0"
"libfile-copy-link-perl", "File-Copy-Link", "0.112", "0", "0"
"libfile-copy-recursive-perl", "File-Copy-Recursive", "0.38", "1", "0"
"libfile-counterfile-perl", "File-CounterFile", "1.04", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
t/000-report-versions.t view on Meta::CPAN
return $self->_error("Did not provide a string to load");
}
# Byte order marks
# NOTE: Keeping this here to educate maintainers
# my %BOM = (
# "\357\273\277" => 'UTF-8',
# "\376\377" => 'UTF-16BE',
# "\377\376" => 'UTF-16LE',
# "\377\376\0\0" => 'UTF-32LE'
# "\0\0\376\377" => 'UTF-32BE',
# );
if ( $string =~ /^(?:\376\377|\377\376|\377\376\0\0|\0\0\376\377)/ ) {
return $self->_error("Stream has a non UTF-8 BOM");
} else {
# Strip UTF-8 bom if found, we'll just ignore it
$string =~ s/^\357\273\277//;
}
view all matches for this distribution
view release on metacpan or search on metacpan
Version => $rhost->{snmpversion},
Timeout => $multi->{Timeout} * 1e6,
Retries => $multi->{Retries},
TimeStamp => $multi->{TimeStamp},
#UseNumeric => $multi->{UseNumeric},
# UseNumeric BOMBS PERL CORE !!!
UseNumeric => 0,
);
# Give up on this particular request for now. At some point in
# the future, we should probably flag the session as failed, and
view all matches for this distribution
view release on metacpan or search on metacpan
NPAdmin/MIBs/Printer-MIB.txt view on Meta::CPAN
significant octet first) or Little Endian (least
significant octet first) order. Intel x86, VAX, and
Alpha/AXP architectures are examples of Little Endian
processor architectures. Furthermore, in environments
where either order may occur, so-called Unicode BYTE
ORDER MARK (BOM) character (which is ISO 10646 ZERO
WIDTH NO BREAK SPACE), coded as FEFF in two octets and
0000FEFF in four octets is used at the beginning of the
data as a signature to indicate the order of the
following data (See ISO 10646 Annex F). Thus either
ordering and BOM may occur in print data streams sent to
the interpreter. However, ISO 8824/8825 (ASN.1/BER)
used by SNMP is quite clear that Big Endian order shall
be used and BOM shall NOT be used in transmission in the
protocol. Transmitting Unicode in Big Endian order in
SNMP should not prove to be a hardship for Little Endian
machines, since SNMP ASN.1/BER requires integers to be
transmitted in Big Endian order as well. So SNMP
implementations on Little Endian machines are already
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libfax-hylafax-client-perl", "Fax-Hylafax-Client", "1.02", "0", "0"
"libfcgi-perl", "FCGI", "0.71", "1", "1"
"libfcgi-procmanager-perl", "FCGI-ProcManager", "0.19", "0", "0"
"libfeed-find-perl", "Feed-Find", "0.07", "0", "1"
"libfile-basedir-perl", "File-BaseDir", "0.03", "0", "1"
"libfile-bom-perl", "File-BOM", "0.14", "0", "0"
"libfile-changenotify-perl", "File-ChangeNotify", "0.20", "0", "0"
"libfile-chmod-perl", "File-chmod", "0.32", "0", "0"
"libfile-copy-link-perl", "File-Copy-Link", "0.112", "0", "0"
"libfile-copy-recursive-perl", "File-Copy-Recursive", "0.38", "1", "0"
"libfile-counterfile-perl", "File-CounterFile", "1.04", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libfax-hylafax-client-perl", "Fax-Hylafax-Client", "1.02", "0", "0"
"libfcgi-perl", "FCGI", "0.69", "0", "1"
"libfcgi-procmanager-perl", "FCGI-ProcManager", "0.18", "0", "0"
"libfeed-find-perl", "Feed-Find", "0.06", "0", "0"
"libfile-basedir-perl", "File-BaseDir", "0.03", "0", "1"
"libfile-bom-perl", "File-BOM", "0.14", "0", "0"
"libfile-changenotify-perl", "File-ChangeNotify", "0.12", "1", "0"
"libfile-chmod-perl", "File-chmod", "0.32", "0", "0"
"libfile-copy-link-perl", "File-Copy-Link", "0.112", "0", "0"
"libfile-copy-recursive-perl", "File-Copy-Recursive", "0.38", "0", "0"
"libfile-counterfile-perl", "File-CounterFile", "1.04", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libfax-hylafax-client-perl", "Fax-Hylafax-Client", "1.02", "0", "0"
"libfcgi-perl", "FCGI", "0.69", "0", "1"
"libfcgi-procmanager-perl", "FCGI-ProcManager", "0.18", "0", "0"
"libfeed-find-perl", "Feed-Find", "0.06", "0", "0"
"libfile-basedir-perl", "File-BaseDir", "0.03", "0", "1"
"libfile-bom-perl", "File-BOM", "0.14", "0", "0"
"libfile-changenotify-perl", "File-ChangeNotify", "0.12", "1", "0"
"libfile-chmod-perl", "File-chmod", "0.32", "0", "0"
"libfile-copy-link-perl", "File-Copy-Link", "0.112", "0", "0"
"libfile-copy-recursive-perl", "File-Copy-Recursive", "0.38", "0", "0"
"libfile-counterfile-perl", "File-CounterFile", "1.04", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libfax-hylafax-client-perl", "Fax-Hylafax-Client", "1.02", "0", "0"
"libfcgi-perl", "FCGI", "0.69", "0", "1"
"libfcgi-procmanager-perl", "FCGI-ProcManager", "0.18", "0", "0"
"libfeed-find-perl", "Feed-Find", "0.06", "0", "0"
"libfile-basedir-perl", "File-BaseDir", "0.03", "0", "1"
"libfile-bom-perl", "File-BOM", "0.14", "0", "0"
"libfile-changenotify-perl", "File-ChangeNotify", "0.12", "1", "0"
"libfile-chmod-perl", "File-chmod", "0.32", "0", "0"
"libfile-copy-link-perl", "File-Copy-Link", "0.112", "0", "0"
"libfile-copy-recursive-perl", "File-Copy-Recursive", "0.38", "0", "0"
"libfile-counterfile-perl", "File-CounterFile", "1.04", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SOAP/WSDL/Manual/WS_I.pod view on Meta::CPAN
=head1 RULES NOT CONFIRMED
=head2 R4001
A RECEIVER MUST accept messages that include the Unicode Byte Order Mark
(BOM).
May automatically work with XML::Parser::Expat, but is not tested yet.
TODO write test. If not confirmed, add encoding support.
lib/SOAP/WSDL/Manual/WS_I.pod view on Meta::CPAN
This is rather hard-wired and does not allow one to specify a wsdl:import without
a resolvable location in SOAP::WSDL.
=head2 R4002
A DESCRIPTION MAY include the Unicode Byte Order Mark (BOM).
TODO Test.
=head2 R4003
lib/SOAP/WSDL/Manual/WS_I.pod view on Meta::CPAN
SOAP::WSDL has no means of generating WSDL definitions.
=head2 R2009
An XML Schema directly or indirectly imported by a DESCRIPTION MAY include
the Unicode Byte Order Mark (BOM).
SOAP::WSDL has no means of generating WSDL definitions.
=head2 R2010
view all matches for this distribution
view release on metacpan or search on metacpan
inc/inc_Module-Build/Module/Build/YAML.pm view on Meta::CPAN
return $self->_error("Did not provide a string to load");
}
# Byte order marks
# NOTE: Keeping this here to educate maintainers
# my %BOM = (
# "\357\273\277" => 'UTF-8',
# "\376\377" => 'UTF-16BE',
# "\377\376" => 'UTF-16LE',
# "\377\376\0\0" => 'UTF-32LE'
# "\0\0\376\377" => 'UTF-32BE',
# );
if ( $string =~ /^(?:\376\377|\377\376|\377\376\0\0|\0\0\376\377)/ ) {
return $self->_error("Stream has a non UTF-8 BOM");
} else {
# Strip UTF-8 bom if found, we'll just ignore it
$string =~ s/^\357\273\277//;
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/file/simple-cert.cert.pem view on Meta::CPAN
b0xbXTb74F4ZGh9OCKsdmv7cEd0uoymSPfYV4b9ElZODDmdcxIaMlURoSpfymWjm
tarUEEnqRBcAF98uZDkSWyb6XCSgIQl5UXTq83OHOcfKz0fwxBYQkmShvsj3B2Yz
oKB0SLoL8817Bk0S43siUATw/kZy1IEKvRyPx3c7/bPWKJNjLy9WTUfJnBOokC9P
brRIa78UbMrWTecZPt7w9P5drpIxf1EF0kftU7CAc+9WzUR6zk25eazoQOGOr9RS
mTeLZ/PAgNHg74x53788kIi7BaXVCGAxizfjN9zPLXh+ei00o3DA/iCutIK7DVTM
50dDAgMBAAGjUDBOMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcD
AQYIKwYBBQUHAwIwHQYDVR0OBBYEFPl992/b30DjpLEjuKEXZYn8elv1MAsGCSqG
SIb3DQEBCwOCAQEAf4AukrDG9wiJ0sEmYeqnlKGQ1fBSteLIKDBKy+cOPmatdtPb
NU2Cf9RU76Cf8wm71LRo/vDbuRs6NFTZxl3BOndamg/4Dyel+M6bMDm/53xDsqXm
Fx+NadtdwZE/nXVPQbqbn26WG03tXIajbPgrLcyPtY+NM67RTlyYLE+L7PN8l6C/
jZjeZ9cUxNYMeSatQTBhXuCwx1nokghx6p9w6KoT5NILgjf0nDpVIxWOcW25HCfn
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SPVM/Mozilla/CA.spvm view on Meta::CPAN
-----END CERTIFICATE-----
Buypass Class 2 Root CA
=======================
-----BEGIN CERTIFICATE-----
MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU
QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMiBSb290IENBMB4X
DTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1owTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1
eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIw
DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1
g1Lr6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPVL4O2fuPn
lib/SPVM/Mozilla/CA.spvm view on Meta::CPAN
-----END CERTIFICATE-----
Buypass Class 3 Root CA
=======================
-----BEGIN CERTIFICATE-----
MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU
QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMyBSb290IENBMB4X
DTEwMTAyNjA4Mjg1OFoXDTQwMTAyNjA4Mjg1OFowTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1
eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDMgUm9vdCBDQTCCAiIw
DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKXaCpUWUOOV8l6ddjEGMnqb8RB2uACatVI2zSRH
sJ8YZLya9vrVediQYkwiL944PdbgqOkcLNt4EemOaFEVcsfzM4fkoF0LXOBXByow9c3EN3coTRiR
lib/SPVM/Mozilla/CA.spvm view on Meta::CPAN
-----END CERTIFICATE-----
DigiCert TLS ECC P384 Root G5
=============================
-----BEGIN CERTIFICATE-----
MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQswCQYDVQQGEwJV
UzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURpZ2lDZXJ0IFRMUyBFQ0MgUDM4
NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2MDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMx
FzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQg
Um9vdCBHNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1Tzvd
lHJS7cI7+Oz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp0zVozptj
lib/SPVM/Mozilla/CA.spvm view on Meta::CPAN
-----END CERTIFICATE-----
SSL.com TLS RSA Root CA 2022
============================
-----BEGIN CERTIFICATE-----
MIIFiTCCA3GgAwIBAgIQb77arXO9CEDii02+1PdbkTANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQG
EwJVUzEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMSUwIwYDVQQDDBxTU0wuY29tIFRMUyBSU0Eg
Um9vdCBDQSAyMDIyMB4XDTIyMDgyNTE2MzQyMloXDTQ2MDgxOTE2MzQyMVowTjELMAkGA1UEBhMC
VVMxGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjElMCMGA1UEAwwcU1NMLmNvbSBUTFMgUlNBIFJv
b3QgQ0EgMjAyMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANCkCXJPQIgSYT41I57u
9nTPL3tYPc48DRAokC+X94xI2KDYJbFMsBFMF3NQ0CJKY7uB0ylu1bUJPiYYf7ISf5OYt6/wNr/y
lib/SPVM/Mozilla/CA.spvm view on Meta::CPAN
-----END CERTIFICATE-----
SSL.com TLS ECC Root CA 2022
============================
-----BEGIN CERTIFICATE-----
MIICOjCCAcCgAwIBAgIQFAP1q/s3ixdAW+JDsqXRxDAKBggqhkjOPQQDAzBOMQswCQYDVQQGEwJV
UzEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMSUwIwYDVQQDDBxTU0wuY29tIFRMUyBFQ0MgUm9v
dCBDQSAyMDIyMB4XDTIyMDgyNTE2MzM0OFoXDTQ2MDgxOTE2MzM0N1owTjELMAkGA1UEBhMCVVMx
GDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjElMCMGA1UEAwwcU1NMLmNvbSBUTFMgRUNDIFJvb3Qg
Q0EgMjAyMjB2MBAGByqGSM49AgEGBSuBBAAiA2IABEUpNXP6wrgjzhR9qLFNoFs27iosU8NgCTWy
JGYmacCzldZdkkAZDsalE3D07xJRKF3nzL35PIXBz5SQySvOkkJYWWf9lCcQZIxPBLFNSeR7T5v1
view all matches for this distribution
view release on metacpan or search on metacpan
t/file/simple-cert.cert.pem view on Meta::CPAN
b0xbXTb74F4ZGh9OCKsdmv7cEd0uoymSPfYV4b9ElZODDmdcxIaMlURoSpfymWjm
tarUEEnqRBcAF98uZDkSWyb6XCSgIQl5UXTq83OHOcfKz0fwxBYQkmShvsj3B2Yz
oKB0SLoL8817Bk0S43siUATw/kZy1IEKvRyPx3c7/bPWKJNjLy9WTUfJnBOokC9P
brRIa78UbMrWTecZPt7w9P5drpIxf1EF0kftU7CAc+9WzUR6zk25eazoQOGOr9RS
mTeLZ/PAgNHg74x53788kIi7BaXVCGAxizfjN9zPLXh+ei00o3DA/iCutIK7DVTM
50dDAgMBAAGjUDBOMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcD
AQYIKwYBBQUHAwIwHQYDVR0OBBYEFPl992/b30DjpLEjuKEXZYn8elv1MAsGCSqG
SIb3DQEBCwOCAQEAf4AukrDG9wiJ0sEmYeqnlKGQ1fBSteLIKDBKy+cOPmatdtPb
NU2Cf9RU76Cf8wm71LRo/vDbuRs6NFTZxl3BOndamg/4Dyel+M6bMDm/53xDsqXm
Fx+NadtdwZE/nXVPQbqbn26WG03tXIajbPgrLcyPtY+NM67RTlyYLE+L7PN8l6C/
jZjeZ9cUxNYMeSatQTBhXuCwx1nokghx6p9w6KoT5NILgjf0nDpVIxWOcW25HCfn
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SPVM/Resource/RE2.native/src/CMakeLists.txt view on Meta::CPAN
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()
# CMake defaults to /W3, but some users like /W4 (or /Wall) and /WX,
# so we disable various warnings that aren't particularly helpful.
add_compile_options(/wd4100 /wd4201 /wd4456 /wd4457 /wd4702 /wd4815)
# Without a byte order mark (BOM), Visual Studio assumes that the source
# file is encoded using the current user code page, so we specify UTF-8.
add_compile_options(/utf-8)
endif()
if(WIN32)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SPVM/Resource/Re2/V2022_06_01.native/src/CMakeLists.txt view on Meta::CPAN
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()
# CMake defaults to /W3, but some users like /W4 (or /Wall) and /WX,
# so we disable various warnings that aren't particularly helpful.
add_compile_options(/wd4100 /wd4201 /wd4456 /wd4457 /wd4702 /wd4815)
# Without a byte order mark (BOM), Visual Studio assumes that the source
# file is encoded using the current user code page, so we specify UTF-8.
add_compile_options(/utf-8)
endif()
if(WIN32)
view all matches for this distribution
view release on metacpan or search on metacpan
BOL_t8_p8|5.033003||Viu
BOL_t8_pb|5.033003||Viu
BOL_tb|5.035004||Viu
BOL_tb_p8|5.033003||Viu
BOL_tb_pb|5.033003||Viu
BOM_UTF8|5.025005|5.003007|p
BOM_UTF8_FIRST_BYTE|5.019004||Viu
BOM_UTF8_TAIL|5.019004||Viu
boolSV|5.004000|5.003007|p
boot_core_builtin|5.035007||Viu
boot_core_mro|5.009005||Viu
boot_core_PerlIO|5.007002||Viu
boot_core_UNIVERSAL|5.003007||Viu
#endif
#endif
#if 'A' == 65
#ifndef BOM_UTF8
# define BOM_UTF8 "\xEF\xBB\xBF"
#endif
#ifndef REPLACEMENT_CHARACTER_UTF8
# define REPLACEMENT_CHARACTER_UTF8 "\xEF\xBF\xBD"
#endif
#elif '^' == 95
#ifndef BOM_UTF8
# define BOM_UTF8 "\xDD\x73\x66\x73"
#endif
#ifndef REPLACEMENT_CHARACTER_UTF8
# define REPLACEMENT_CHARACTER_UTF8 "\xDD\x73\x73\x71"
#endif
#elif '^' == 176
#ifndef BOM_UTF8
# define BOM_UTF8 "\xDD\x72\x65\x72"
#endif
#ifndef REPLACEMENT_CHARACTER_UTF8
# define REPLACEMENT_CHARACTER_UTF8 "\xDD\x72\x72\x70"
#endif
view all matches for this distribution
view release on metacpan or search on metacpan
images/base.svg view on Meta::CPAN
style="font-size:12px;font-family:MyriadPro-Regular">Hello World with Unicode öäü</text>
<image
y="106.71383"
x="37.274422"
id="MyImage"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAIAAADwf7zUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4O...
preserveAspectRatio="none"
height="302.29517"
width="303.68573" /><text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:Sans;-inkscape-font-specification:Helvetica;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:no...
view all matches for this distribution
view release on metacpan or search on metacpan
eg/tree_of_life.pl view on Meta::CPAN
"Lepidoptera",
[
"GALLERIA*",
"MANDUCA*",
[
" BOMBYCOIDEA",
[
"BOMBYX_MANDARINA",
"BOMBYX_MORI",
"HYALOPHORA*"
],
[
"ANTHERAEA_PERNYI",
"ANTHERAEA_YAMAMAI"
view all matches for this distribution
view release on metacpan or search on metacpan
t/000-report-versions.t view on Meta::CPAN
return $self->_error("Did not provide a string to load");
}
# Byte order marks
# NOTE: Keeping this here to educate maintainers
# my %BOM = (
# "\357\273\277" => 'UTF-8',
# "\376\377" => 'UTF-16BE',
# "\377\376" => 'UTF-16LE',
# "\377\376\0\0" => 'UTF-32LE'
# "\0\0\376\377" => 'UTF-32BE',
# );
if ( $string =~ /^(?:\376\377|\377\376|\377\376\0\0|\0\0\376\377)/ ) {
return $self->_error("Stream has a non UTF-8 BOM");
}
else {
# Strip UTF-8 bom if found, we'll just ignore it
$string =~ s/^\357\273\277//;
view all matches for this distribution