view release on metacpan or search on metacpan
print STDERR __PACKAGE__ . "::new() : attempting to load...\n"
if $args{jit_debug};
# try to load the module and return package handle if successful
my $result;
eval { $result = require $package_path; };
if ($result) {
$package->clear_params(); # need to clear out params from prior run
return $package;
}
view all matches for this distribution
view release on metacpan or search on metacpan
[RecommendedPrereqs]
[AutoPrereqs]
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/perl-HTTP-CSPHeader.git
[InstallGuide]
[Prereqs / BuildRequires ]
-phase = build
-relationship = requires
ExtUtils::MakeMaker = 7.22
Module::Metadata = 1.000015
[Prereqs / TestRequires ]
-phase = test
-relationship = requires
Plack::Middleware::ContentLength = 0
Plack::Middleware::Head = 0
[Prereqs / DevelopRequires ]
-phase = develop
-relationship = requires
Perl::Critic = 1.156
Test::CPAN::Changes = 0.500002
Test::CVE = 0.08
; authordep Pod::Weaver::Plugin::AppendPrepend
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/Cookies/Chrome.pm view on Meta::CPAN
sub _make_cipher {
my( $self, $password ) = @_;
my $key = do {
state $rc2 = require PBKDF2::Tiny;
my $s = $self->_platform_settings;
my $salt = 'saltysalt';
my $length = 16;
PBKDF2::Tiny::derive( 'SHA-1', $password, $salt, $s->{iterations}, $length );
};
state $rc1 = require Crypt::Rijndael;
my $cipher = Crypt::Rijndael->new( $key, Crypt::Rijndael::MODE_CBC() );
$cipher->set_iv( ' ' x 16 );
$self->_add_value( chrome_safe_storage_password => $password );
$self->_add_value( cipher => $cipher );
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/OAI/Repository.pm view on Meta::CPAN
use HTTP::OAI::Error qw(%OAI_ERRORS);
# Copied from Simeon Warner's tutorial at
# http://library.cern.ch/HEPLW/4/papers/3/OAIServer.pm
# (note: corrected grammer for ListSets)
# 0 = optional, 1 = required, 2 = exclusive
my %grammer = (
'GetRecord' =>
{
'identifier' => [1, \&validate_identifier],
'metadataPrefix' => [1, \&validate_metadataPrefix]
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
; version_rel_day = 17
; version_rel_hour = 16
; version_rel_time_zone = Pacific/Auckland
; auto_prereqs_skip = File::Find
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0
Dist::Zilla::Plugin::BumpVersionAfterRelease = 0
view all matches for this distribution
view release on metacpan or search on metacpan
[Collect / ATTRIBUTES]
command = attr
[Collect / REQUIRED_ATTRIBUTES]
command = required_attr
[Collect / PRIVATE_ATTRIBUTES]
command = private_attr
[-Transformer]
view all matches for this distribution
view release on metacpan or search on metacpan
[Collect / ATTRIBUTES]
command = attr
[Collect / REQUIRED_ATTRIBUTES]
command = required_attr
[Collect / PRIVATE_ATTRIBUTES]
command = private_attr
[-Transformer]
view all matches for this distribution
view release on metacpan or search on metacpan
[Collect / ATTRIBUTES]
command = attr
[Collect / REQUIRED_ATTRIBUTES]
command = required_attr
[Collect / PRIVATE_ATTRIBUTES]
command = private_attr
[-Transformer]
view all matches for this distribution
view release on metacpan or search on metacpan
[Collect / ATTRIBUTES]
command = attr
[Collect / REQUIRED_ATTRIBUTES]
command = required_attr
[Collect / PRIVATE_ATTRIBUTES]
command = private_attr
[-Transformer]
view all matches for this distribution
view release on metacpan or search on metacpan
[Collect / ATTRIBUTES]
command = attr
[Collect / REQUIRED_ATTRIBUTES]
command = required_attr
[Collect / PRIVATE_ATTRIBUTES]
command = private_attr
[-Transformer]
view all matches for this distribution
view release on metacpan or search on metacpan
[Collect / ATTRIBUTES]
command = attr
[Collect / REQUIRED_ATTRIBUTES]
command = required_attr
[Collect / PRIVATE_ATTRIBUTES]
command = private_attr
[-Transformer]
view all matches for this distribution
view release on metacpan or search on metacpan
[RecommendedPrereqs]
[AutoPrereqs]
[Prereqs / BuildRequires ]
-phase = build
-relationship = requires
ExtUtils::MakeMaker = 7.22
Module::Metadata = 1.000015
[Prereqs / DevelopRequires ]
-phase = develop
-relationship = requires
English = 0
Test::CPAN::Changes = 0
Test::CVE = 0.08
Test::LeakTrace = 0
Test2::V0 = 0
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/Hash-Match.git
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs / TestRecommends]
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/Hash-Util-Merge.git
view all matches for this distribution
view release on metacpan or search on metacpan
; version_rel_day = 26
; version_rel_hour = 0
; version_rel_time_zone = Pacific/Auckland
; auto_prereqs_skip = File::Find
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0
Dist::Zilla::Plugin::BumpVersionAfterRelease = 0
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:
my $package = require '/path/to/Makefile.PL';
my $arguments = $package->arguments;
Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded
view all matches for this distribution
view release on metacpan or search on metacpan
parent = 0
String::ShellQuote = 0
[DynamicPrereqs]
-condition = $^O =~ /Win32/i
-body = requires( 'Win32::Console::ANSI' )
[Prereqs / TestRequires]
Data::Dumper = 0
Devel::FindPerl = 0
File::Slurper = 0
view all matches for this distribution
view release on metacpan or search on metacpan
;version_rel_month = 10
;version_rel_day = 21
;version_rel_hour = 12
;version_rel_time_zone = Pacific/Auckland
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0
Dist::Zilla::Plugin::BumpVersionAfterRelease = 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/MetaData/JPEG/data/Tables.pm view on Meta::CPAN
#============================================================================#
# MakerNote stuff is stored in a separated file; the return value of this #
# inclusion is the $HASH_MAKERNOTES hash reference, containing all relevant #
# parameters. We only have to link this new table into $HASH_APP1_SUBIFD. #
#----------------------------------------------------------------------------#
our $HASH_MAKERNOTES = require 'Image/MetaData/JPEG/data/Makernotes.pl'; #
$$HASH_APP1_SUBIFD{'MakerNoteData_' . $_} = #
generate_lookup($$HASH_MAKERNOTES{$_}{tags} ,0) #
for keys %$HASH_MAKERNOTES; #
#============================================================================#
#============================================================================#
view all matches for this distribution
view release on metacpan or search on metacpan
libpng-1.6.17/scripts/options.awk view on Meta::CPAN
}
}
} else if (val == "requires" || val == "if" || val == "enables" || val =="sets") {
key = val
} else if (key == "requires") {
requires[opt] = requires[opt] " " val
} else if (key == "if") {
iffs[opt] = iffs[opt] " " val
} else if (key == "enables") {
enabledby[val] = enabledby[val] " " opt
} else if (key == "sets") {
view all matches for this distribution
view release on metacpan or search on metacpan
my $json_users = JSON::MaybeXS->new->encode($users);
my $report = $lua->eval(qq{
-- This script assumes a JSON library is available in the Lua environment.
-- We are using the 'dkjson' library in this example.
local json = require("json")
local users = json.decode($json_users)
function process_users(user_list)
local report = {}
for _, user in ipairs(user_list) do
view all matches for this distribution
view release on metacpan or search on metacpan
List::Util = 1.44
JSON::XS = 4
; Uncomment if you need JSON::XS
[DynamicPrereqs]
-body = requires('JSON::XS', '4.02') if has_module('JSON::XS', '4.01') or !defined has_module('JSON::XS', '4.01');
view all matches for this distribution
view release on metacpan or search on metacpan
external/rapidjson/schema.h view on Meta::CPAN
if (properties && properties->IsObject())
for (ConstMemberIterator itr = properties->MemberBegin(); itr != properties->MemberEnd(); ++itr)
AddUniqueElement(allProperties, itr->name);
if (required && required->IsArray())
for (ConstValueIterator itr = required->Begin(); itr != required->End(); ++itr)
if (itr->IsString())
AddUniqueElement(allProperties, *itr);
if (dependencies && dependencies->IsObject())
for (ConstMemberIterator itr = dependencies->MemberBegin(); itr != dependencies->MemberEnd(); ++itr) {
external/rapidjson/schema.h view on Meta::CPAN
patternPropertyCount_++;
}
}
if (required && required->IsArray())
for (ConstValueIterator itr = required->Begin(); itr != required->End(); ++itr)
if (itr->IsString()) {
SizeType index;
if (FindPropertyIndex(*itr, &index)) {
properties_[index].required = true;
hasRequired_ = true;
view all matches for this distribution
view release on metacpan or search on metacpan
jsonpath-compliance-test-suite/build.js view on Meta::CPAN
// @ts-check
const fs = require('fs');
const path = require('path');
/**
* The file extension of test files.
* @type {string}
*/
const fileExtension = '.json';
view all matches for this distribution
view release on metacpan or search on metacpan
simdjson.cpp view on Meta::CPAN
} -> std::same_as<typename std::remove_cvref_t<T>::reference>;
};
};
template <typename T>
concept smart_pointer = requires(std::remove_cvref_t<T> ptr) {
// Check if T has a member type named element_type
typename std::remove_cvref_t<T>::element_type;
// Check if T has a get() member function
{
simdjson.cpp view on Meta::CPAN
// Check if T can be dereferenced
{ *ptr } -> std::same_as<typename std::remove_cvref_t<T>::element_type &>;
};
template <typename T>
concept optional_type = requires(std::remove_cvref_t<T> obj) {
typename std::remove_cvref_t<T>::value_type;
{ obj.value() } -> std::same_as<typename std::remove_cvref_t<T>::value_type&>;
requires requires(typename std::remove_cvref_t<T>::value_type &&val) {
obj.emplace(std::move(val));
obj = std::move(val);
simdjson.cpp view on Meta::CPAN
namespace simdjson {
bool implementation::supported_by_runtime_system() const {
uint32_t required_instruction_sets = this->required_instruction_sets();
uint32_t supported_instruction_sets = internal::detect_supported_architectures();
return ((supported_instruction_sets & required_instruction_sets) == required_instruction_sets);
}
} // namespace simdjson
/* defining SIMDJSON_CONDITIONAL_INCLUDE */
simdjson.cpp view on Meta::CPAN
const implementation *available_implementation_list::detect_best_supported() const noexcept {
// They are prelisted in priority order, so we just go down the list
uint32_t supported_instruction_sets = internal::detect_supported_architectures();
for (const implementation *impl : internal::get_available_implementation_pointers()) {
uint32_t required_instruction_sets = impl->required_instruction_sets();
if ((supported_instruction_sets & required_instruction_sets) == required_instruction_sets) { return impl; }
}
return get_unsupported_singleton(); // this should never happen?
}
const implementation *detect_best_supported_implementation_on_first_use::set_best() const noexcept {
view all matches for this distribution