view release on metacpan or search on metacpan
lib/Class/Plugin/Util.pm view on Meta::CPAN
my $colcol_pos = rindex $subclass, q{::};
my $last_name = $colcol_pos >= 0
? substr $subclass, $colcol_pos + 2, length $subclass
: $subclass;
next SUBCLASS if $ignore_ref->{$last_name};
my $req_ret = require_class($subclass) ;
next SUBCLASS if not $req_ret;
next SUBCLASS if not $subclass->can('register_plugin');
my $plugin_info = $subclass->register_plugin( );
$plugin_info ||= { };
view all matches for this distribution
view release on metacpan or search on metacpan
bin/ct2pod.pl view on Meta::CPAN
use [% class %];
my $object = [% class %]->new
[% IF required %]
(
[% FOR item = required %]
[% item.name %] => [% item.example %],
[% END %]
);
[% END %][%# required %]
[% END %]
view all matches for this distribution
view release on metacpan or search on metacpan
php/PHP_CodeSniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.inc view on Meta::CPAN
if ($var === true) {
}
}
if (require_once 'blank.inc') {
$var = require_once 'blank.inc';
if ($var === true) {
}
}
function get_some_value()
php/PHP_CodeSniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.inc view on Meta::CPAN
if ($var === true) {
}
}
if (require_once 'blank.inc') {
$var = require_once 'blank.inc';
if ($var === true) {
}
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
share/js/jquery-1.11.3.js view on Meta::CPAN
// For CommonJS and CommonJS-like environments where a proper window is present,
// execute the factory and get jQuery
// For environments that do not inherently posses a window with a document
// (such as Node.js), expose a jQuery-making factory as module.exports
// This accentuates the need for the creation of a real window
// e.g. var jQuery = require("jquery")(window);
// See ticket #14549 for more info
module.exports = global.document ?
factory( global, true ) :
function( w ) {
if ( !w.document ) {
view all matches for this distribution
view release on metacpan or search on metacpan
; version_rel_day = 4
; version_rel_hour = 23
; 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
[Prereqs / @Author::KENTNL/::Role::BundleDeps]
; twitter_extra_hash_tags =
; 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
[Prereqs / @Author::KENTNL/::Role::BundleDeps]
; twitter_extra_hash_tags =
; 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
[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided]
[Prereqs / @Author::KENTNL/::Role::BundleDeps]
; 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
dist.ini.keep view on Meta::CPAN
[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided]
[Prereqs / @Author::KENTNL/::Role::BundleDeps]
; 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
[RecommendedPrereqs]
[AutoPrereqs]
[Prereqs]
-phase = develop
-relationship = requires
Test::Vars = 0.015
Test::CPAN::Changes = 0.500002
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[Git::CheckFor::MergeConflicts]
[GitHub::Meta]
view all matches for this distribution
view release on metacpan or search on metacpan
if (cctxPtr->maxBufferSize < requiredBuffSize) {
cctxPtr->maxBufferSize = 0;
FREEMEM(cctxPtr->tmpBuff);
cctxPtr->tmpBuff = (BYTE*)ALLOCATOR(requiredBuffSize);
if (cctxPtr->tmpBuff == NULL) return err0r(LZ4F_ERROR_allocation_failed);
cctxPtr->maxBufferSize = requiredBuffSize;
} }
cctxPtr->tmpIn = cctxPtr->tmpBuff;
cctxPtr->tmpInSize = 0;
XXH32_reset(&(cctxPtr->xxh), 0);
view all matches for this distribution
view release on metacpan or search on metacpan
ext/zstd/tests/regression/test.c view on Meta::CPAN
}
}
int bad = 0;
for (size_t i = 0; i < nargs; ++i) {
if (long_extras[i].opt_type != required_option)
continue;
if (long_extras[i].value == NULL)
continue;
if (*long_extras[i].value != NULL)
continue;
view all matches for this distribution
view release on metacpan or search on metacpan
ext/zstd/tests/regression/test.c view on Meta::CPAN
}
}
int bad = 0;
for (size_t i = 0; i < nargs; ++i) {
if (long_extras[i].opt_type != required_option)
continue;
if (long_extras[i].value == NULL)
continue;
if (*long_extras[i].value != NULL)
continue;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Config/Micro.pm view on Meta::CPAN
use Config::Micro;
use File::Spec;
my $conf_dir = File::Spec->catdir(qw/.. etc/);
my $conf_file = Config::Micro->file( env => 'development', dir => $conf_dir );
my $config = require( $conf_file );
...
=head1 SUBROUTINES/METHODS
=head2 file
view all matches for this distribution
view release on metacpan or search on metacpan
libucl-0.8.1/doc/lua_api.md view on Meta::CPAN
ucl objects. It uses `libucl` C library to parse and manipulate with ucl objects.
Example:
~~~lua
local ucl = require("ucl")
local parser = ucl.parser()
local res,err = parser:parse_string('{key=value}')
if not res then
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
[AutoPrereqs]
[Prereqs / BuildRequires ]
-phase = build
-relationship = requires
ExtUtils::MakeMaker = 7.22
Module::Metadata = 1.000015
[Prereqs / DevelopRequires ]
-phase = develop
-relationship = requires
Test::CVE = 0.08
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/Const-Exporter.git
view all matches for this distribution
view release on metacpan or search on metacpan
bin/cfk-share-mem-proxy.pl view on Meta::CPAN
pod2usage(1) if $options{help};
pod2usage(-verbose => 2) if $options{man};
croak "Please, specify a preload option" unless $options{preload};
my $svc_coderef;
my $ret = require $options{preload};
if ($ret && ref $ret eq 'CODE') {
$svc_coderef = $ret;
}
croak "Error preloading: $@" if $@;
view all matches for this distribution
view release on metacpan or search on metacpan
# Test that the primitive operators are working
#
use Convert::BER;
my $sock = require IO::Socket;
print $sock ? "1..5\n" : "1..2\n";
my $result = pack("C*", 0x30, 0x3D, 0x04, 0x04, 0x46, 0x72, 0x65, 0x64,
0x30, 0x13, 0x04, 0x11, 0x41, 0x20, 0x73, 0x74,
view all matches for this distribution
view release on metacpan or search on metacpan
bin/perltypes.PL view on Meta::CPAN
#-------------------------------------
# Create an object, set configuration.
#-------------------------------------
my $cfg = require "$base/config.pl";
my $c = new Convert::Binary::C %$cfg;
#------------------
# Parse the C file.
#------------------
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Convos/public/js/jquery.js view on Meta::CPAN
// For CommonJS and CommonJS-like environments where a proper window is present,
// execute the factory and get jQuery
// For environments that do not inherently posses a window with a document
// (such as Node.js), expose a jQuery-making factory as module.exports
// This accentuates the need for the creation of a real window
// e.g. var jQuery = require("jquery")(window);
// See ticket #14549 for more info
module.exports = global.document ?
factory( global, true ) :
function( w ) {
if ( !w.document ) {
view all matches for this distribution
view release on metacpan or search on metacpan
pqclean/common/randombytes.c view on Meta::CPAN
#if defined(__EMSCRIPTEN__)
static int randombytes_js_randombytes_nodejs(void *buf, size_t n) {
const int ret = EM_ASM_INT({
var crypto;
try {
crypto = require('crypto');
} catch (error) {
return -2;
}
try {
writeArrayToMemory(crypto.randomBytes($1), $0);
view all matches for this distribution
view release on metacpan or search on metacpan
librhash/test_lib.c view on Meta::CPAN
return;
}
dbg2("- call rhash_export ctx\n");
exported_data = malloc(required_size);
exported_size = rhash_export(ctx, exported_data, required_size);
if (exported_size != required_size) {
log_error2("rhash_export failed: %u != %u\n", (unsigned)exported_size, (unsigned)required_size);
return;
}
dbg2("- call rhash_import\n");
imported_ctx = rhash_import(exported_data, required_size);
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
Test::CVE = 0.08
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git@github.com:robrwo/perl-Crypt-URandom-MonkeyPatch.git
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DBI/Shell.pm view on Meta::CPAN
|| "$ENV{HOMEDRIVE}$ENV{HOMEPATH}"; # NT
$sh->{config_file} = $ENV{DBISH_CONFIG} || "$homedir/.dbish_config";
my $config;
if ($sh->{config_file} && -f $sh->{config_file}) {
my $full = File::Spec->rel2abs( $sh->{config_file} );
$config = require $full;
# allow for custom configuration options.
if (exists $config->{'options'} ) {
$sh->install_options( $config->{'options'} );
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm view on Meta::CPAN
my $fn = eval sprintf <<'END_EVAL', $_package;
package %s;
{
our $app;
$app ||= require $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
END_EVAL
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/DBIx-Class-Helper-ResultSet-ColumnNames.git
view all matches for this distribution
view release on metacpan or search on metacpan
remove = Test::Roo
remove = Test::Roo::Role
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/DBIx-Class-Helper-ResultSet-WindowFunctions.git
view all matches for this distribution
view release on metacpan or search on metacpan
SQL::Translator = 0.11018
Sub::Name = 0
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/DBIx-Class-Helper-Row-Enumeration.git
view all matches for this distribution
view release on metacpan or search on metacpan
DBD::SQLite = 0
SQL::Translator = 0.11018
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/DBIx-Class-Helper-Row-Types.git
view all matches for this distribution