code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
print "Hello, Comments!";
# This is a comment
=pod
This is a
multiline comment
=cut | Bigsby/langs | src/pl/comments.pl | Perl | apache-2.0 | 86 |
=pod
=head1 NAME
BN_CTX_new, BN_CTX_init, BN_CTX_free - allocate and free BN_CTX structures
=head1 SYNOPSIS
#include <openssl/bn.h>
BN_CTX *BN_CTX_new(void);
void BN_CTX_init(BN_CTX *c);
void BN_CTX_free(BN_CTX *c);
=head1 DESCRIPTION
A B<BN_CTX> is a structure that holds B<BIGNUM> tempor... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/doc/crypto/BN_CTX_new.pod | Perl | bsd-2-clause | 1,511 |
% Frame number: 0
holdsAt( orientation( id0 )=176, 0 ). holdsAt( appearance( id0 )=appear, 0 ).
% Frame number: 1
holdsAt( orientation( id0 )=178, 40 ). holdsAt( appearance( id0 )=visible, 40 ).
% Frame number: 2
holdsAt( orientation( id0 )=176, 80 ). holdsAt( appearance( id0 )=visible, 80 ).
% Frame number:... | JasonFil/Prob-EC | dataset/smooth-noise/18-LeftBag_PickedUp/lbpugtAppearenceIndv.pl | Perl | bsd-3-clause | 161,743 |
=pod
=head1 NAME
UI_METHOD,
UI_create_method, UI_destroy_method, UI_method_set_opener,
UI_method_set_writer, UI_method_set_flusher, UI_method_set_reader,
UI_method_set_closer, UI_method_set_data_duplicator,
UI_method_set_prompt_constructor, UI_method_set_ex_data,
UI_method_get_opener, UI_method_get_writer, UI_method_... | jens-maus/amissl | openssl/doc/man3/UI_create_method.pod | Perl | bsd-3-clause | 7,974 |
#!/usr/bin/perl -w
#
# snp_view.pl
#
# Copyright 2008 Simon Gladman <gla048@localhost.localdomain>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the L... | reiverjohn/biobench2 | velvet/contrib/afg_handling/snp_view.pl | Perl | apache-2.0 | 4,994 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | indhub/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/NDArray/Sparse.pm | Perl | apache-2.0 | 43,808 |
# tunnel-lib.pl
# Common functions for the HTTP-tunnel module
use strict;
use warnings;
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
sub fix_end_url {
my ($url) = @_;
if ($url =~ m/^(http|https):\/\/(\S+)$/ ) {
my $schema = $1."://";
my $host = $2;
# check: http://aa.c... | BangL/webmin | tunnel/tunnel-lib.pl | Perl | bsd-3-clause | 601 |
package sandhi;
use Exporter ();
@ISA = qw(Exporter);
@EXPORT = qw(sandhi sandhioptions);
# sandhi.pm
# implementation of 'sandhi' routine from SandhiGen.pp (PMS 2000/10/14)
# This is derived from sandhi-inc/sandhi.pl, by directly including all the
# 'plinc' files.
# Perl implementation Feb 9, 2009 ejf
# April 22, 2... | funderburkjim/ScharfSandhi | perl/sandhi.pm | Perl | mit | 70,319 |
package VS::RuleEngine::Loader::XML;
use strict;
use warnings;
use Carp qw(croak);
use Scalar::Util qw(blessed);
use XML::LibXML;
use VS::RuleEngine::Engine;
use VS::RuleEngine::Util qw(is_existing_package);
use Object::Tiny qw(_ruleset);
our $VERSION = "0.05";
sub _new {
my ($pkg) = @_;
my $self = bless ... | gitpan/VS-RuleEngine-Loader-XML | lib/VS/RuleEngine/Loader/XML.pm | Perl | mit | 13,434 |
#!/usr/bin/perl
use strict;
use warnings;
use File::Spec ();
use File::Temp '&tempfile';
use File::Copy '&move';
{
my ( $path, $version ) = @ARGV;
chomp $path;
chomp $version;
exit 1 unless $path and $version;
exit 2 unless $version > 0;
my @list = &get_files( $path );
while( defined( my $file = shift @li... | kainwinterheart/salvation-macroprocessor | set_version.pl | Perl | mit | 1,306 |
%Example 1 (3 copies). 12046 new rule occurrences covered. Corpus coverage: 5/3242 (0.15%)
sent('what is the carbon dioxide level and temperature at crew hatch').
%Example 2 (1 copies). 2219 new rule occurrences covered. Corpus coverage: 44/3242 (1.36%)
sent('measure temperature and carbon dioxide at storage according... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/PSA/corpora/psa_rationalised_corpus.pl | Perl | mit | 24,975 |
package LogReporter::Filter::Date;
use Moose::Role;
use namespace::autoclean;
#extends 'LogReporter::Filter';
requires 'filter';
1;
| imMute/LogReporter | lib/LogReporter/Filter/Date.pm | Perl | mit | 134 |
:-include(adventure).
%room connections are symmetric
connection(X,Y):-door(X,Y).
connection(X,Y):-door(Y,X).
%Write only the first name or description found
write_name(Object):-name(Object,N),write(N),!.
write_short(Object):-short_desc(Object,Desc),write(Desc),!.
write_long(Object):-long_desc(Object,Desc),write(Desc)... | davidbrowning/4700 | cs4700/projects/prolog/adventure/week2.pl | Perl | mit | 3,602 |
#!/usr/bin/perl
# robust_good_groups.pl
# finds all groups of Bb, Bvv and Bo that are consistently identified across IVs
use strict; use warnings;
my $groups_in = "groups_1.5_GoodGroups.txt";
my $test1_in = "groups_0.5.txt";
my $test2_in = "groups_5.0.txt";
my $groups_out = "RobustGroups_4tax.txt";
my $ingroups;
my $t... | beanurn/orthoset | robust_good_groups.pl | Perl | mit | 2,248 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email comme... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VariationAdaptor.pm | Perl | apache-2.0 | 40,833 |
use Test::More;
use POSIX ":sys_wait_h";
use AE;
use Promises qw(deferred);
my $es = do "es_async.pl";
my $cxn_class = ref $es->transport->cxn_pool->cxns->[0];
ok wait_for( $es->info ), "$cxn_class - Info before fork";
my $Kids = 4;
my %pids;
for my $child ( 1 .. $Kids ) {
my $pid = fork();
if ($pid) ... | gitpan/Search-Elasticsearch-Async | t/lib/es_async_fork.pl | Perl | apache-2.0 | 1,014 |
#!/usr/bin/perl -w
############################################################
#
# $Id$
# mod_perl.pl - Example script bundled as part of RRD::Simple
#
# Copyright 2006 Nicola Worthington
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with... | neechbear/RRD-Simple | examples/mod_perl.pl | Perl | apache-2.0 | 8,301 |
package Paws::KinesisAnalytics::KinesisFirehoseOutputUpdate;
use Moose;
has ResourceARNUpdate => (is => 'ro', isa => 'Str');
has RoleARNUpdate => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::KinesisAnalytics::KinesisFirehoseOutputUpdate
=head1 USAGE
This class represe... | ioanrogers/aws-sdk-perl | auto-lib/Paws/KinesisAnalytics/KinesisFirehoseOutputUpdate.pm | Perl | apache-2.0 | 1,839 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | storage/overland/neo/snmp/mode/eventlog.pm | Perl | apache-2.0 | 4,265 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl-webcode | modules/EnsEMBL/Draw/Style/Feature/Read.pm | Perl | apache-2.0 | 4,131 |
false :-
main_verifier_error.
verifier_error(A,B,C) :-
A=0,
B=0,
C=0.
verifier_error(A,B,C) :-
A=0,
B=1,
C=1.
verifier_error(A,B,C) :-
A=1,
B=0,
C=1.
verifier_error(A,B,C) :-
A=1,
B=1,
C=1.
addition(A,B,C,D,E,F) :-
A=1,
B=1,
C=1.
addition(A,B,C,D,E,F) :-
A=0,
B=1,
... | bishoksan/RAHFT | benchmarks_scp/SVCOMP15/svcomp15-clp/Addition01_true-unreach-call_true-termination.c.pl | Perl | apache-2.0 | 1,420 |
=pod
=head1 NAME
openssl-verification-options - generic X.509 certificate verification options
=head1 SYNOPSIS
B<openssl>
I<command>
[ I<options> ... ]
[ I<parameters> ... ]
=head1 DESCRIPTION
There are many situations where X.509 certificates are verified
within the OpenSSL libraries and in various OpenSSL comma... | openssl/openssl | doc/man1/openssl-verification-options.pod | Perl | apache-2.0 | 24,737 |
package Forge::Model;
use File::Spec::Functions qw[catdir];
my @R_PREFIX_SEGMENTS = ('Forge', 'Model', 'R');
my $R_PREFIX = join '::', @R_PREFIX_SEGMENTS;
my $R_PATH = catdir($ENV{ LIB_PATH }, @R_PREFIX_SEGMENTS);
sub R_PREFIX_SEGMENTS { @R_PREFIX_SEGMENTS; }
sub R_PREFIX { $R_PREFIX; }
sub R_PATH { $R_PATH; }
sub ... | ant-i/db-crud | lib/Forge/Model.pm | Perl | apache-2.0 | 589 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl-webcode | modules/EnsEMBL/Draw/GlyphSet/TSE_background_exon.pm | Perl | apache-2.0 | 1,526 |
package Google::Ads::AdWords::v201406::TypeMaps::CampaignService;
use strict;
use warnings;
our $typemap_1 = {
'queryResponse/rval/entries/settings[DynamicSearchAdsSetting]/Setting.Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
'mutateResponse/rval/partialFailureErrors' => 'Google... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/TypeMaps/CampaignService.pm | Perl | apache-2.0 | 203,562 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | database/couchdb/restapi/mode/server.pm | Perl | apache-2.0 | 8,804 |
%%------------------------------------------------%%
%% FIPA Request Interaction protocol Participant %%
%%------------------------------------------------%%
:- interface(request_participant).
:- export(request/12).
| leuschel/ecce | www/CiaoDE/ciao/library/agents/protocols/fipa/request/request_participant.pl | Perl | apache-2.0 | 227 |
package Kalamar::Controller::Search;
use Mojo::Base 'Mojolicious::Controller';
use Mojo::Collection 'c';
use Mojo::ByteStream 'b';
use Mojo::Util qw/quote/;
use Mojo::JSON;
use POSIX 'ceil';
has items_per_page => 25;
# TODO:
# Support server timing API
#
# TODO:
# use "token" instead of "user"
#
# TODO:
# Add m... | KorAP/Kalamar | lib/Kalamar/Controller/Search.pm | Perl | bsd-2-clause | 17,162 |
package ZonemasterDB::CouchDB v0.0.1;
use Moose;
use utf8;
use 5.14.0;
use Data::Dumper;
use DBI qw(:utils);
use Store::CouchDB;
use Time::HiRes qw(gettimeofday);
use Digest::MD5 qw(md5_hex);
use JSON;
use ZonemasterDB;
with 'ZonemasterDB';
has 'db' => (
is => 'ro',
isa => 'Store::CouchDB',
lazy => 1,
builder =... | mtoma/zonemaster | Zonemaster-Backend/ZonemasterDB/CouchDB.pm | Perl | bsd-2-clause | 6,340 |
#!/usr/bin/perl
# perlpath.pl
# This script gets run only from setup.sh in order to replace the
# #!/usr/local/bin/perl line at the start of scripts with the real path to perl
$ppath = $ARGV[0];
if ($ARGV[1] eq "-") {
@files = <STDIN>;
chop(@files);
}
else {
# Get files from command line
@files = @ARGV[1..$#ARGV... | xtso520ok/webmin | perlpath.pl | Perl | bsd-3-clause | 567 |
#!/usr/bin/env perl
#
# This file is part of moses. Its use is licensed under the GNU Lesser General
# Public License version 2.1 or, at your option, any later version.
# $Id$
use warnings;
use strict;
my $lowercase = 0;
if ($ARGV[0] eq "-lc") {
$lowercase = 1;
shift;
}
my $stem = $ARGV[0];
if (!defined $stem) ... | shuoyangd/nematus | data/multi-bleu-detok.perl | Perl | bsd-3-clause | 6,000 |
%The grammar files are saved in grammars.pl
statement_with_semicolon(Data,Return_type,return(To_return)) -->
return_(Data,[
expr(Data,Return_type,To_return)
]).
statement_with_semicolon(Data,_,plus_plus(Name)) -->
plus_plus_(Data,[
var_name_(Data,int,Name)
]),!.
statement_with_semicolon(Data... | jarble/transpiler | prolog/optimized_python_parser/statement_with_semicolon.pl | Perl | mit | 3,851 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.op... | mxOBS/deb-pkg_trusty_chromium-browser | third_party/boringssl/src/crypto/sha/asm/sha1-armv4-large.pl | Perl | bsd-3-clause | 6,423 |
package utf8;
$utf8::hint_bits = 0x00800000;
our $VERSION = '1.19';
sub import {
$^H |= $utf8::hint_bits;
}
sub unimport {
$^H &= ~$utf8::hint_bits;
}
sub AUTOLOAD {
require "utf8_heavy.pl";
goto &$AUTOLOAD if defined &$AUTOLOAD;
require Carp;
Carp::croak("Undefined subroutine $AUTOLOAD cal... | operepo/ope | bin/usr/share/perl5/core_perl/utf8.pm | Perl | mit | 9,115 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | nwellnhof/lucy-clownfish | runtime/perl/lib/Clownfish/Test.pm | Perl | apache-2.0 | 1,305 |
#
# Copyright 2017 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | nichols-356/centreon-plugins | centreon/common/emc/navisphere/mode/controller.pm | Perl | apache-2.0 | 7,877 |
=head1 NAME
Parallel::ForkManager - A simple parallel processing fork manager
=head1 SYNOPSIS
use Parallel::ForkManager;
$pm = new Parallel::ForkManager($MAX_PROCESSES);
foreach $data (@all_data) {
# Forks and returns the pid for the child:
my $pid = $pm->start and next;
... do some work with $d... | bugs-bioinf/satta-2016 | scripts/Parallel/ForkManager.pm | Perl | mit | 21,083 |
#!/usr/bin/perl -w
# In general, doing
# run.pl some.log a b c is like running the command a b c in
# the bash shell, and putting the standard error and output into some.log.
# To run parallel jobs (backgrounded on the host machine), you can do (e.g.)
# run.pl JOB=1:4 some.JOB.log a b c JOB is like running the comm... | thorsonlinguistics/german-neutralization | utils/run.pl | Perl | apache-2.0 | 7,679 |
package Moose::Manual::Unsweetened;
# ABSTRACT: Moose idioms in plain old Perl 5 without the sugar
=pod
=head1 NAME
Moose::Manual::Unsweetened - Moose idioms in plain old Perl 5 without the sugar
=head1 VERSION
version 2.0604
=head1 DESCRIPTION
If you're trying to figure out just what the heck Moose does, and... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Moose/Manual/Unsweetened.pod | Perl | mit | 8,471 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/Q713JNUf8G/northamerica. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/America/Rankin_Inlet.pm | Perl | mit | 26,845 |
package O2CMS::Obj::Territory::Subregion;
use strict;
use base 'O2CMS::Obj::Territory';
use O2 qw($context);
#-------------------------------------------------------------------------------
# return localized name
sub getName {
my ($obj) = @_;
return $context->getLocale()->getTerritoryName( $obj->getCode() );
}... | haakonsk/O2-CMS | lib/O2CMS/Obj/Territory/Subregion.pm | Perl | mit | 405 |
% MODULE td_basic EXPORTS
:- module( td_basic,
[ distribute_vars/3,
vars_of_type/3,
enumerate_t/3,
append_body/3 ]).
% IMPORTS
:- use_module(home(argument_types),
[type_sub/2]).
% METAPREDICATES
% none
%*****************************************************************... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nars/prolog/miles/td_basic.pl | Perl | mit | 5,774 |
#!/usr/bin/perl -w
package Standup;
use strict;
use base qw( Bot::BasicBot::Pluggable );
use Try::Tiny;
use Switch qw( Perl6 );
use Data::Dumper;
use List::Util qw( first shuffle );
use List::MoreUtils qw( first_index );
use POE qw(Component::Schedule);
use DateTime::Event::Cron;
my $VERSION = "1.2";
sub new {
... | markpasc/tender | Standup.pm | Perl | mit | 18,206 |
:- use_module(library(mqtt)).
versions:-
mqtt_version(MqttVerMa, MqttVerMi, MqttVerRe),
pack_version(PackVerMa, PackVerMi, PackVerRe),
format('% Pack version: ~w.~w.~w Mosquitto version: ~w.~w.~w~n', [PackVerMa, PackVerMi, PackVerRe, MqttVerMa, MqttVerMi, MqttVerRe]),
true.
/*
3 ?- simple_pub('... | olsky/swi-mqtt-pack | examples/simple.pl | Perl | mit | 2,474 |
:- set_prolog_flag(double_quotes, codes).
parse(String, Expr) :- phrase(lisp(Expr), String). % Parse lisp input to AST
/**
* LISP grammar
**/
lisp([Expr|Rest]) -->
expression(Expr),
space,
lisp(Rest), !. % tail recursion
lisp([]) --> [].
% Whitespace separating expressions
space --> [S], { S =< 0' }, ... | lautis/lisp-prolog | lisp.pl | Perl | mit | 5,913 |
package Maximus::Task::Module::Upload;
use Moose;
use File::Temp;
use namespace::autoclean;
with 'Maximus::Role::Task';
has 'transporter' => (
is => 'ro',
does => 'Maximus::Role::Transport',
builder => '_transport_builder',
lazy_build => 1,
);
sub run {
my ($self, $module_version... | maximos/maximus-web | lib/Maximus/Task/Module/Upload.pm | Perl | mit | 3,214 |
package KinoSearch1::Index::SegTermDocs;
use strict;
use warnings;
use KinoSearch1::Util::ToolSet;
use base qw( KinoSearch1::Index::TermDocs );
BEGIN {
__PACKAGE__->init_instance_vars(
# constructor params
reader => undef,
);
}
our %instance_vars;
sub new {
my $self = shift->SUPER::new;
... | gitpan/KinoSearch1 | lib/KinoSearch1/Index/SegTermDocs.pm | Perl | apache-2.0 | 15,135 |
use strict;
use warnings;
use Bio::Index::Fastq;
use Getopt::Long;
use Bio::EnsEMBL::Utils::Cache;
my ($individual_name,$index_name,$database_name,$encode_region, $reads_file, $reads_names);
{
GetOptions('-index_name=s' => \$index_name,
# '-individual_name=s' => \$individual_name,
# '-encode_regio... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-variation/scripts/import/get_reads.pl | Perl | apache-2.0 | 2,976 |
package Google::Ads::AdWords::v201809::PolicyTopicConstraint;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/PolicyTopicConstraint.pm | Perl | apache-2.0 | 2,046 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | os/hpux/snmp/mode/process.pm | Perl | apache-2.0 | 7,274 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/PairAligner/LastZ.pm | Perl | apache-2.0 | 2,533 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Services/FeedService/MutateFeedsResponse.pm | Perl | apache-2.0 | 1,110 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2017] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | willmclaren/ensembl-variation | modules/Bio/EnsEMBL/Variation/DBSQL/PopulationGenotypeAdaptor.pm | Perl | apache-2.0 | 11,344 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | hardware/ups/mge/snmp/mode/environment.pm | Perl | apache-2.0 | 3,802 |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | andrewyatz/public-plugins | openid/modules/EnsEMBL/OpenID/Component/Account/LinkExisting.pm | Perl | apache-2.0 | 2,758 |
package VNDRV::Connector::CG::Caspar;
use Moose;
use DB::CasparCGSchema;
extends 'VNDRV::Connector::CG';
has 'data' => (is => 'ro', isa => 'DB::CasparCGSchema::Result::Main');
sub _db_drv_info {
return {schema => 'DB::CasparCGSchema', name => 'Pg', options => { pg_utf8_strings => 1 }};
}
sub _get_time_field_valu... | ray66rus/vndrv | lib/VNDRV/Connector/CG/Caspar.pm | Perl | apache-2.0 | 400 |
#
# Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2008 Adam Jacob
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:... | adamhjk/sid | lib/Sid/Web/Controller/Root.pm | Perl | apache-2.0 | 1,539 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | apps/vmware/connector/mode/statuscluster.pm | Perl | apache-2.0 | 5,148 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | cloud/aws/transitgateway/mode/listgateways.pm | Perl | apache-2.0 | 2,211 |
package VMOMI::DatastoreFileCopiedEvent;
use parent 'VMOMI::DatastoreFileEvent';
use strict;
use warnings;
our @class_ancestors = (
'DatastoreFileEvent',
'DatastoreEvent',
'Event',
'DynamicData',
);
our @class_members = (
['sourceDatastore', 'DatastoreEventArgument', 0, ],
['sourceFile', un... | stumpr/p5-vmomi | lib/VMOMI/DatastoreFileCopiedEvent.pm | Perl | apache-2.0 | 551 |
=head1 LICENSE
Copyright 2015 EMBL - European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required ... | FAANG/reference_data_builder | lib/Bio/RefBuild.pm | Perl | apache-2.0 | 745 |
#!/bin/perl -w
use strict;
my $F1;
my $F2;
open $F1, ">detailText";
open $F2, "<inputText";
while (my $line = <$F2>) {
print $line;
chomp $line;
my $cmd = 'http://www.mudconnect.com/cgi-bin/adv_search.cgi?Mode=MUD2&mud=' . $line;
print $F1 `curl "$cmd"`;
sleep 1;
}
close $F1;
| gbcs/iPadMudClient | MudList/getListing.pl | Perl | bsd-2-clause | 282 |
#
# GStage: a ridiculously (and intentionally) buggy IRC server
# lib/Command/JOIN.pm: handle JOIN commands
#
# Copyright (c) 2010 Stephen Belcher (sycobuny)
#
package Command::JOIN;
@ISA = qw(Command);
use warnings;
use strict;
use Method::Signatures;
use Numeric qw(
ERR_NOTREGISTERED
ERR_NEEDMOREPARAMS
... | sycobuny/GStage | lib/Command/JOIN.pm | Perl | bsd-3-clause | 3,120 |
package Driver;
# ************************************************************
# Description : Generate dependencies for Make and NMake.
# Author : Chad Elliott
# Create Date : 3/21/2007
# ************************************************************
# *******************************************************... | wfnex/openbras | src/ace/ACE_wrappers/MPC/modules/Depgen/Driver.pm | Perl | bsd-3-clause | 7,418 |
#!perl
# people assigned to my colleagues' projects
use strict;
use warnings;
use Web::Query;
use Acme::CPANAuthors;
local $| = 1;
my @authors = Acme::CPANAuthors->new('Booking')->id;
wq("http://rawgit.com/CPAN-PRC/resources/master/january.html")
->find('tbody > tr')
->each( sub {
my $release = $_->fi... | mishin/web-scraping | prc2.pl | Perl | bsd-3-clause | 625 |
/*****************************************************************************
* This file is part of the Prolog Development Tool (PDT)
*
* WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start
* Mail: pdt@lists.iai.uni-bonn.de
* Copyright (C): 2004-2012, CS Dept. III, University of Bonn
*
* All rights reserve... | TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/pdt.common/pl/pdt_search.pl | Perl | mit | 40,830 |
#!/usr/bin/perl
###############################################################################
#
# USAGE: perl prep_bnx.pl [dataset directory] [bnx directory]
#
# Created by jennifer shelton
#
# Script moves Molecules.bnx files into a common bnx directory and renames with auto-incremented numbers. Make paths absolute... | kstatebioinfo/Irys-scaffolding | KSU_bioinfo_lab/assemble_SGE_cluster/prep_bnx.pl | Perl | mit | 2,388 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | kumarsaurabh20/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/DumpMultiAlign/CreateSuperJobs.pm | Perl | apache-2.0 | 2,711 |
package Google::Ads::AdWords::v201409::SharedSetService::mutate;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' }
__PACKAGE__->__set_name('mutate');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/SharedSetService/mutate.pm | Perl | apache-2.0 | 1,966 |
package Paws::ECR::GetRepositoryPolicyResponse;
use Moose;
has PolicyText => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'policyText' );
has RegistryId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'registryId' );
has RepositoryName => (is => 'ro', isa =... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ECR/GetRepositoryPolicyResponse.pm | Perl | apache-2.0 | 838 |
package #
Date::Manip::Offset::off477;
# Copyright (c) 2008-2013 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | nriley/Pester | Source/Manip/Offset/off477.pm | Perl | bsd-2-clause | 855 |
#!/usr/bin/perl
#
# Generate a Mac OS X Finder .DS_Store file for use on the Mumble disk image.
#
# Copyright (c) 2009 Mikkel Krautz <mikkel@krautz.dk>
#
# Released under the same terms as Mumble itself.
#
#
# Notes:
#
# The use of binary plists inside the DS_Store seems to be new for the Finder in Mac OS ... | vgaessler/whisper_client | installer_macx/gendmg.pl | Perl | bsd-3-clause | 2,752 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/Nv/45.pl | Perl | mit | 430 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | apache/lucy | perl/lib/Lucy/Document/HitDoc.pm | Perl | apache-2.0 | 892 |
#-----------------------------------------------------------
# sql_lastconnect.pl
#
# Per MS, Microsoft Data Access Components (MDAC) clients can attempt
# to use multiple protocols based on a protocol ordering, which is
# listed in the SuperSocketNetLib\ProtocolOrder value. Successful
# connection attempts (f... | raman-bt/autopsy | RecentActivity/release/rr-full/plugins/sql_lastconnect.pl | Perl | apache-2.0 | 2,019 |
# Copyright (c) 2009, 2010 Oleksandr Tymoshenko <gonzo@bluezbox.com>
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notic... | melmothx/EBook-EPUB | lib/EBook/EPUB/Spine/Itemref.pm | Perl | bsd-2-clause | 2,897 |
#!perl -w
use strict;
use Imager;
my ($font_filename, $size, $out_filename, @text) = @ARGV;
@text
or usage();
$size =~ /^\d+$/ && $size >= 10
or die "size must be 10 or greater";
my $text = "@text";
my $mark_color = Imager::Color->new('#00F');
my $text_color = Imager::Color->new('#fff');
my $font = Imager::Fo... | oppai/isucon3 | final/misc/Imager-patched/samples/align-string.pl | Perl | mit | 2,146 |
#!/usr/bin/env perl
# run-test-suites.pl
#
# This file is part of mbed TLS (https://tls.mbed.org)
#
# Copyright (c) 2015-2016, ARM Limited, All Rights Reserved
#
# Purpose
#
# Executes all the available test suites, and provides a basic summary of the
# results.
#
# Usage: run-test-suites.pl [-v]
#
# Options :
# -v|... | bukepo/openthread | third_party/mbedtls/repo/tests/scripts/run-test-suites.pl | Perl | bsd-3-clause | 3,046 |
#-----------------------------------------------------------
# vmplayer.pl
# Extracts full filepath for recent VMware Player VM images
#
# Change history
# 20110830 [fpi] + banner, no change to the version number
#
# References
#
# copyright (c) 2011-02-04 Brendan Coles <bcoles@gmail.com>
#-------------------------... | dgrove727/autopsy | thirdparty/rr-full/plugins/vmplayer.pl | Perl | apache-2.0 | 2,549 |
package URI::ssh;
require URI::_login;
@ISA=qw(URI::_login);
# ssh://[USER@]HOST[:PORT]/SRC
sub default_port { 22 }
sub secure { 1 }
1;
| Dokaponteam/ITF_Project | xampp/perl/vendor/lib/URI/ssh.pm | Perl | mit | 140 |
#!/usr/bin/perl -w
print "Username: ";
$username = <STDIN>;
print "Password: ";
$password = <STDIN>;
chomp $username;
chomp $password;
if (!open(FILE, "<users/$username.password")) {
print "Username invalid\n";
} else {
$real_password = <FILE>;
chomp $real_password;
if ($real_password eq $password) ... | Cyberbully/COMP2041-15s2 | tut/9thu/login.pl | Perl | mit | 434 |
package HTML;
use URI;
use URI::QueryParam;
sub New {
my $ClassName = shift;
my $Self = shift;
bless $Self, $ClassName;
return $Self;
}
sub Hash2Query {
my ($Self, $Hash) = @_;
my $URI = URI->new;
$URI->query_form_hash($Hash);
return $URI->query;
}
sub HyperLink {
my ($Self,... | joelonsql/pgselector | HTML.pm | Perl | mit | 7,768 |
:- use_module(library(clpfd)).
rainhas([], []). % Predicado para caso geral
rainhas(A, B) :-
append([], A, Bcp),
length(A, T),
foreach(member(X, A), X =< T) -> % Testa se todas as posições passadas por parâmtro respeita o tamanho do tabuleiro.
(
salvo(Bcp) -> (
length(A, X),
write('Po... | pauloapanucci/n-queen-prolog | nqueens.pl | Perl | mit | 4,830 |
sub showtime {
print "Time 2: ", time, "\n";
}
sub sum {
print "(Sum 2) $_[0] + $_[1]\n";
return $_[0] + $_[1];
}
sub distArg {
print "DistArgs 2\n";
foreach(@_){
print "Arg: $_ \n";
}
}
sub squareAll {
print "square all! (2)\n";
my @ret;
foreach(@_){
print "$_ ";
push (@ret, $_*$_);
}
print "\n... | hugombarreto/CPlusPerl | docs/example1Perl2.pl | Perl | mit | 391 |
# slimrat - Magaupload plugin
#
# Copyright (c) 2009 Přemek Vyhnal
#
# This file is part of slimrat, an open-source Perl scripted
# command line and GUI utility for downloading files from
# several download providers.
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software a... | pmcenery/slimrat-debian | src/plugins/Megaupload.pm | Perl | mit | 3,720 |
package Syntax::Highlight::Engine::Simple::Perl;
use strict;
use warnings;
use base qw(Syntax::Highlight::Engine::Simple);
#use version;
our $VERSION = '0.02';
### ----------------------------------------------------------------------------
### set syntax
### -----------------------------------------------------------... | haakonsk/O2-Framework | lib/O2/Util/ExternalModule/lib/Syntax/Highlight/Engine/Simple/Perl.pm | Perl | mit | 10,056 |
#!/usr/bin/perl
use warnings;
use strict;
use v5.14;
use File::Copy;
use Test::More;
use IsKernel::CandyAntivirus::Configuration;
use constant DEFAULT_VIRUS_SIGNATURES_PATH => "../../TestFiles/test_xvirsig.cfg";
use constant DEFAULT_QUARANTINE_PATH => "../../TestFiles/TestQuarantine/";
use constant DEFAULT_WORKING_... | iskernel/candy-antivirus | test/IsKernel/CandyAntivirus/ConfigurationTests.pl | Perl | mit | 4,330 |
# vi:sw=2
package # Hide from PAUSE
types;
use strictures 2;
use base 'Exporter';
our @EXPORT_OK = qw(
types_test
);
use DDP;
use Test2::V0 qw(
subtest like cmp_ok
);
# E item object array bag hash subtest skip_all number is match call field
# end
use DBIx::Class::Sims::Runner;
use DBIx::Class::Sims::Types;... | robkinyon/dbix-class-sims | t/lib/types.pm | Perl | mit | 1,601 |
=pod
=head1 NAME
X509_STORE_set_verify_cb_func, X509_STORE_set_verify_cb - set verification callback
=head1 SYNOPSIS
#include <openssl/x509_vfy.h>
void X509_STORE_set_verify_cb(X509_STORE *st,
int (*verify_cb)(int ok, X509_STORE_CTX *ctx));
void X509_STORE_set_verify_cb_func(X509_STORE *st,
int (*verif... | vbloodv/blood | extern/openssl.orig/doc/crypto/X509_STORE_set_verify_cb_func.pod | Perl | mit | 1,337 |
#!/usr/bin/perl -w
use strict;
use DBI;
my $driver = "mysql";
my $dsn = "database=eveindustry";
my $username = "admin";
my $passwd = <stdin>;
chomp $passwd;
my $dbh = DBI->connect("dbi:$driver:$dsn", $username, $passwd, { AutoCommit => 1 }) or die "Failed to connect to database: $DBI::errstr";
my $getkey = $dbh -> prep... | Aidansavage/EVE-PI-tool | datatest.pl | Perl | mit | 605 |
package test_BuildArea;
use strict;
use DevOps::BuildArea;
use Paf::File::TempDir;
use Paf::Platform::TestHost;
use Paf::Platform::Task;
use Paf::Platform::TaskSeries;
1;
sub new {
my $class=shift;
my $self={};
bless $self, $class;
$self->{tmpdir}=Paf::File::TempDir->new();
return $self;
}
sub te... | chrisjwilliams/devops | DevOps/test/test_BuildArea.pm | Perl | mit | 4,250 |
package App::Settings::Test;
use Prophet::Util;
use warnings;
use strict;
use base qw(Prophet::Test Exporter);
use lib 't/Settings/lib';
use App::Settings::CLI;
our @EXPORT = qw/as_alice as_bob diag run_command like ok
repo_uri_for replica_uuid/;
Prophet::Test->import;
$Prophet::Test::CLI_CLASS = 'App::Settings:... | gitpan/Prophet | t/Settings/lib/App/Settings/Test.pm | Perl | mit | 332 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
my $ram = 20;
my $ncore = 25;
my $config = '/home/biotools/tri-scripts/pipeline_general_config.pl';
my ($BASE_NAME, $GVCF_LIST);
my $FOLDER = '';
our $logfile = 'log.txt';
# Get command line arguments
GetOptions('conf=s' => \$config,
'log=s' => ... | tri-CSI/Bioinfo | projects/xenograft/pdx_mapqlassify.pl | Perl | cc0-1.0 | 10,018 |
package Paws::SSM::CommandInvocation;
use Moose;
has CommandId => (is => 'ro', isa => 'Str');
has CommandPlugins => (is => 'ro', isa => 'ArrayRef[Paws::SSM::CommandPlugin]');
has Comment => (is => 'ro', isa => 'Str');
has DocumentName => (is => 'ro', isa => 'Str');
has InstanceId => (is => 'ro', isa => 'Str... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SSM/CommandInvocation.pm | Perl | apache-2.0 | 6,324 |
package Google::Ads::AdWords::v201402::ConstantDataService::getMobileDeviceCriterionResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('getMobileDeviceCriterionResponse');
__PACKAGE__->__set_nillable();
__PAC... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/ConstantDataService/getMobileDeviceCriterionResponse.pm | Perl | apache-2.0 | 1,875 |
#!/usr/bin/perl
use strict;
use warnings;
package DB::Replenishment;
sub new {
my $class = shift;
my $self = {
dbh => shift,
replen_id => shift
};
bless $self, $class;
return $self;
}
sub get_beginning_datetime {
my $self = shift;
my $dbh = $self->{dbh};
my $repl... | nrusin/inventory | Source/DB/Replenishment.pm | Perl | apache-2.0 | 1,722 |
package Google::Ads::AdWords::v201809::UserStatus;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type class for ... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/UserStatus.pm | Perl | apache-2.0 | 1,109 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | centreon/common/powershell/wsus/synchronisationstatus.pm | Perl | apache-2.0 | 3,217 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2018] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/public-plugins | tools/modules/EnsEMBL/Web/Component/Tools/Blast/Alignment.pm | Perl | apache-2.0 | 13,516 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl | modules/Bio/EnsEMBL/DBSQL/MetaContainer.pm | Perl | apache-2.0 | 5,012 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.