Result:
found 725 distributions and 1437 files matching your query ! ( run in 1.369 )


Mojolicious-Plugin-AssetPack-Che

 view release on metacpan or  search on metacpan

lib/Mojolicious/Plugin/AssetPack/Pipe/VueTemplateCompiler.pm  view on Meta::CPAN

__DATA__
@@ vue-template-compiler.js
#!/usr/bin/env node
"use strict"

let fs = require("fs");
let stdinBuffer = fs.readFileSync(0); // STDIN_FILENO = 0

const compiler = require('vue-template-compiler');
const util = require('@vue/component-compiler-utils');

///et c = compiler.compile(stdinBuffer.toString());

///let errs = c.errors;

 view all matches for this distribution


Mojolicious-Plugin-DevexpressHelpers

 view release on metacpan or  search on metacpan

lib/Mojolicious/Plugin/DevexpressHelpers/Helpers.pm  view on Meta::CPAN


in your template:

	<body>
		...
		%= require_asset 'MyScript.js'
		...
	</body>

in your layout:

	<head>
		...
		%= required_assets
		...
	</head>

=head2 required_assets

 view all matches for this distribution


Mojolicious-Plugin-DirectoryServer

 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


Mojolicious-Plugin-Materialize

 view release on metacpan or  search on metacpan

lib/Mojolicious/Plugin/Materialize/js/materialize.js  view on Meta::CPAN

// Check for jQuery.
if (typeof(jQuery) === 'undefined') {
  var jQuery;
  // Check if require is a defined function.
  if (typeof(require) === 'function') {
    jQuery = $ = require('jquery');
  // Else use the dollar sign alias.
  } else {
    jQuery = $;
  }
}

 view all matches for this distribution


Mojolicious-Plugin-RevealJS

 view release on metacpan or  search on metacpan

share/public/revealjs/plugin/markdown/markdown.js  view on Meta::CPAN

 * markdown inside of presentations as well as loading
 * of external markdown documents.
 */
(function( root, factory ) {
	if (typeof define === 'function' && define.amd) {
		root.marked = require( './marked' );
		root.RevealMarkdown = factory( root.marked );
		root.RevealMarkdown.initialize();
	} else if( typeof exports === 'object' ) {
		module.exports = factory( require( './marked' ) );
	} else {

 view all matches for this distribution


Mojolicious-Plugin-Statsd

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

[RecommendedPrereqs]
[AutoPrereqs]

[Prereqs / BuildRequires ]
-phase = build
-relationship = requires
ExtUtils::MakeMaker = 7.22
Module::Metadata = 1.000015

[Prereqs / DevelopRequires ]
-phase = develop
-relationship = requires
Software::Security::Policy::Individual = 0.10
Test::CVE = 0.11
Test2::Require::AuthorTesting = 0

[SecurityPolicy]

 view all matches for this distribution


Mojolicious-Plugin-Text-Minify

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

[Prereqs]
Mojolicious = 0

[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends

[Git::CheckFor::MergeConflicts]

[GitHub::Meta]

 view all matches for this distribution


Mojolicious-Plugin-Webpack

 view release on metacpan or  search on metacpan

lib/Mojo/Alien/rollup.pm  view on Meta::CPAN


=cut

__DATA__
@@ include/core.js
const commonjs = require('@rollup/plugin-commonjs');
const {nodeResolve} = require('@rollup/plugin-node-resolve');

module.exports = function(config) {
  config.plugins.push(nodeResolve());
  config.plugins.push(commonjs());
};
@@ include/css.js
const postcss = require('rollup-plugin-postcss');

module.exports = function(config) {
  config.plugins.push(postcss({
    extract: true,
    plugins: [

lib/Mojo/Alien/rollup.pm  view on Meta::CPAN

      require('cssnano')(),
    ],
  }));
};
@@ include/eslint.js
const eslint = require('@rollup/plugin-eslint');

module.exports = function(config, {isDev}) {
  if (!isDev) return;
  config.plugins.push(eslint({
    exclude: ['node_modules/**', '**/*.css', '**/*.sass'],
    fix: process.env.ESLINT_FIX ? true : false,
  }));
}
@@ include/js.js
const {babel} = require('@rollup/plugin-babel');
const {terser} = require('rollup-plugin-terser');

module.exports = function(config, {isDev}) {
  config.plugins.push(babel({
    babelHelpers: 'runtime',
    extensions: ['.html', '.js', '.mjs'],

lib/Mojo/Alien/rollup.pm  view on Meta::CPAN

  }));

  if (!isDev) config.plugins.push(terser());
}
@@ include/sass.js
const postcss = require('rollup-plugin-postcss');

module.exports = function(config) {
  config.plugins.push(postcss({extract: true, plugins: [
    require('@csstools/postcss-sass')(),
    require('postcss-preset-env')(),
    require('cssnano')(),
  ]}));
};
@@ include/svelte.js
const svelte = require('rollup-plugin-svelte');

module.exports = function(config) {
  config.plugins.push(svelte({}));
};
@@ rollup.config.js
const fs = require('fs');
const pkg = require('./package.json');
const path = require('path');

const assetsDir = process.env.ROLLUP_ASSETS_DIR || path.resolve(__dirname, 'assets');
const isDev = process.env.NODE_ENV !== 'production';
const outDir = process.env.ROLLUP_OUT_DIR || path.resolve(__dirname, 'dist');
const ts = parseInt((new Date().getTime() / 1000), 10).toString(16);

 view all matches for this distribution


MooX-Const

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

[Prereqs]
Types::Const = v0.3.3

[Prereqs / BuildRequires ]
-phase = build
-relationship = requires
ExtUtils::MakeMaker = 7.22
Module::Metadata = 1.000015

[Prereqs / DevelopRequires ]
-phase = develop
-relationship = requires
Software::Security::Policy::Individual = 0.11
Test::CVE = 0.11
Test::MixedScripts = v0.3.0

[Prereqs / TestRequires]
-phase = test
-relationship = requires
Moo = 1.006000

[Prereqs / TestRecommends]
-phase = test
-relationship = recommends

dist.ini  view on Meta::CPAN

MooX::TypeTiny = 0
Moose = 0

; [EnsurePrereqsInstalled]
; :version = 0.003
; type = requires
; type = recommends

[SecurityPolicy]
; authordep Software::Security::Policy::Individual
-policy = Individual

 view all matches for this distribution


MooX-Lsub

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN


[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided]

[Prereqs / @Author::KENTNL/::Role::BundleDeps]
-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


MooX-NewDefaults

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN


[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided]

[Prereqs / @Author::KENTNL/::Role::BundleDeps]
-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


MooX-Should

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

remove = File::Spec
remove = Test::More

[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends

[GitHub::Meta]
repo = git://github.com/robrwo/MooX-Should.git

 view all matches for this distribution


Moose

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

; authordep Config::MVP = 2.200011

[EnsurePrereqsInstalled]
:version = 0.003
build_phase = release ; be nice to travis
type = requires
type = recommends

[Git::GatherDir]
exclude_match = ^t/recipes/(?!basics_genome_overloadingsubtypesandcoercion)
exclude_filename = Makefile.PL

 view all matches for this distribution


MooseX-Attribute-ValidateWithException

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

; version_rel_month = 6
; version_rel_day   = 18
; version_rel_hour  = 9
; 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


MooseX-AttributeIndexes

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

;version_rel_month = 8
;version_rel_day = 22
;version_rel_hour = 04
;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


MooseX-Extended

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

B::Hooks::AtRuntime = 8                                   ; minimum safe version
true                = 1.0.2                               ; minimum safe version

[Prereqs / DevelopRequires ]
-phase = develop
-relationship = requires
Perl::Critic::Policy::Moose::ProhibitMultipleWiths = 0    ; for xt tests
Perl::Critic::Policy::Moose::RequireMakeImmutable  = 0    ; for xt tests
version                                            = 0.77

[Prereqs / RuntimeSuggests]

 view all matches for this distribution


MooseX-Has-Sugar

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

;version_rel_month = 5
;version_rel_day = 15
;version_rel_hour = 19
;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


MooseX-MethodAttributes

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

; authordep Dist::Zilla::Plugin::SurgicalPodWeaver

[DynamicPrereqs]
:version = 0.018
-body = # bring sanity to boolean overload handling
-body = requires('Moose', '2.1602') if "$]" < '5.010';

[Prereqs]
namespace::autoclean = 0.08

[Prereqs / DevelopRequires]

 view all matches for this distribution


MooseX-Role-Parameterized

 view release on metacpan or  search on metacpan

t/006-requires.t  view on Meta::CPAN

        $role->name;
    } @_
}

{
    my ($role_name) = requires_names('alpha');
    like( exception {
        Moose::Meta::Class->create_anon_class(
            roles => [ $role_name ],
        );
    }, qr/'$role_name' requires the method 'alpha' to be implemented by '[\w:]+'/);

t/006-requires.t  view on Meta::CPAN

        roles => [ requires_names('alpha') ],
    );
}, undef);

{
    my ($role1, $role2) = requires_names('alpha', 'beta');
    like( exception {
        Moose::Meta::Class->create_anon_class(
            methods => {
                alpha => sub {},
            },

t/006-requires.t  view on Meta::CPAN

        );
    }, qr/'$role1\|$role2' requires the method 'beta' to be implemented by '[\w:]+'/);
}

{
    my ($role1, $role2) = requires_names('alpha', 'beta');
    like( exception {
        Moose::Meta::Class->create_anon_class(
            methods => {
                beta => sub {},
            },

 view all matches for this distribution


MooseX-ShortCut-BuildInstance

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN


[AutoPrereqs]

[Prereqs / ConfigureRecomends]
-phase = configure
-relationship = requires

Moose = 2.1213

[Prereqs / TestRecomends]
-phase = test
-relationship = requires
 
List::Util = 1.33
version = 0.77
Carp = 0
DateTime = 0

 view all matches for this distribution


Mrequire

 view release on metacpan or  search on metacpan

lib/Mrequire.pm  view on Meta::CPAN

  $file =~ s!::!/!g;
  $file .= '.pm';

  my $result;

  eval { $result = require $file };
  if ($@) {
    chomp $@;
    croak $@;
  }

 view all matches for this distribution


MyCPAN-App-DPAN

 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


MyCPAN-Indexer

 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


MySQL-Admin

 view release on metacpan or  search on metacpan

htdocs/javascript/require.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;
    }

htdocs/javascript/require.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,

htdocs/javascript/require.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 all matches for this distribution


NCustom

 view release on metacpan or  search on metacpan

lib/NCustom.pm  view on Meta::CPAN

#
#
can_ok("NCustom", qw(apt_fix)) 
  || diag("TEST:<apt_fix> is a public function of NCustom");
#
$rc = required_packages(<<'  EOF');
  EXACTLY;   9.9.9;   perl-NCustomDummy;   apt_fix()
  EOF
ok(! $rc)
  || diag("TEST:<required_packages> must return 0 if requirements arent met");
$version = `rpm -q perl-NCustomDummy --qf  \%{VERSION}`;
like($version, qr/1.23/)
  || diag("TEST:<apt_fix> must will install its version rather than nothing");
#
$rc = required_packages(<<'  EOF');
  NOTWANT;   9.9.9;   perl-NCustomDummy;   apt_fix()
  EOF
is($rc, 1)
  || diag("TEST:<required_packages> must return 1 if requirements are met");
$version = `rpm -q perl-NCustomDummy --qf  \%{VERSION}`;

 view all matches for this distribution


NanoB2B-NER

 view release on metacpan or  search on metacpan

utils/NanoB2BNER.pl  view on Meta::CPAN


=head1 OPTIONS

Optional command line arguements

=head2 Options (* = required):

=head3 --help

Displays a brief summary of program options.

 view all matches for this distribution


Neo4j-Client

 view release on metacpan or  search on metacpan

build/lib/src/render_results.c  view on Meta::CPAN

        char *newbuf = realloc(*buf, required);
        if (newbuf == NULL)
        {
            return -1;
        }
        *bufcap = required;
        *buf = newbuf;
    } while (true);

    if (type == NEO4J_NULL || type == NEO4J_BOOL || type == NEO4J_INT ||
            type == NEO4J_FLOAT)

 view all matches for this distribution


Nephia-Plugin-FormValidator-Lite

 view release on metacpan or  search on metacpan

t/test.psgi  view on Meta::CPAN

use Config::Micro;
use File::Spec;

use lib ("$FindBin::Bin/lib", "$FindBin::Bin/extlib/lib/perl5");
use Nephia::TestApp;
my $config = require( Config::Micro->file(
    dir => File::Spec->catdir('nephia-test_app','etc','conf')
));

Nephia::TestApp->run( %$config );

 view all matches for this distribution


Nephia-Plugin-Teng

 view release on metacpan or  search on metacpan

t/nephia-test_app/app.psgi  view on Meta::CPAN

use Config::Micro;
use lib (
    File::Spec->catdir(dirname(__FILE__), 'lib'), 
);
use Nephia::TestApp;
my $config = require( Config::Micro->file( dir => File::Spec->catdir('etc','conf') ) );
Nephia::TestApp->run( %$config );

 view all matches for this distribution


Nephia-Setup-Plugin-Relax

 view release on metacpan or  search on metacpan

lib/Nephia/Setup/Plugin/Relax.pm  view on Meta::CPAN

use Cache::Memcached::Fast;

my $run_env       = $ENV{PLACK_ENV} eq 'development' ? 'local' : $ENV{PLACK_ENV};
my $basedir       = dirname(__FILE__);
my $config_file   = File::Spec->catfile($basedir, 'config', $run_env.'.pl');
my $config        = require($config_file);
my $cache         = Cache::Memcached::Fast->new($config->{'Cache'});
my $session_store = Plack::Session::Store::Cache->new(cache => $cache);
my $app           = {{ $self->appname }}->run(%$config);

builder {

lib/Nephia/Setup/Plugin/Relax.pm  view on Meta::CPAN

};

@@ config.pl 
use File::Basename 'dirname';
use File::Spec;
my $common = require(File::Spec->catfile(dirname(__FILE__), 'common.pl'));
my $conf = {
    %$common,
    'Cache' => { 
        servers   => ['127.0.0.1:11211'],
        namespace => '{{ $self->appname }}',

 view all matches for this distribution


( run in 1.369 second using v1.01-cache-2.11-cpan-6aa56a78535 )