view release on metacpan or search on metacpan
examples/cgi/WwwCounter/handler.pl view on Meta::CPAN
use lib "$ENV{'LAMBDA_TASK_ROOT'}/local/lib/perl5";
use AWS::Lambda::PSGI;
$ENV{WWWCOUNT_DIR} ||= "/tmp";
chdir($ENV{'LAMBDA_TASK_ROOT'});
my $app = require "$ENV{'LAMBDA_TASK_ROOT'}/app.psgi";
my $func = AWS::Lambda::PSGI->wrap($app);
sub handle {
    my $payload = shift;
    return $func->($payload);
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 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 release on metacpan or search on metacpan
lib/Acme/MetaSyntactic/unicode.pm view on Meta::CPAN
        map { ( "\t\tLATIN CAPITAL LETTER $_", "\t\tLATIN SMALL LETTER $_" ) }
        'A' .. 'Z';
    # try to find better
    if ( $] >= 5.006 && $] < 5.007003  ) {
        eval { $data = require 'unicode/Name.pl'; };
    }
    elsif ( $] >= 5.007003 ) {
        eval { $data = require 'unicore/Name.pl'; };
        # since v5.11.3, unicore/Name.pl creates subroutines
        # they end up in our namespace, so get rid of them
        undef *code_point_to_name_special;
        undef *name_to_code_point_special;
view release on metacpan or search on metacpan
    - Win32::Locale is now the last after $ENV{LANGUAGE} and $ENV{LANG}
      under Win32 (it was previously the only possibility)
    [TICKET CLOSED]
    - #14691 on rt.cpan.org (thanks to Barbie, who ran the tests
      under Win32, I discovered I didn't really knew %INC, and
      that I forgot that use = require + import)
0.40 2005-09-11 BOOK
    [NEW WEEKLY THEME 2005/09/19]
    - yapc (Mark Fowler)
    [TESTS]
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 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 release on metacpan or search on metacpan
public/vendor/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 release on metacpan or search on metacpan
Alien::cmake3 = 0
Alien::Build::Plugin::Probe::CommandLine = 0
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/perl-Alien-Brotli.git
view release on metacpan or search on metacpan
;; TODO: convert these to inc/mymm.pl so that we can avoid
;; extra prereqs
[DynamicPrereqs / PkgConfigPM]
-condition = !do { require File::Which; ($ENV{PKG_CONFIG} && File::Which::which($ENV{PKG_CONFIG})) || File::Which::which('pkgconf') || File::Which::which('pkg-config') }
-body      = requires('PkgConfig' => '0.14026' ); # for static cflags support
[DynamicPrereqs / PkgConfigPMSolaris]
-condition = do { use Config; ($^O eq 'solaris' && $Config{ptrsize} == 8) || $^O eq 'MSWin32' }
-body      = requires('PkgConfig' => '0.14026' ); # for using the wrong libraries support
[DynamicPrereqs / CleanupDotTmp]
-raw = $WriteMakefileArgs{clean} = {FILES => ".tmp"};
[DynamicPrereqs / Vcpkg]
-condition = do { use Config; $^O eq 'MSWin32' && $Config{ccname} eq 'cl' }
-body      = requires('Win32::Vcpkg' => '0.04');
[Author::Plicease::Thanks]
current = Graham Ollis <plicease@cpan.org>
; if you have a preference for how to display your name
view release on metacpan or search on metacpan
inc/inc_Module-Load-Conditional/Module/Load/Conditional.pm view on Meta::CPAN
    }
}
=back
=head2 @list = requires( MODULE );
C<requires> can tell you what other modules a particular module
requires. This is particularly useful when you're intending to write
a module for public release and are listing its prerequisites.
view release on metacpan or search on metacpan
src/subversion/subversion/libsvn_repos/authz.c view on Meta::CPAN
{
  struct authz_lookup_baton baton = { 0 };
  baton.config = cfg;
  baton.user = user;
  baton.required_access = required_access;
  baton.repos_path = path;
  baton.qualified_repos_path = apr_pstrcat(pool, repos_name,
                                           ":", path, (char *)NULL);
  /* Default to access granted if no rules say otherwise. */
  baton.access = TRUE;
src/subversion/subversion/libsvn_repos/authz.c view on Meta::CPAN
{
  struct authz_lookup_baton baton = { 0 };
  baton.config = cfg;
  baton.user = user;
  baton.required_access = required_access;
  baton.access = FALSE; /* Deny access by default. */
  baton.repos_path = "/";
  baton.qualified_repos_path = apr_pstrcat(pool, repos_name,
                                           ":/", (char *)NULL);
view release on metacpan or search on metacpan
share/swagger-ui-bundle.js.map view on Meta::CPAN
{"version":3,"sources":["webpack://SwaggerUIBundle/webpack/universalModuleDefinition","webpack://SwaggerUIBundle/webpack/bootstrap","webpack://SwaggerUIBundle/./node_modules/react/react.js","webpack://SwaggerUIBundle/./node_modules/immutable/dist/imm...
view release on metacpan or search on metacpan
[Prereqs]
Alien::cmake3 = 0
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/Alien-TidyHTML5.git
view release on metacpan or search on metacpan
share/vendor/js/backbone.js view on Meta::CPAN
  // Current version of the library. Keep in sync with `package.json`.
  Backbone.VERSION = '0.9.10';
  // 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.
  Backbone.$ = root.jQuery || root.Zepto || root.ender;
  // Runs Backbone.js in *noConflict* mode, returning the `Backbone` variable
view release on metacpan or search on metacpan
libuv/docs/code/multi-echo-server/hammer.js view on Meta::CPAN
var net = require('net');
var PHRASE = "hello world";
var write = function(socket) {
    socket.write(PHRASE, 'utf8');
}
view release on metacpan or search on metacpan
inc/inc_Module-Load-Conditional/Module/Load/Conditional.pm view on Meta::CPAN
    } else {
        return 1;
    }
}
=head2 @list = requires( MODULE );
C<requires> can tell you what other modules a particular module
requires. This is particularly useful when you're intending to write
a module for public release and are listing its prerequisites.
view release on metacpan or search on metacpan
lib/Antsy.pm view on Meta::CPAN
	OSC() . join( ';', @args, '' ) . $command . ST();
	}
sub _iterm_query ( $command, @args ) {
	my $terminal = do {
		state $rc = require Term::ReadKey;
		chomp( my $tty = `/usr/bin/tty` );
		# say "Term: ", $tty;
		open my $terminal, '+<', $tty;
		my $old = select( $terminal );
		$|++;
view release on metacpan or search on metacpan
lib/Any/Renderer.pm view on Meta::CPAN
=item $o = new Any::Renderer::MyBackend($format, \%options);
=item $string = $o->render($data_structure);
=item $bool = requires_template($format)
=item $arrayref = available_formats()
=back
view release on metacpan or search on metacpan
[DynamicPrereqs]
; if Crypt::Random::Source is installed,
; require at least version 0.08 to avoid
; deprecation messages from Class::MOP
-condition = can_use('Crypt::Random::Source')
-body      = requires('Crypt::Random::Source', '0.08')
view release on metacpan or search on metacpan
t/10methods.t view on Meta::CPAN
	or print "File $file doesn't match expected contents.\n";
}
eval {
    $cfg = require ".status";
    mkdir $cfg->{'t_dir'}, 0755 unless -d $cfg->{'t_dir'};
    mkdir $cfg->{'output_dir'}, 0755 unless -d $cfg->{'output_dir'};
    mkdir $cfg->{'roaming_dir'}, 0755 unless -d $cfg->{'roaming_dir'};
    mkdir $cfg->{'log_dir'}, 0755 unless -d $cfg->{'log_dir'};
    unlink $cfg->{'pid_file'} if -f $cfg->{'pid_file'};
t/10methods.t view on Meta::CPAN
    printf USER ("%s:%s\n", "foo bar", crypt("eoj", "foo bar"))
	or die "Error while writing user file: $!";
    close(USER)
	or die "Error while closing user file: $!";
    $pid = fork ();
    $lwp = require LWP::UserAgent;
};
if ($@  or  !defined($pid)  or  !$cfg  or  !$lwp) {
    print "1..0\n";
    exit 0;
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
sub which_mod_perl {
	my ($mp1,$mp2);
	
	# First, we check mod_perl version in standard dir
	$mp1 = require_mod_perl();
	
	# Check if mod_perl installed version is mp1 or mp2 generation
	if ( $mp1 >= 1.99 ) {
		$mp2 = $mp1;
		$mp1 = 0;
	}
	# Check mp2 under Apache2 dir
	else {
	   $mp2 = require_mod_perl(2);
	}
	return ($mp1,$mp2);
}
sub require_mod_perl {
view release on metacpan or search on metacpan
lib/App/Alice/Config.pm view on Meta::CPAN
sub load {
  my $self = shift;
  my $config = {};
  if (-e $self->fullpath) {
    $config = require $self->fullpath;
  }
  else {
    say STDERR "No config found, writing a few config to ".$self->fullpath;
    $self->write;
  }
view release on metacpan or search on metacpan
lib/App/CPANtoRPM.pm view on Meta::CPAN
   #   build_requires     => FEATURE => VERSION
   #   configure_requires => FEATURE => VERSION
   # or a new style META.json file:
   #   prereqs =>
   #      LEVEL =>                 LEVEL = configure, build, test, runtime
   #         KEY =>                KEY   = requires, recommends
   #            FEATURE => VERSION
   #
   # If we find prereqs in multiple files, we'll merge them
   # (but we'll use the VERSION from the first file they're
   # found in so we'll assume that we're examining the most
view release on metacpan or search on metacpan
lib/App/Chart/Gtk2/IndicatorModel.pm view on Meta::CPAN
  $self->set ($self->append(undef),
              COL_KEY,     'None',
              COL_NAME,    __('None'));
  my $aref = require App::Chart::Gtk2::IndicatorModelGenerated;
  # add anything not in IndicatorModelGenerated.pm
  {
    require Module::Find;
    require Gtk2::Ex::TreeModelBits;
view release on metacpan or search on metacpan
; version_rel_day   = 14
; version_rel_hour  = 9
; version_rel_time_zone = Pacific/Auckland
; 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 release on metacpan or search on metacpan
share/status/app/lib/angular/angular.js view on Meta::CPAN
      function getControllers(require, $element, elementControllers) {
        var value, retrievalMethod = 'data', optional = false;
        if (isString(require)) {
          while((value = require.charAt(0)) == '^' || value == '?') {
            require = require.substr(1);
            if (value == '^') {
              retrievalMethod = 'inheritedData';
            }
            optional = optional || value == '?';
          }
view release on metacpan or search on metacpan
name=App-ListSoftwareLicenses
[GenPericmdScript/GenPericmdScript::list_software_licenses]
url=/App/ListSoftwareLicenses/list_software_licenses
code_before_instantiate_cmdline= require App::ListSoftwareLicenses; { no warnings; $App::ListSoftwareLicenses::SPEC{list_software_licenses}{args}{detail}{cmdline_aliases} = {l=>{}}; } # convenience
[@Author::PERLANCAR]
:version=0.608
[Prereqs]
view release on metacpan or search on metacpan
share/js/core/require-2.3.5.js view on Meta::CPAN
     * @returns {Error}
     */
    function makeError(id, msg, err, requireModules) {
        var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);
        e.requireType = id;
        e.requireModules = requireModules;
        if (err) {
            e.originalError = err;
        }
        return e;
    }
share/js/core/require-2.3.5.js view on Meta::CPAN
    if (typeof requirejs !== 'undefined') {
        if (isFunction(requirejs)) {
            //Do not overwrite an existing requirejs instance.
            return;
        }
        cfg = requirejs;
        requirejs = undefined;
    }
    //Allow for a require config object
    if (typeof require !== 'undefined' && !isFunction(require)) {
        //assume it is a config object.
        cfg = require;
        require = undefined;
    }
    function newContext(contextName) {
        var inCheckLoaded, Module, context, handlers,
share/js/core/require-2.3.5.js view on Meta::CPAN
     *
     * Make a local req variable to help Caja compliance (it assumes things
     * on a require that are not standardized), and to give a short
     * name for minification/local scope use.
     */
    req = requirejs = function (deps, callback, errback, optional) {
        //Find the right context, use default
        var context, config,
            contextName = defContextName;
view release on metacpan or search on metacpan
share/public_html/static/hls.js view on Meta::CPAN
      var queue = modulesQueue[queueName]
      var moduleToCheck = queue.pop()
      seenModules[queueName] = seenModules[queueName] || {}
      if (seenModules[queueName][moduleToCheck] || !sources[queueName][moduleToCheck]) continue
      seenModules[queueName][moduleToCheck] = true
      requiredModules[queueName] = requiredModules[queueName] || []
      requiredModules[queueName].push(moduleToCheck)
      var newModules = getModuleDependencies(sources, sources[queueName][moduleToCheck], queueName)
      var newModulesKeys = Object.keys(newModules)
      for (var j = 0; j < newModulesKeys.length; j++) {
        modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]] || []