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/perl-Text-Schmutz.git
view all matches for this distribution
view release on metacpan or search on metacpan
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
return factory( $, root, root.document );
};
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
if ( ! $.fn.dataTable.Buttons ) {
require('datatables.net-buttons')(root, $);
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
if ( ! $.fn.dataTable.Buttons ) {
require('datatables.net-buttons')(root, $);
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
return factory( $, root, root.document );
};
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
return factory( $, root, root.document );
};
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
return factory( $, root, root.document );
};
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
if ( ! root ) {
root = window;
}
if ( ! $ || ! $.fn.dataTable ) {
$ = require('datatables.net')(root, $).$;
}
return factory( $, root, root.document );
};
}
share/datatables-1.10.22/datatables.js view on Meta::CPAN
module.exports = function (root, $) {
if (!root) {
root = window;
}
if (!$ || !$.fn.dataTable) {
$ = require('datatables.net')(root, $).$;
}
return factory($, root, root.document);
};
}
else {
share/datatables-1.10.22/datatables.js view on Meta::CPAN
module.exports = function (root, $) {
if (!root) {
root = window;
}
if (!$ || !$.fn.dataTable) {
$ = require('datatables.net-dt')(root, $).$;
}
if (!$.fn.dataTable.searchBuilder) {
require('datatables.net-searchbuilder')(root, $);
}
return factory($, root, root.document);
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
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
- tied hashes arrays or scalars
- weak reference (See weaken function of =Scalar::Util= for details)
This module was tested with perl5.8.2 and Tk 804.025 (beta). But
should work with older versions of perl (> 5.6.1) or Tk. On the other
hand, =data-viewer= requires Perl 5.16.
See the embedded documentation in the module for more details.
*Note* that test program (in the 't' directory) can be run interactively
this way :
view all matches for this distribution
view release on metacpan or search on metacpan
pTk/mTk/generic/tkGrid.c view on Meta::CPAN
for (slavePtr = layoutPtr[slot].binNextPtr; slavePtr != NULL;
slavePtr = slavePtr->binNextPtr) {
int span = (slotType == COLUMN) ? slavePtr->numCols : slavePtr->numRows;
int required = slavePtr->size + layoutPtr[slot - span].minOffset;
if (required > layoutPtr[slot].minOffset) {
layoutPtr[slot].minOffset = required;
}
}
offset = layoutPtr[slot].minOffset;
}
pTk/mTk/generic/tkGrid.c view on Meta::CPAN
slavePtr = slavePtr->binNextPtr) {
int span = (slotType == COLUMN) ? slavePtr->numCols : slavePtr->numRows;
int require = offset - slavePtr->size;
int startSlot = slot - span;
if (startSlot >=0 && require < layoutPtr[startSlot].maxOffset) {
layoutPtr[startSlot].maxOffset = require;
}
}
offset -= layoutPtr[slot].minSize;
slot--;
if (layoutPtr[slot].maxOffset < offset) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Treex/Core/Resource.pm view on Meta::CPAN
version 2.20210102
=head1 SYNOPSIS
use Treex::Core::Resource qw(require_file_from_share);
my $path = require_file_from_share('relative/path/to/file/within/Treex/Share');
open my $MODEL, '<', $path or log_fatal($!);
# or
my $path = require_file_from_share('./relative/path/from/the/current/directory');
my $path = require_file_from_share('/absolute/path');
=head1 DESCRIPTION
This module provides access to shared resources (e.g. models). First it tries to locate it on local computer.
If not found, download from server (L<http://ufallab.ms.mff.cuni.cz/>).
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Treex/Block/W2A/EN/FixTagsAfterParse.pm view on Meta::CPAN
return;
}
sub process_start {
my $self = shift;
my $file_path = require_file_from_share($TAGS_FILE);
open my $IN, '<:encoding(utf8)', $file_path or log_fatal $!;
while (<$IN>) {
chomp;
my ( $form, @tags ) = split /\t/, $_;
foreach my $tag (@tags) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Treex/Tool/Parser/JDEPP.pm view on Meta::CPAN
sub BUILD {
my ($self) = @_;
# TODO find architecture independent solution
my $bin_path = require_file_from_share(
'installed_tools/parser/jdepp/bin/jdepp',
ref($self)
);
#TODO: fix setting up of the model_dir via Treex (see W2A::JA::ParseJDEPP)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Treex/Block/W2A/ParseMSTperl.pm view on Meta::CPAN
$parser->load_model($model_file);
if ( $self->additional_model_from_share ) {
if ( $config->use_pmi) {
my $filename = $self->model_dir . '/' . $config->pmi_model_file;
my $loaded_filename = require_file_from_share( $filename, ref($self) );
$config->pmi_model_file($loaded_filename);
}
if ( $config->use_cprob) {
my $filename = $self->model_dir . '/' . $config->cprob_model_file;
my $loaded_filename = require_file_from_share( $filename, ref($self) );
$config->cprob_model_file($loaded_filename);
}
}
# filenames in config have been changed -- can now load
view all matches for this distribution
view release on metacpan or search on metacpan
share/static/index.js.map view on Meta::CPAN
{"version":3,"sources":["webpack:///index.js","webpack:///webpack/bootstrap 5eb2d13f2f5004dfb730","webpack:///./~/css-loader/lib/css-base.js","webpack:///./~/style-loader/addStyles.js","webpack:///./~/d3/d3.js","webpack:///./~/jquery/dist/jquery.js",...
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs / TestRequires]
Moo = 1.006000
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/Types-Const.git
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs]
version = 0.77
[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends
[GitHub::Meta]
repo = git://github.com/robrwo/Types-SQL.git
view all matches for this distribution
view release on metacpan or search on metacpan
script/nav_data_dump.js view on Meta::CPAN
*/
var packet = "88776655d004800f346f000001000000000094000000020059000000bf4ccccd00209ec400941a47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000e4f...
var packet_buf = new Buffer( packet, "hex" );
var parseNavData = require( "parseNavdata" );
var navdata = parseNavData( packet_buf );
console.log( navdata );
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/nav_data_dump.js view on Meta::CPAN
*
*/
var packet = "88776655f504800fb51700000100000000009400000003004c0000000000b8c20000dcc30030654616020000c73d86431d4143c300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000e53b...
var packet_buf = new Buffer( packet, "hex" );
var parseNavData = require( "parseNavdata" );
var navdata = parseNavData( packet_buf );
console.log( navdata );
view all matches for this distribution
view release on metacpan or search on metacpan
src/googleurl/src/url_canon_icu.cc view on Meta::CPAN
output->set_length(begin_offset + required_capacity);
return;
}
// Output didn't fit, expand
dest_capacity = required_capacity;
output->Resize(begin_offset + dest_capacity);
} while (true);
}
// Converts the Unicode input representing a hostname to ASCII using IDN rules.
view all matches for this distribution
view release on metacpan or search on metacpan
udpipe/udpipe.cpp view on Meta::CPAN
}
// Compute error vector
w.error_outcomes.resize(outcomes_size);
for (unsigned i = 0; i < outcomes_size; i++)
w.error_outcomes[i] = (i == required_outcome) - w.outcomes[i];
// Backpropagate error_outcomes to error_hidden
w.error_hidden.assign(hidden_layer_size, 0);
for (auto&& i : w.hidden_kept)
for (unsigned j = 0; j < outcomes_size; j++)
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/Valence.pm view on Meta::CPAN
=head2 BROWSER TO PERL
In order for the browser to send a message to your perl code, it should execute something like the following javascript code:
var ipcRenderer = require('electron').ipcRenderer;
ipcRenderer.send('my-event', 'my message');
On the perl side, you receive these messages like so:
my $ipcMain = $electron->attr('ipcMain');
lib/Valence.pm view on Meta::CPAN
my $web_contents = $main_window->attr('webContents');
$web_contents->send('my-event' => 'my message');
And the javascript side can receive these messages like so:
var ipcRenderer = require('electron').ipcRenderer;
ipcRenderer.on('my-event', function(event, message) {
console.log(message); // prints 'my message'
});
=head2 IPC READY EVENTS
view all matches for this distribution
view release on metacpan or search on metacpan
lib/WWW/Mechanize/PhantomJS.pm view on Meta::CPAN
sub document {
$_[0]->driver->find_element('html','tag_name');
}
# If things get nasty, we could fall back to PhantomJS.webpage.plainText
# var page = require('webpage').create();
# page.open('http://somejsonpage.com', function () {
# var jsonSource = page.plainText;
sub decoded_content {
$_[0]->driver->get_page_source
};
view all matches for this distribution
view release on metacpan or search on metacpan
wasm3/platforms/emscripten_lib/run_native.js view on Meta::CPAN
'use strict';
if (typeof(process) != 'undefined') { // Node.js environment?
var scriptArgs = process.argv.slice(2);
const fs = require('fs');
var readFile = (fn) => new Uint8Array(fs.readFileSync(fn));
} else {
var readFile = (fn) => read(fn, 'binary');
}
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs]
FFI::Platypus::Type::PtrObject = 0.02
[DynamicPrereqs / AlienWasmtime]
-condition = do { use FFI::CheckLib 0.26; !find_lib lib => 'wasmtime', symbol => ['wasmtime_func_as_funcref'] }
-body = requires('Alien::wasmtime', '0.17')
[Author::Plicease::Upload]
cpan = 1
[InsertExample]
view all matches for this distribution
view release on metacpan or search on metacpan
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/external/globalize.culture.de-DE.js view on Meta::CPAN
if ( typeof require !== "undefined"
&& typeof exports !== "undefined"
&& typeof module !== "undefined" ) {
// Assume CommonJS
Globalize = require( "globalize" );
} else {
// Global variable
Globalize = window.Globalize;
}
view all matches for this distribution
view release on metacpan or search on metacpan
my $psgi = shift or usage();
my $method = shift or usage();
my $url = shift or usage();
my $app = require $psgi;
my $request = HTTP::Request->new($method, $url);
$request->header(%headers);
$request->dump(maxlength => 2000);
view all matches for this distribution
view release on metacpan or search on metacpan
examples/rotatingCube.pl view on Meta::CPAN
use Math::Trig qw/:pi tan/;
use Math::3Space qw/space vec3 perspective_projection/;
use FindBin qw/$Bin $Script/;
my $cube = require "$Bin/$Script.cube.pl";
my $wgpu = WebGPU::Direct->new;
my $width = 600;
my $height = 600;
view all matches for this distribution
view release on metacpan or search on metacpan
[Prereqs / TestNeeds]
-phase = test
Import::Into = 1.002003
[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