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
[Prereqs / DevelopRequires]
-relationship = suggests
Dist::Zilla::app::Command::podpreview = 0.004
[Prereqs / TestRequires]
-relationship = requires
lib = 0
Log::Any::Test = 0
Test2 = 0
Data::Dumper = 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
; version_rel_month = 05
; version_rel_day = 03
; version_rel_hour = 09
; version_rel_time_zone = Pacific/Auckland
-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
t/tlib/Exception/BaseTest.pm view on Meta::CPAN
Exception::Base: Stringify at Package1.pm line 1
\t$_ = Package1::func1 called in package Package1 at Package1.pm line 1
\t$_ = Package1::func1 called in package Package1 at Package1.pm line 1
\t@_ = Package2::func2(1, "ARRAY(0x1234567)", "HASH(0x1234567)", "CODE(0x1234567)", "Exception::BaseTest=HASH(0x1234567)", "Exception::Base=HASH(0x1234567)") called in package Package2 at Package2.pm line 2
\t$_ = eval '1' called in package Package3 at Package3.pm line 3
\t$_ = require Require called in package Package4 at Package4.pm line 4
\t$_ = Package5::func5("\x{00}", "'\"\\\`\x{0d}\x{c3}", "\x{09}\x{263a}", undef, 123, -123.56, 1, ...) called in package Package5 at Package5.pm line 5
\t$_ = Package6::func6 called in package Package6 at -e line 6
\t$_ = Package7::func7 called in package Package7 at unknown line 0
\t...propagated in package Exception::BaseTest::Propagate1 at Propagate1.pm line 11.
\t...propagated in package Exception::BaseTest::Propagate2 at Propagate2.pm line 22.
view all matches for this distribution
view release on metacpan or search on metacpan
public/javascripts/vendor/backbone/backbone.js view on Meta::CPAN
// Current version of the library. Keep in sync with `package.json`.
Backbone.VERSION = '0.9.2';
// Require Underscore, if we're on the server, and it's not already present.
var _ = root._;
if (!_ && (typeof require !== 'undefined')) _ = require('underscore');
// For Backbone's purposes, jQuery, Zepto, or Ender owns the `$` variable.
var $ = root.jQuery || root.Zepto || root.ender;
// Set the JavaScript library that will be used for DOM manipulation and
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/Platypus/Lang/Zig.pm view on Meta::CPAN
# computed at installtime:
# isize, usize, c_short c_ushort c_int c_uint
# c_longlong c_ulonglong c_longdouble bool
my $dir = dist_share( 'FFI-Platypus-Lang-Zig' );
my $map2 = require "$dir/types.pl";
%map = (%map, %$map2);
$map = \%map;
}
view all matches for this distribution
view release on metacpan or search on metacpan
deps/libcbor/src/cbor/streaming.c view on Meta::CPAN
struct cbor_decoder_result *result) {
if (required > (provided - result->read)) {
/* We need to keep all the metadata if parsing is to be resumed */
result->read = 0;
result->status = CBOR_DECODER_NEDATA;
result->required = required;
return false;
} else {
result->read += required;
result->required = 0;
return true;
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FWS/V2/Admin.pm view on Meta::CPAN
#
# set the modes if we have them
#
my $modeScript;
if ( $paramHash{mode} eq 'html' ) {
$modeScript = "var HTMLScriptMode = require(\"ace/mode/html\").Mode;" . $paramHash{name} . ".getSession().setMode(new HTMLScriptMode());";
}
if ( $paramHash{mode} eq 'javascript' ) {
$modeScript = "var JSScriptMode = require(\"ace/mode/javascript\").Mode;" . $paramHash{name} .".getSession().setMode(new JSScriptMode());";
}
if ( $paramHash{mode} eq 'perl' ) {
$modeScript = "var HTMLScriptMode = require(\"ace/mode/perl\").Mode;" . $paramHash{name} . ".getSession().setMode(new HTMLScriptMode());";
}
if ( $paramHash{mode} eq 'css' ) {
$modeScript = "var CSSScriptMode = require(\"ace/mode/css\").Mode;" . $paramHash{name} . ".getSession().setMode(new CSSScriptMode());";
}
$self->addToFoot( "<script type=\"text/javascript\">" .
"\$(document).ready(function() {" .
"window." . $paramHash{name} . " = ace.edit(\"" . $paramHash{name} . "\");" .
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Farabi/files/public/assets/codemirror/addon/runmode/runmode.node.js view on Meta::CPAN
stream.start = stream.pos;
}
}
};
require.cache[require.resolve("../../lib/codemirror")] = require.cache[require.resolve("./runmode.node")];
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
if( -d $path ) {
require lib;
lib->import( $path );
return $path;
}
my $ret= require $path;
UpdateInc( $path );
return $ret;
}
my $up= dirname( $dir );
die "$Pkg can't find $find in ancestor directory of $from.\n"
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
[DynamicPrereqs]
-body = # Because many filesystem modules are buggier
-body = # on Windows, we're going to push for more aggressive
-body = # dependencies to get the most current bug fixes.
-body = requires('File::Spec', '3.24') if is_os('MSWin32') or is_os('cygwin');
view all matches for this distribution
view release on metacpan or search on metacpan
XML::LibXML = 0
YAML::XS = 0
[Prereqs / TestRequires]
-phase = test
-relationship = requires
Path::Tiny = 0
Test::Exception = 0
Test::File = 0
[PodWeaver]
view all matches for this distribution
view release on metacpan or search on metacpan
List::Util = 0
Moose = 0
[Prereqs / TestRequires]
-phase = test
-relationship = requires
Path::Tiny = 0
Test::Exception = 0
Test::File = 0
[ChangelogFromGit]
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/perl5-File-MultiTemp.git
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs]
List::Util = 1.43
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/File-Rotate-Simple.git
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]
-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/File/SmartTail.pm view on Meta::CPAN
}
{
my $v;
sub LOG {
$v ||= require File::SmartTail::Logger && File::SmartTail::Logger::LOG();
}
}
#
# Attempt to normalize path of prefix.
view all matches for this distribution
view release on metacpan or search on metacpan
; version_rel_day = 26
; 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
Test::Most = 0
Sub::Override = 0
; 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
scripts/ttfeval view on Meta::CPAN
my $res;
if ($m =~ /^(\S+)\s*=\s*(.*)$/o) # 'module=something'
{
eval "\$res = require $1; $1->import(split(/,/,'$2'));" ;
}
elsif ($m =~ /^(\S+)\s+(.*)$/o) # 'module something'
{
eval "\$res = require $1; $1->import($2);" ;
}
else # 'module'
{
eval "\$res = require $m; $m->import unless \$c eq 'm';" ;
}
die "Couldn't find module '$m'\n" unless $res;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chj/Packages.pm view on Meta::CPAN
require_package
fallible_require_package_by_path
xrequire_package_by_path
);
my $packagename = "Chj::Packages";
my $possibly_previously_loaded_path = require_package $packagename;
my $true_or_failure = fallible_require_package_by_path $packagename;
# xrequire_package_by_path turns the failure into an exception.
# related (mess?):
# use FP::Predicates qw($package_re);
lib/Chj/Packages.pm view on Meta::CPAN
returns an FP::Failure';
my $path_abs = abs_path($path) // die "abs_path('$path'), given path: $!";
my $package = path_to_package__cheap $path; # XX hack, how to generalize?
# Can't load by path (at least not 'properly'), so, load and then
# check:
my $path2 = require_package $package;
my $path_abs2 = abs_path($path2)
// die "abs_path('$path2'), path retrieved after loading: $!";
if ($path_abs eq $path_abs2) {
1
view all matches for this distribution
view release on metacpan or search on metacpan
bin/report_missing_language_tags.pl view on Meta::CPAN
# this is just a development tool that I use to find missing language-specific
# tags when I update POSIX.pm
chdir '..' unless -d 'conf';
chdir "conf/languages" or die "Can't cd to languages directory: $!";
my $posix = require "./POSIX.pm";
print "Missing tags:\n";
for my $file (<*.pm>) {
next if $file =~ /^POSIX/;
my $contents = require "./$file";
my @missing = sort grep {!$contents->{$_}} keys %$posix;
next unless @missing;
print "$file: @missing\n\n";
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Galileo/files/public/assets/pagedown/Markdown.Sanitizer.js view on Meta::CPAN
(function () {
var output, Converter;
if (typeof exports === "object" && typeof require === "function") { // we're in a CommonJS (e.g. Node.js) module
output = exports;
Converter = require("./Markdown.Converter").Converter;
} else {
output = window.Markdown;
Converter = output.Converter;
}
view all matches for this distribution
view release on metacpan or search on metacpan
script/character-sheet-generator view on Meta::CPAN
=cut
use FindBin;
use lib "$FindBin::Bin/../lib";
my $res = require Game::CharacterSheetGenerator
or not defined $res and die "Cannot load Game::CharacterSheetGenerator: $!"
or not $res and die "Game::CharacterSheetGenerator did not return a true value\n";
view all matches for this distribution
view release on metacpan or search on metacpan
script/face-generator view on Meta::CPAN
=cut
use FindBin;
use lib "$FindBin::Bin/../lib";
my $res = require Game::FaceGenerator
or not defined $res and die "Cannot load Game::FaceGenerator: $!"
or not $res and die "Game::FaceGenerator did not return a true value\n";
view all matches for this distribution
view release on metacpan or search on metacpan
script/text-mapper view on Meta::CPAN
=cut
use FindBin;
use lib "$FindBin::Bin/../lib";
my $res = require Game::TextMapper
or not defined $res and die "Cannot load Game::TextMapper: $!"
or not $res and die "Game::TextMapper did not return a true value\n";
view all matches for this distribution