Result:
found 687 distributions and 1334 files matching your query ! ( run in 0.922 )


Module-Metadata

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

[Prereqs / DevelopRequires]
Test::Builder = 0.90    ; for is_passing

[DynamicPrereqs]
:version = 0.016
-raw = requires('IO::Scalar') if "$]" < '5.008';

 view all matches for this distribution


Module-Release-Git

 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


Module-Release-VerifyGPGSignature

 view release on metacpan or  search on metacpan

lib/Module/Release/VerifyGPGSignature.pm  view on Meta::CPAN

=over 4

=cut

sub _get_file_pairs ( $self ) {
	state $rc = require Getopt::Long;
	my $key = _key($self);
	my $string = $self->config->$key();

	my( $ret, $args ) = Getopt::Long::GetOptionsFromString($string);

 view all matches for this distribution


Module-Release

 view release on metacpan or  search on metacpan

lib/Module/Release.pm  view on Meta::CPAN

Changes file.

=cut

sub get_release_date {
	state $rc = require Time::Piece;
	return Time::Piece->gmtime->datetime . 'Z';
	}

=item run

 view all matches for this distribution


Module-Starter-AddModule

 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


Modulino-Demo

 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


Mojo-Phantom

 view release on metacpan or  search on metacpan

lib/Mojo/Phantom.pm  view on Meta::CPAN

has template => <<'TEMPLATE';
  % my ($self, $url, $js) = @_;

  // Setup perl function
  function perl() {
    var system = require('system');
    var args = Array.prototype.slice.call(arguments);
    system.stdout.writeLine(JSON.stringify(args));
    system.stdout.writeLine('<%== $self->sep %>');
    system.stdout.flush();
  }

lib/Mojo/Phantom.pm  view on Meta::CPAN

      domain: '<%== $cookie->domain || $self->base->host %>',
    }) || perl.diag('Failed to import cookie <%== $name %>');
  % }

  // Requst page and inject user-provided javascript
  var page = require('webpage').create();
  page.onError = onError;

  % if($self->note_console) {

    // redirect browser console log to TAP

 view all matches for this distribution


Mojo-Promise-Role-HigherOrder

 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-Che

 view release on metacpan or  search on metacpan

lib/Mojo/Base/Che.pm  view on Meta::CPAN

    
    #~ push @libs, $it # abs lib
      #~ and next
      #~ if $it =~ m'^/';
    
    #~ $findbin ||= require FindBin && $FindBin::Bin;# relative lib
    #~ push @libs, $findbin.'/'.$it;
  #~ }
  
  #~ my @ok_libs = grep { my $lib = $_; not scalar grep($lib eq $_, @INC) } @libs
    #~ if @libs;

 view all matches for this distribution


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-AssetPack

 view release on metacpan or  search on metacpan

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

#!/usr/bin/env node
"use strict"

const globals = __GLOBALS__;
const external = __EXTERNAL__;
const rollup = require("rollup");
const stdout = process.stdout;

function _interopDefault(i) {
  return i && typeof i === "object" && "default" in i ? i["default"] : i;
}

 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-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

MooX::TypeTiny = 0
Moose = 0

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

[SecurityPolicy]
-policy = Individual
-policy_version = 0.10

 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


( run in 0.922 second using v1.01-cache-2.11-cpan-0d8aa00de5b )