view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
system("./configure") == 0 or
die "Error in configuring the Authen::PAM module.\n";
# returns a reference to anonymous hash which is then interpreted as
# additional options to the WriteMakeFile
$options = require "pam.cfg";
if ( $Config{'osname'} eq 'solaris' && $Config{'osvers'} eq '2.6') {
print "Adding a workaround for a bug in the Solaris 2.6 pam library\n";
${$options}{'DEFINE'} .= ' -DSTATIC_CONV_FUNC ';
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/testdata/core-ops.pm view on Meta::CPAN
# readline handled specially
# readpipe handled specially
# redo handled specially
# XXX This code prints 'Undefined subroutine &main::require called':
# use subs (); import subs 'require';
# eval q[no strict 'vars'; sub { () = require; }]; print $@;
# so disable for now
#require 01 $+
# return handled specially
# our setp erroneously adds $_
setgrent 0 -
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bencher/Scenario/BIP39/GenMnemonic.pm view on Meta::CPAN
last;
}
push @{ $scenario->{participants} }, +{
name => 'bip39js',
helper_modules => ["Nodejs::Util"],
code_template => q|Nodejs::Util::system_nodejs('-e', 'bip39 = require("bip39"); for (i=0; i<20000; i++) { bip39.generateMnemonic() }')|,
};
}
$scenario;
lib/Bencher/Scenario/BIP39/GenMnemonic.pm view on Meta::CPAN
=item * bip39js (perl_code)
Code template:
Nodejs::Util::system_nodejs('-e', 'bip39 = require("bip39"); for (i=0; i<20000; i++) { bip39.generateMnemonic() }')
=back
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
t/lib/Test/Harness.pm view on Meta::CPAN
}
my $HARNESS_STRAP_CLASS = $ENV{HARNESS_STRAP_CLASS} || 'Test::Harness::Straps';
if ( $HARNESS_STRAP_CLASS =~ /\.pm$/ ) {
# "Class" is actually a filename, that should return the
# class name as its true return value.
$HARNESS_STRAP_CLASS = require $HARNESS_STRAP_CLASS;
if ( !_CLASS($HARNESS_STRAP_CLASS) ) {
die "HARNESS_STRAP_CLASS '$HARNESS_STRAP_CLASS' is not a valid class name";
}
}
else {
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Test/Harness.pm view on Meta::CPAN
}
my $HARNESS_STRAP_CLASS = $ENV{HARNESS_STRAP_CLASS} || 'Test::Harness::Straps';
if ( $HARNESS_STRAP_CLASS =~ /\.pm$/ ) {
# "Class" is actually a filename, that should return the
# class name as its true return value.
$HARNESS_STRAP_CLASS = require $HARNESS_STRAP_CLASS;
if ( !_CLASS($HARNESS_STRAP_CLASS) ) {
die "HARNESS_STRAP_CLASS '$HARNESS_STRAP_CLASS' is not a valid class name";
}
}
else {
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
Constants.pm view on Meta::CPAN
use a simple boolean test), use $FE_UTI_BY_TT{$tt}{''}. You can use
uti_by_tt_carrier() to do this for you.
=item %FE_RQ
RQ == required. Maps from UTI to a list of field tags that UTI requires.
Eg,
$FE_RQ{1005} = [0,10,498,3025,29];
=item $FE_* hash refs
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/Business/US/USPS/WebTools.pm view on Meta::CPAN
:
"/ShippingAPI.dll"
}
sub _make_url {
state $rc = require Mojo::URL;
my( $self, $hash ) = @_;
$self->{url} = Mojo::URL->new
->scheme('https')
->host( $self->_api_host )
lib/Business/US/USPS/WebTools.pm view on Meta::CPAN
);
}
sub _make_request {
my( $self, $url ) = @_;
state $rc = require Mojo::UserAgent;
state $ua = Mojo::UserAgent->new;
$self->{error} = undef;
$self->{transaction} = $ua->get( $self->url );
lib/Business/US/USPS/WebTools.pm view on Meta::CPAN
$self->{response};
}
sub _clone {
my $rc = require Storable;
my( $self ) = @_;
my $clone = Storable::dclone( $self );
}
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
xt/js/sinon.js view on Meta::CPAN
}
};
if (typeof process === "object" &&
typeof require === "function" && typeof module === "object") {
var crypto = require("crypto");
var path = require("path");
buster.tmpFile = function (fileName) {
var hashed = crypto.createHash("sha1");
hashed.update(fileName);
var tmpfileName = hashed.digest("hex");
xt/js/sinon.js view on Meta::CPAN
};
}
if (isNode) {
module.exports = buster;
buster.eventEmitter = require("./buster-event-emitter");
Object.defineProperty(buster, "defineVersionGetter", {
get: function () {
return require("./define-version-getter");
}
});
xt/js/sinon.js view on Meta::CPAN
if (typeof buster === "undefined") {
var buster = {};
}
if (typeof module === "object" && typeof require === "function") {
buster = require("buster-core");
}
buster.format = buster.format || {};
buster.format.excludeConstructors = ["Object", /^.$/];
buster.format.quoteStrings = true;
xt/js/sinon.js view on Meta::CPAN
if (isNode) {
try {
buster = { format: require("buster-format") };
} catch (e) {}
module.exports = sinon;
module.exports.spy = require("./sinon/spy");
module.exports.stub = require("./sinon/stub");
module.exports.mock = require("./sinon/mock");
module.exports.collection = require("./sinon/collection");
module.exports.assert = require("./sinon/assert");
module.exports.sandbox = require("./sinon/sandbox");
module.exports.test = require("./sinon/test");
module.exports.testCase = require("./sinon/test_case");
module.exports.assert = require("./sinon/assert");
module.exports.match = require("./sinon/match");
}
if (buster) {
var formatter = sinon.create(buster.format);
formatter.quoteStrings = false;
sinon.format = function () {
return formatter.ascii.apply(formatter, arguments);
};
} else if (isNode) {
try {
var util = require("util");
sinon.format = function (value) {
return typeof value == "object" && value.toString === Object.prototype.toString ? util.inspect(value) : value;
};
} catch (e) {
/* Node, but no util module - would be very old, but better safe than
xt/js/sinon.js view on Meta::CPAN
(function (sinon) {
var commonJSModule = typeof module == "object" && typeof require == "function";
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
xt/js/sinon.js view on Meta::CPAN
var callId = 0;
var push = [].push;
var slice = Array.prototype.slice;
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
xt/js/sinon.js view on Meta::CPAN
(function (sinon) {
var commonJSModule = typeof module == "object" && typeof require == "function";
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
xt/js/sinon.js view on Meta::CPAN
(function (sinon) {
var commonJSModule = typeof module == "object" && typeof require == "function";
var push = [].push;
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
xt/js/sinon.js view on Meta::CPAN
var commonJSModule = typeof module == "object" && typeof require == "function";
var push = [].push;
var hasOwnProperty = Object.prototype.hasOwnProperty;
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
xt/js/sinon.js view on Meta::CPAN
*
* Copyright (c) 2010-2013 Christian Johansen
*/
if (typeof module == "object" && typeof require == "function") {
var sinon = require("../sinon");
sinon.extend(sinon, require("./util/fake_timers"));
}
(function () {
var push = [].push;
xt/js/sinon.js view on Meta::CPAN
(function (sinon) {
var commonJSModule = typeof module == "object" && typeof require == "function";
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
xt/js/sinon.js view on Meta::CPAN
(function (sinon) {
var commonJSModule = typeof module == "object" && typeof require == "function";
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon || !Object.prototype.hasOwnProperty) {
return;
}
xt/js/sinon.js view on Meta::CPAN
var commonJSModule = typeof module == "object" && typeof require == "function";
var slice = Array.prototype.slice;
var assert;
if (!sinon && commonJSModule) {
sinon = require("../sinon");
}
if (!sinon) {
return;
}
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/CAPE/Utils.pm view on Meta::CPAN
# default value for enforce timeout for submit
enforce_timeout=0
# how to auth for mojo_cape_submit
# ip = match against subnets
# apikey = use apikey
# both = require both to match
# either = either may work
auth=ip
# the api key to for with mojo_cape_submit
#apikey=
# comma seperated list of allowed subnets for mojo_cape_submit
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/FormBuilder/Template/HTC.pm view on Meta::CPAN
[%= field %] # field input tag
[%= value %] # first value
[%= values %] # list of all values
[%= option %] # first value
[%= options %] # list of all values
[%= required %] # required flag
[%= invalid %] # invalid flag
[%/with %]
The fields variable contains a list of all the fields in the form.
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs / @Author::KENTNL/::Role::BundleDeps]
; auto_prereqs_skip = File::Find
; https://rt.cpan.org/Ticket/Display.html?id=98830
-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
Dist::Zilla::Plugin::Twitter = 0
Dist::Zilla::Plugin::UploadToCPAN = 0
[Prereqs / CHI::Test]
-phase = test
-type = requires
Date::Parse = 0
Test::Builder = 0
Test::Class = 0
Test::Deep = 0
Test::Exception = 0
view all matches for this distribution
view release on metacpan or search on metacpan
javaxml/XMLInputStreamImpl.java view on Meta::CPAN
return array;
} else {
Object newArray = null;
int newSize = currentSize * 2;
if (newSize <= requiredSize)
newSize = requiredSize + 1;
if (array instanceof char[])
newArray = new char [newSize];
else if (array instanceof Object[])
newArray = new Object [newSize];
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Audit.pm view on Meta::CPAN
local $/;
open my($fh), '<:raw', $params{'json_db'}
or die "could not read file <$params{json_db}>\n";
<$fh>;
};
state $rc = require JSON;
my $decoded = eval { JSON::decode_json($data) };
die "could not decode JSON from <$params{json_db}>: @_\n" unless defined $decoded;
return $decoded;
}
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::CONTRIBUTING = 0.001003
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
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::CONTRIBUTING = 0.001003
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
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::CONTRIBUTING = 0.001003
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
view all matches for this distribution
view release on metacpan or search on metacpan
; version_rel_day = 10
; version_rel_hour = 11
; 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
[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::CONTRIBUTING = 0.001003
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
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Meta/Check.pm view on Meta::CPAN
};
}
sub verify_dependencies {
my ($meta, $phases, $type, $dirs) = @_;
my $reqs = requirements_for($meta, $phases, $type);
my $issues = check_requirements($reqs, $type, $dirs);
return grep { defined } values %{ $issues };
}
1;
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::CONTRIBUTING = 0.001003
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
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/HandleConfig.pm view on Meta::CPAN
$configpm = $args[0];
}
}
# use provided name or the current config or create a new MyConfig
$configpm ||= require_myconfig_or_config() || make_new_config();
# commit to MyConfig if we can't write to Config
if ( ! -w $configpm && $configpm =~ m{CPAN/Config\.pm} ) {
my $myconfig = _new_config_name();
$CPAN::Frontend->mywarn(
lib/CPAN/HandleConfig.pm view on Meta::CPAN
$CPAN::Be_Silent++ if $args{be_silent}; # do not use; planned to be removed in 2011
my $do_init = delete $args{do_init} || 0;
my $make_myconfig = delete $args{make_myconfig};
$loading = 0 unless defined $loading;
my $configpm = require_myconfig_or_config;
my @miss = $self->missing_config_data;
CPAN->debug("do_init[$do_init]loading[$loading]miss[@miss]") if $CPAN::DEBUG;
return unless $do_init || @miss;
if (@miss==1 and $miss[0] eq "pushy_https" && !$do_init) {
$CPAN::Frontend->myprint(<<'END');
view all matches for this distribution