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 |
|---|---|---|---|---|---|
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] 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/ensembl | modules/Bio/EnsEMBL/IdMapping/InternalIdMapper/EnsemblTranscriptGeneric.pm | Perl | apache-2.0 | 8,532 |
#!/usr/bin/perl
package RVM v1.0.0;
use v5.14;
# Pragmas
use strict;
use warnings;
# Função que avalia se um escalar e um número, ou não.
use Scalar::Util qw(looks_like_number);
# Pacote com implementações das funções de assembly.
use functions;
sub ctrl
{
## VARIÁVEIS ########################################... | renatocf/MAC0242-PROJECT | lib/RVM/ctrl.pm | Perl | apache-2.0 | 2,098 |
package API::Asn;
#
# Copyright 2015 Comcast Cable Communications Management, 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... | mtorluemke/traffic_control | traffic_ops/app/lib/API/Asn.pm | Perl | apache-2.0 | 2,312 |
#!/usr/bin/env perl
use strict;
my $family_type = shift @ARGV;
my $dir = $ENV{'EST_PRECOMPUTE_SCRIPTS'};
die "Input pfam/gene3d/ssf unless " unless defined $family_type;
die "Load EST Module\n" unless defined $dir;
my @bins = split "\n", `ls $dir/lists/$family_type/blast/ | sort -n`;
my @todo;
my @results;
my %hash;
... | EnzymeFunctionInitiative/est-precompute-bw | 4-blast_check.pl | Perl | apache-2.0 | 1,145 |
#
# 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 | network/ruggedcom/mode/components/psu.pm | Perl | apache-2.0 | 2,732 |
############################################################
#
# $Id$
# Sys::Filesystem - Retrieve list of filesystems and their properties
#
# Copyright 2004,2005,2006 Nicola Worthington
# Copyright 2009 Jens Rehsack
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may no... | gitpan/Sys-Filesystem | lib/Sys/Filesystem/Unix.pm | Perl | apache-2.0 | 9,700 |
#!/usr/bin/perl
# Mingyu @ May 9 2013
# Summarize the results of 5_1_batch.pl
use strict;
use File::Path qw(make_path);
use Math::NumberCruncher;
#my @dTypes = ("NPNV", "NANWNO", "NPNVNONANW", "NP2DNV2D", "NP2DNV2DNONANW");
my @dTypes = ("NPNV");
unless (-d "results") { make_path "results"; }
foreach my $voc ("1k", ... | mingyu623/6DMG | 6DMG_htk/words_letter_based/5_2_stats_ext_bigram_nbest.pl | Perl | bsd-2-clause | 1,814 |
package Twitter::Authentication;
=head1 NAME
Twitter::Authentication - Basic functions for Twitter authentication.
=head1 SYNOPSIS
use Twitter::Authentication;
my $credentials = Twitter::Authentication::credentials();
my $login_data = Twitter::Authentication::login_struct();
my $parsed_xml... | gitpan/Twitter | lib/Twitter/Authentication.pm | Perl | bsd-3-clause | 2,720 |
#!/usr/bin/perl -w
my $sleep_duration = 5;
warn "starting...\n";
warn "sleeping $sleep_duration seconds...\n";
sleep $sleep_duration;
my $a = $ARGV[0];
my $b = $ARGV[1];
warn "calculating $a/$b...\n";
my $c=$a/$b;
print "$c\n";
warn "done!\n";
exit 0; | cparnot/GridStuffer | Demo/Demo5/demo5.pl | Perl | bsd-3-clause | 259 |
#!/usr/bin/perl
#
#
#
$rdir = $ARGV[0];
$exe = $ARGV[1];
$bdir = $ENV{'BIN_ROOT_DIR'};
$cmd ="${rdir}/runinitmem ${bdir}/test/${exe}";
print <<EOF
***
Tst: $__FILE__
Cmd: $cmd
***
EOF
;
system($cmd);
$stat = $? >> 8;
if ($stat != 0)
{
print "*** test failed ;-( ***\n";
exit(1);
}
print "*** test pass... | MoserMichael/cstuff | preloadut/initmem/test/initmemtest.pl | Perl | bsd-3-clause | 336 |
:- module(m3,[
]).
:- use_module(m1).
data(m3).
| TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/PDT Examples/transparent/m3.pl | Perl | mit | 50 |
/* Part of XPCE --- The SWI-Prolog GUI toolkit
Author: Jan Wielemaker and Anjo Anjewierden
E-mail: jan@swi.psy.uva.nl
WWW: http://www.swi.psy.uva.nl/projects/xpce/
Copyright (c) 1997-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source a... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/lib/help_message.pl | Perl | mit | 6,938 |
###########################################################################
#
# This file is partially auto-generated by the DateTime::Locale generator
# tools (v0.10). This code generator comes with the DateTime::Locale
# distribution in the tools/ directory, and is called generate-modules.
#
# This file was generated... | jkb78/extrajnm | local/lib/perl5/DateTime/Locale/is_IS.pod | Perl | mit | 10,010 |
#!/usr/bin/perl -w
$m_port = 0; # master port
$s_port = 0; # slave port
$compare_flag = 0;
sub print_usage {
print "Usage) perl ./run_all_repl_test.pl master_port slave_port [compare]\n";
}
if ($#ARGV >= 1 && $#ARGV <= 2) {
$m_port = $ARGV[0];
$s_port = $ARGV[1];
if ($#ARGV == 2) {
if ($ARGV[2] eq 'co... | jam2in/arcus-misc | acp-java/run_some_repl_test_v2.pl | Perl | apache-2.0 | 3,214 |
package Google::Ads::AdWords::v201406::AuthenticationError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl dat... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/AuthenticationError/Reason.pm | Perl | apache-2.0 | 1,141 |
#!/usr/bin/perl -w
use strict;
use CoGeX;
use CoGe::Accessory::Web;
use Data::Dumper;
use Getopt::Long;
use File::Path;
use vars qw($DEBUG $GO $conf_file $coge $gid $restricted $P $ftid $user $pwd);
GetOptions ( "debug=s" => \$DEBUG,
"go=s" => \$GO,
"conf_file|cf=s" => \$conf_file,
... | LyonsLab/coge | scripts/old/delete_features.pl | Perl | bsd-2-clause | 1,382 |
#
# 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... | Shini31/centreon-plugins | apps/apcupsd/local/mode/linevoltage.pm | Perl | apache-2.0 | 5,310 |
# Call.pm
#
# Copyright (c) 1995-2011 Paul Marquess. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
package Filter::Util::Call ;
require 5.005 ;
require DynaLoader;
require Exporter;
use Carp ;
use strict;
use warnings;
use var... | leighpauls/k2cro4 | third_party/perl/perl/lib/Filter/Util/Call.pm | Perl | bsd-3-clause | 12,800 |
#!/usr/bin/perl -w
# Copyright (C) 2004 by Steve Litt
# Licensed with the GNU General Public License, Version 2
# ABSOLUTELY NO WARRANTY, USE AT YOUR OWN RISK
# See http://www.gnu.org/licenses/gpl.txt
use strict; # prevent hard to find errors
use Node; # Use Node.pm tool
############################################... | jleivaizq/dotfiles | vim/vim.symlink/bundle/vimoutliner/vimoutliner/scripts/Node/example_parse.pl | Perl | mit | 4,136 |
package DDG::Goodie::IsAwesome::rp4;
# ABSTRACT: rp4's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_rp4";
zci is_cached => 1;
triggers start => "duckduckhack rp4";
handle remainder => sub {
return if $_;
return "rp4 is awesome and has successfully completed the DuckDuckHack Goo... | viluon/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/rp4.pm | Perl | apache-2.0 | 343 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.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 existence of this ... | Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Sc/Buhd.pl | Perl | mit | 421 |
#!/usr/bin/perl
use CGI qw/ :standard /;
use File::Temp qw/ tempfile tempdir /;
# my $spellercss = '/speller/spellerStyle.css'; # by FredCK
my $spellercss = '../spellerStyle.css'; # by FredCK
# my $wordWindowSrc = '/speller/wordWindow.js'; # by FredCK
my $wordWindowSrc = '../wordWindow.js'; # by F... | walterfan/pims4php | util/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl | Perl | apache-2.0 | 4,662 |
#!/usr/bin/perl
#
# Example from Etienne Lawlor at https://groups.google.com/forum/#!msg/yelp-developer-support/Bm4WQET5ios/_x2KiQqK9QMJ
#
use LWP::UserAgent;
use Net::OAuth;
$Net::OAuth::PROTOCOL_VERSION = Net::OAuth::PROTOCOL_VERSION_1_0;
use HTTP::Request::Common;
my $ua = LWP::UserAgent->new;
sub consumer_key { ... | jsuns/yelp-api | v2/perl/search.pl | Perl | mit | 1,363 |
#!/usr/bin/perl -w
use warnings;
use strict;
package loadconf;
use Cwd qw(realpath);
use File::Basename;
my $fullpath = dirname(realpath($0));
# my $config = "/mnt/d/sys/debian/bio/config";
# my $setup = "/mnt/d/sys/debian/bio/setup";
my $print = 1;
my $config = "$fullpath/config";
&loadConf;
################... | sauloal/perlscripts | bioMail/loadconf.pm | Perl | mit | 1,435 |
package ivent::DB::Schema;
use strict;
use warnings;
use utf8;
use Teng::Schema::Declare;
base_row_class 'ivent::DB::Row';
table {
name 'events';
pk 'id';
columns qw(id name started_at ended_at url capacity accepted wating location description);
};
table {
name 'events_tags';
pk 'id';
column... | mihyaeru21/ivent | lib/ivent/DB/Schema.pm | Perl | mit | 420 |
package O2CMS::Obj::Template::Object; # Description: Template for displaying an object. One template may be used for several classes.
use strict;
use base 'O2CMS::Obj::Template';
use O2 qw($context);
use O2::Util::List qw(upush contains);
#----------------------------------------------------------------------------... | haakonsk/O2-CMS | lib/O2CMS/Obj/Template/Object.pm | Perl | mit | 1,250 |
#!/usr/bin/perl
use strict;
use warnings;
my $source_server = $ARGV[0];
my $help = <<EHELP
usage: sudo perl $0 source_server
desc: this script will copy users from one Linux system to another.
params:
source_server: the address of the server to copy users from
EHELP
;
if(!defined($source_server)) {
print "sou... | f0rk/scripts | migrate_all_users.pl | Perl | mit | 1,412 |
package App::Docker::Client::Socket;
=head1 NAME
App::Docker::Client - Simple and plain Docker client!
=head1 VERSION
Version 0.010300
=cut
our $VERSION = '0.010300';
use 5.16.0;
use strict;
use warnings;
use AnyEvent;
use AnyEvent::Socket 'tcp_connect';
use AnyEvent::HTTP;
use LWP::UserAgent;
use JSON;
use LWP:... | mziescha/App-Docker-Client | lib/App/Docker/Client/Socket.pm | Perl | mit | 5,919 |
#!C:\strawberry\perl\bin\perl.exe
# Match and capture word that ends with letter 'a' and the up to five next
# characters; display contents of both captures; use named captures
use 5.020;
use warnings;
while (<>) { # take one input line at a time
chomp;
if (/\b(?<name>\w*a)\b(?<nextchar>.{0,5})/) {
... | bewuethr/ctci | llama_book/chapter08/chapter08_ex05.pl | Perl | mit | 522 |
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
my $dir = shift;
die "Please provide a directory name to check\n"
unless $dir;
chdir $dir
or die "Failed to enter the specified directory '$dir': $!\n";
if ( ! open(GIT_LS,'-|','git ls-files') ) {
die "Failed to process 'git ls-files': $!\n";
... | KnightHawk3/packr | sloc.pl | Perl | mit | 4,351 |
%% Extension designed to fetch news and download updates from swi-prolog.org
:- module(news,
[ news/1
,news_abort/0 ]).
:- use_module(dispatch).
:- use_module(info).
:- use_module(config).
:- use_module(submodules/html).
:- use_module(submodules/web).
:- use_module(submodules/utils).
:- use_module(librar... | logicmoo/yesbot | extensions/news.pl | Perl | mit | 11,597 |
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# ... | FlashYoshi/YoutubePlaylistDownloader | curl-7.28.1/curl-7.28.1/tests/ftpserver.pl | Perl | mit | 62,364 |
# 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/V8/Services/KeywordPlanService/GenerateHistoricalMetricsRequest.pm | Perl | apache-2.0 | 1,208 |
=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.
# ... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/CopyGenes.pm | Perl | apache-2.0 | 4,431 |
#! /usr/local/bin/perl
use IO::Socket;
use DBI;
use Authen::Libwrap qw( hosts_ctl STRING_UNKNOWN);
use Net::FTP;
## auth flush
$|++;
require "/export/home/rmail/bin/config.pl";
$remote_ip=$ENV{'TCPREMOTEIP'};
$local_host= `hostname`; chomp($local_host);
if (!hosts_ctl("db_api", $local_host, $remote_ip)) {
print S... | TonyChengTW/PerlTools | db_api.pl | Perl | apache-2.0 | 15,659 |
use strict;
use warnings;
package KinoSearch::Test::TestUtils;
use base qw( Exporter );
our @EXPORT_OK = qw(
working_dir
create_working_dir
remove_working_dir
create_index
create_uscon_index
test_index_loc
persistent_test_index_loc
init_test_index_loc
get_uscon_docs
utf8_test_s... | gitpan/KinoSearch | buildlib/KinoSearch/Test/TestUtils.pm | Perl | apache-2.0 | 6,829 |
#
# 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/Service/Controller/Agent.pm | Perl | apache-2.0 | 3,320 |
# 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/V8/Enums/OptimizationGoalTypeEnum.pm | Perl | apache-2.0 | 869 |
#
# Copyright 2018 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... | wilfriedcomte/centreon-plugins | hardware/server/dell/idrac/snmp/mode/components/coolingunit.pm | Perl | apache-2.0 | 3,493 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] 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-analysis | modules/Bio/EnsEMBL/Analysis/Hive/Config/HiveGeneBuilding/Hive_exonerate_protein_file_conf.pm | Perl | apache-2.0 | 15,525 |
#
# Copyright 2018 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... | wilfriedcomte/centreon-plugins | network/digi/sarian/snmp/mode/gprs.pm | Perl | apache-2.0 | 8,847 |
package Paws::CloudSearchDomain::Hits;
use Moose;
has Cursor => (is => 'ro', isa => 'Str', request_name => 'cursor', traits => ['NameInRequest']);
has Found => (is => 'ro', isa => 'Int', request_name => 'found', traits => ['NameInRequest']);
has Hit => (is => 'ro', isa => 'ArrayRef[Paws::CloudSearchDomain::Hit]... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudSearchDomain/Hits.pm | Perl | apache-2.0 | 2,016 |
package Poller;
use strict;
use LWP::Simple qw(RC_OK RC_NOT_MODIFIED);
sub new {
my $proto = shift;
my $class = ref($proto) || $proto;
my $self = {};
%{$self->{params}} = @_;
bless ($self, $class);
return $self;
}
sub name {
my $self = shift;
($self =~ m/Poller::(.*?)=/)[0];
}
sub data_file {
my $s... | abh/pgeodns | poller/perl/Poller.pm | Perl | apache-2.0 | 920 |
#!/usr/bin/env perl
# Integration tests for build command line tool
#***************************************************************************
# Copyright 2014-2017, mettatw <mettatw@users.noreply.github.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in ... | mettatw/ubiquitous-octo-spork | test/int-shellframe.pl | Perl | apache-2.0 | 4,439 |
package Mojo::Webqq::Plugin::GroupManage;
use strict;
use List::Util qw(first);
our $PRIORITY = 100;
use POSIX ();
sub do_speak_limit{
my($client,$data,$speak_counter,$msg) = @_;
$data->{is_new_group_notice} //= 1;
$data->{is_new_group_member_notice} //= 1;
$data->{is_lose_group_member_notice} //= 1;
... | sjdy521/Mojo-Webqq | lib/Mojo/Webqq/Plugin/GroupManage.pm | Perl | bsd-2-clause | 8,307 |
#!/usr/bin/perl
use strict;
if( @ARGV < 1 ){
print "Need 1 Input: <directory_of_cloud_user_logs>\n";
exit(1);
};
my $data_dir = shift @ARGV;
my $data_name = "actual_cloud_display.log";
my $new_data_name = "accumul_actual_cloud_display.log";
my $input_file = $data_dir . "/" . $data_name;
open(DATA,... | eucalyptus/euca-monkey | cloud_user_workload_generator/plot_cloud_user_data/create_accumul_actual_cloud_user_data.pl | Perl | bsd-2-clause | 1,305 |
package TCDB:PDB::CutHelixBundle;
use warnings;
no warnings; #To remove harmeless warnings from overriding accessors
use strict;
use Data::Dumper;
use R2::PDB::Parser;
use Class::Struct;
#==========================================================================
# The purpose of this class is cut PDB files in ... | SaierLaboratory/TCDBtools | perl-modules/TCDB/PDB/CutHelixBundle.pm | Perl | bsd-3-clause | 11,487 |
#!/usr/bin/perl
package ConfigISIS_Cisco;
use Data::Dumper;
use strict;
use CiscoTypes;
use ConfigCommon;
use ConfigParse;
use ConfigDB;
require Exporter;
use vars(qw(@ISA @EXPORT $configdir @isis_db_tables));
@ISA = ('Exporter');
my $debug = 1;
####################################################################... | wenhuizhang/rcc | perl/lib/ConfigISIS_Cisco.pm | Perl | mit | 10,920 |
/*
* Copyright (C) 2002, 2007 Christoph Wernhard
*
* 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 License, or (at your option)
* any later version.
*
* This program is... | TeamSPoon/logicmoo_base | prolog/logicmoo/tptp/infra/src/queries.pl | Perl | mit | 4,554 |
# Copyright 2014 - present MongoDB, Inc.
#
# 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 t... | dagolden/mongo-perl-driver | devel/lib/MongoDBTest/Mongod.pm | Perl | apache-2.0 | 1,141 |
use utf8;
#
# Copyright 2015 Comcast Cable Communications Management, 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 requir... | dewrich/traffic_control | traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm | Perl | apache-2.0 | 4,549 |
# 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/rnClxBLdxJ/northamerica. Olson data version 2013a
#
# Do not edit this file directly.
#
package DateTim... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/TimeZone/America/St_Vincent.pm | Perl | mit | 1,504 |
# 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... | jiajiechen/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/KVStore.pm | Perl | apache-2.0 | 19,907 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/Locale/ru_RU.pm | Perl | mit | 11,756 |
=head1 NAME
X<function>
perlfunc - Perl builtin functions
=head1 DESCRIPTION
The functions in this section can serve as terms in an expression.
They fall into two major categories: list operators and named unary
operators. These differ in their precedence relationship with a
following comma. (See the precedence ta... | liuyangning/WX_web | xampp/perl/lib/pods/perlfunc.pod | Perl | mit | 346,554 |
=head1 NAME
perlvar - Perl predefined variables
=head1 DESCRIPTION
=head2 Predefined Names
The following names have special meaning to Perl. Most
punctuation names have reasonable mnemonics, or analogs in the
shells. Nevertheless, if you wish to use long variable names,
you need only say
use English;
at th... | olapaola/olapaola-android-scripting | perl/src/pod/perlvar.pod | Perl | apache-2.0 | 59,234 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
use Config::Tiny;
use DBI;
my (%opt, $library, $gff, $conf, $species, %reads);
getopts('g:l:c:s:h', \%opt);
var_check();
# Get configuration settings
my $Conf = Config::Tiny->read($conf);
my $sam = $Conf->{'PIPELINE'}->{'sam'};
my $config = $Conf->{$species};... | nfahlgren/srtools | toolkit/library2geo.pl | Perl | mit | 4,263 |
#!/usr/bin/perl
$usage = qq{
hashLookup_tsv.pl <file1> <file2> <field1> <field2a> <field2b>
<file1> table or list of IDs to look up (.tsv)
<file2> lookup table with two or more fields (.tsv)
<field1> field of file1 to match (eg 0)
<field2a> field of file2 that matches file1 field
... | cuttlefishh/papers | vibrio-fischeri-transcriptomics/code/perl/hashLookup_tsv.pl | Perl | mit | 1,324 |
#!/usr/bin/perl
# nv08info.pl
use warnings;
use strict;
#
# The MIT License (MIT)
#
# Copyright (c) 2015 R. Bruce Warrington, Michael J. Wouters
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the S... | openttp/openttp | software/gpscv/nvs/nv08info.pl | Perl | mit | 6,112 |
#!/usr/bin/perl
#use warnings;
use Data::Dumper;
use String::Util 'trim';
use File::DirWalk;
use LWP::UserAgent;
use URI::Escape;
use JSON;
my $ua = LWP::UserAgent->new;
sub camel_to_underscore {
$_ = shift;
# Replace first capital by lowercase
# if followed my lowercase.
s/^([A-Z])([a-z])/lc($1).$2/e;... | djinn/ddg-webtester | webtester.pl | Perl | mit | 3,960 |
#!/opt/third-party/bin/perl
use warnings;
use strict;
my $time1 = shift;
my $time2 = shift;
$time1 = convert_to_seconds($time1);
$time2 = convert_to_seconds($time2);
my $factor = $time1 / $time2;
printf("Factor of %.2f\n", $factor);
sub convert_to_seconds {
my $time = shift;
my $to_return;
if ( $time =~ ... | benbernard/HomeDir | bin/speedup.pl | Perl | mit | 490 |
##############################################################################
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Jabber/Debug.pm | Perl | mit | 1,473 |
# Copyright 2008 Raphaël Hertzog <hertzog@debian.org>
# 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 License, or
# (at your option) any later version.
# This program i... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Dpkg/Source/CompressedFile.pm | Perl | mit | 4,209 |
use strict;
# files to be read
my $org_file = "const_menu_org.c2";
my $menu_text_file = "const_menu_menu_text.c2";
my $menu_type_file = "const_menu_menu_type.c2";
my $menu_id_file = "const_menu_menu_id.c2";
my $menu_keypress_1_file = "const_menu_keypress_1.c2";
my $menu_keypress_2_file = "const_menu_... | Rosi2143/HSHSB3_CC2 | CC2_Projects/Haus_CC2/consts/__const_menu_process.pl | Perl | mit | 21,187 |
#!/usr/bin/perl
use Getopt::Long;
# Slave machines array. We don't need the master as this script will be executed on master.
my @machines = (
'titanium.dnsdynamic.net',
'tungsten.dnsdynamic.net',
'silicon.dnsdynamic.net'
);
my $defaultUser = 'hduser';
my $jdkSymlink = '/opt/jdk'... | manthanhd/gravity | scripts/master/changejdks.pl | Perl | mit | 1,746 |
package MarpaX::Languages::PowerBuilder::SRJ;
use base qw(MarpaX::Languages::PowerBuilder::base);
#a SRJ parser by Nicolas Georges
#helper methods
#retrieve pbd entries
sub pbd { @{$_[0]->value->{pbd}} }
#retrieve object entries
sub obj { @{$_[0]->value->{obj}} }
#buil... | sebkirche/MarpaX-Languages-PowerBuilder | lib/MarpaX/Languages/PowerBuilder/SRJ.pm | Perl | mit | 3,253 |
name('transpiler').
title('A universal translator for programming languages').
version('0.1').
download('https://github.com/jarble/transpiler/archive/v0.1.zip').
author('Anderson Green','jarble@gmail.com').
packager('Anderson Green','jarble@gmail.com').
maintainer('Anderson Green','jarble@gmail.com').
home('https:/... | jarble/transpiler | pack.pl | Perl | mit | 354 |
use warnings;
use strict;
package Mail::IMAPClient::MessageSet;
=head1 NAME
Mail::IMAPClient::MessageSet - ranges of message sequence nummers
=cut
use overload
'""' => "str"
, '.=' => sub {$_[0]->cat($_[1])}
, '+=' => sub {$_[0]->cat($_[1])}
, '-=' => sub {$_[0]->rem($_[1])}
, '@{}' ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/IMAPClient/MessageSet.pm | Perl | mit | 9,027 |
package Alatar::PostgreSQL::Extractors::PgFunctionExtractor;
use Data::Dumper;
use strict;
use String::Util qw(trim);
use Regexp::Common;
use Alatar::Configuration;
use Alatar::PostgreSQL::Extractors::PgExtractor;
use Alatar::PostgreSQL::Extractors::PgTableExtractor;
use Alatar::PostgreSQL::PgKeywords;
use Alatar::Mod... | olivierauverlot/alatar | Alatar/PostgreSQL/Extractors/PgFunctionExtractor.pm | Perl | mit | 5,134 |
:- module(tuples,[tuples/2,write_tuples/2]).
:- use_module(library(lists),[member/2,append/3]).
tuples(XDRS,Tuples):-
XDRS=xdrs(_Words,_POS,_NEtags,DRS),
numbervars(DRS,0,_),
conditions(DRS,[],C),
setof(Tuple,tuple(C,Tuple),Tuples), !.
tuples(_,[]).
/* ===============================================... | Shuailong/CCGSupertagging | ext/candc/src/prolog/boxer/tuples.pl | Perl | mit | 2,830 |
#!/usr/bin/perl
#
# Takes a JMs freeze and changes it into data::dumper format for viewing and editing.
#
#
# Kim Brugger (06 May 2010), contact: kim.brugger@easih.ac.uk
use strict;
use warnings;
use Data::Dumper;
use Storable;
my $filename = shift || die "no freeze file provided\n";
my $blob = Storable::retriev... | brugger/ctru-pipeline | tools/tmpfile_from_freeze.pl | Perl | mit | 425 |
#!/usr/bin/perl
use strict;
use warnings;
print "\nPlease install VirtualBox first...\n\n" if system("VBoxManage -v > /dev/null 2>&1") != 0;
my $vm_name;
if(-e 'FagrantFile') {
open(FH, '< FagrantFile');
chomp($vm_name = <FH>);
close(FH);
if(!vm_state($vm_name, 'exists')) {
print "VM from Fagra... | xsawyerx/fagrant | fagrant.pl | Perl | mit | 4,126 |
#! /usr/bin/perl -w
package LoginApp::Model::User;
use Moo;
extends 'LoginApp::Model';
sub getUserByFBId
{
my $class = shift;
my ($fbid) = @_;
return $class->getDbh->resultset('User')->search({
'fbid' => $fbid
})->first;
}
1; | szilardcsom/mojo_login | lib/LoginApp/Model/User.pm | Perl | mit | 243 |
# 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/V8/Resources/AdGroupAd.pm | Perl | apache-2.0 | 1,309 |
#
# 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 | centreon/common/cisco/standard/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 5,107 |
=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 obt... | helensch/ensembl-rest | lib/EnsEMBL/REST/Controller/Phenotype.pm | Perl | apache-2.0 | 3,212 |
/* XPM */
static char *logo_32x32_m[] = {
/* columns rows colors chars-per-pixel */
"32 32 22 1 ",
" c #00708B",
". c #00708C",
"X c #01708C",
"o c #00708D",
"O c #00718D",
"+ c #06738F",
"@ c #007593",
"# c #0B7690",
"$ c #127892",
"% c #137993",
"& c #007CA0",
"* c #208099",
"= c #0086B0",
"- c #0097CB",
"; c #00AAE... | termsuite/termsuite-ui | products/fr.univnantes.termsuite.product/img/logo-32x32.m.pm | Perl | apache-2.0 | 1,593 |
# 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 obtain a... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable/ProteinAnnotation/IPRScan.pm | Perl | apache-2.0 | 5,135 |
package Paws::ES::DescribeElasticsearchDomainConfig;
use Moose;
has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DomainName', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeElasticsearchDomainConfig');
cla... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ES/DescribeElasticsearchDomainConfig.pm | Perl | apache-2.0 | 2,037 |
=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... | dbolser/ensembl-variation | modules/Bio/EnsEMBL/Variation/Pipeline/ProteinFunction/RunWeka.pm | Perl | apache-2.0 | 4,500 |
#!/usr/bin/env perl
# 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... | danstaines/ensembl-compara | scripts/dumps/dumpTreeMSA_id.pl | Perl | apache-2.0 | 9,991 |
#
# 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/server/ibm/bladecenter/snmp/mode/components/ambient.pm | Perl | apache-2.0 | 3,497 |
package Google::Ads::AdWords::v201402::TypeMaps::AdGroupAdService;
use strict;
use warnings;
our $typemap_1 = {
'queryResponse/rval/entries/experimentData/experimentDeltaStatus' => 'Google::Ads::AdWords::v201402::ExperimentDeltaStatus',
'mutateResponse/rval/value/ad[ImageAd]/image/urls/k... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/TypeMaps/AdGroupAdService.pm | Perl | apache-2.0 | 218,763 |
package Google::Ads::AdWords::v201809::ConstantOperand::ConstantType;
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 d... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/ConstantOperand/ConstantType.pm | Perl | apache-2.0 | 1,127 |
package Paws::MarketplaceCommerceAnalytics;
use Moose;
sub service { 'marketplacecommerceanalytics' }
sub version { '2015-07-01' }
sub target_prefix { 'MarketplaceCommerceAnalytics20150701' }
sub json_version { "1.1" }
has max_attempts => (is => 'ro', isa => 'Int', default => 5);
has retry => (is => 'ro',... | ioanrogers/aws-sdk-perl | auto-lib/Paws/MarketplaceCommerceAnalytics.pm | Perl | apache-2.0 | 4,711 |
package Paws::CloudDirectory::UpdateFacet;
use Moose;
has AttributeUpdates => (is => 'ro', isa => 'ArrayRef[Paws::CloudDirectory::FacetAttributeUpdate]');
has Name => (is => 'ro', isa => 'Str', required => 1);
has ObjectType => (is => 'ro', isa => 'Str');
has SchemaArn => (is => 'ro', isa => 'Str', traits =>... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/UpdateFacet.pm | Perl | apache-2.0 | 2,642 |
package VMOMI::ArrayOfHostVsanInternalSystemDeleteVsanObjectsResult;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostVsanInternalSystemDeleteVsanObjectsResult', 'HostVsanInternalSystemDeleteVsanObjectsResult', 1, 1],
);
sub get_class_ancestors... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostVsanInternalSystemDeleteVsanObjectsResult.pm | Perl | apache-2.0 | 513 |
#!/usr/bin/perl
=pod
Copyright (c) 2012, Salesforce.com, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright n... | forcedotcom/PerlKoans | about_scope.pl | Perl | bsd-3-clause | 3,449 |
#!/usr/bin/perl
# read from syscalls_darwin_unix.h
while(<>){
if(/[0-9]+$/){
my $n = $&;
$n += 0x2000000;
printf '%s0x%x%s', $`, $n, $'
}else{
print
}
}
| 8l/ucc-c-compiler | lib/syscalls_darwin.pl | Perl | mit | 165 |
#!perl
use strict;
use warnings;
use lib 'lib';
use Test::More;
use Test::BDD::Cucumber::StepFile;
use Business::OnlinePayment::BitPay::Client;
use Try::Tiny;
use Env;
require Business::OnlinePayment::BitPay::KeyUtils;
require 'features/step_definitions/helpers.pl';
my $pairingCode;
my $client;
my $token;
our $error... | bitpay/bitpay-perl | features/step_definitions/pairing_steps.pl | Perl | mit | 1,713 |
use APR::Request;
sub new {
my ($class, $pool, %attrs) = @_;
my $name = delete $attrs{name};
my $value = delete $attrs{value};
$name = delete $attrs{-name} unless defined $name;
$value = delete $attrs{-value} unless defined $value;
return unless defined $name and defined $value;
m... | oerdnj/rapache | libapreq2/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pm | Perl | apache-2.0 | 560 |
package Google::Ads::AdWords::v201409::CampaignCriterionService::ApiExceptionFault;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' }
__PACKAGE__->__set_name('ApiExceptionFault');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs()... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/CampaignCriterionService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,109 |
package Paws::CloudDirectory::GetSchemaAsJsonResponse;
use Moose;
has Document => (is => 'ro', isa => 'Str');
has Name => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudDirectory::GetSchemaAsJsonResponse
=head1 ATTR... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/GetSchemaAsJsonResponse.pm | Perl | apache-2.0 | 493 |
#------------------------------------------------------------------------------
# File: WriteIPTC.pl
#
# Description: Write IPTC meta information
#
# Revisions: 12/15/2004 - P. Harvey Created
#------------------------------------------------------------------------------
package Image::ExifTool::IPTC;
use... | opf-attic/ref | tools/fits/0.5.0/tools/exiftool/perl/lib/Image/ExifTool/WriteIPTC.pl | Perl | apache-2.0 | 25,176 |
package OpenXPKI::Server::Database::Driver::DB2;
use Moose;
use utf8;
with qw(
OpenXPKI::Server::Database::Role::SequenceSupport
OpenXPKI::Server::Database::Role::MergeEmulation
OpenXPKI::Server::Database::Role::Driver
);
=head1 Name
OpenXPKI::Server::Database::Driver::DB2 - Driver for IBM DB2 databases
... | stefanomarty/openxpki | core/server/OpenXPKI/Server/Database/Driver/DB2.pm | Perl | apache-2.0 | 1,953 |
package #
Date::Manip::TZ::pawall00;
# Copyright (c) 2008-2014 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' i... | nriley/Pester | Source/Manip/TZ/pawall00.pm | Perl | bsd-2-clause | 1,294 |
% Frame number: 503
holdsAt( orientation( grp_ID0 )=117, 20120 ). holdsAt( appearance( grp_ID0 )=appear, 20120 ).
% Frame number: 504
holdsAt( orientation( grp_ID0 )=124, 20160 ). holdsAt( appearance( grp_ID0 )=visible, 20160 ).
% Frame number: 505
holdsAt( orientation( grp_ID0 )=135, 20200 ). holdsAt( appeara... | JasonFil/Prob-EC | dataset/strong-noise/18-LeftBag_PickedUp/lbpugtAppearenceGrp.pl | Perl | bsd-3-clause | 4,504 |
#! /usr/bin/env perl
use Config;
# Check that the perl implementation file modules generate paths that
# we expect for the platform
use File::Spec::Functions qw(:DEFAULT rel2abs);
if (!$ENV{CONFIGURE_INSIST} && rel2abs('.') !~ m|\\|) {
die <<EOF;
*****************************************************************... | jens-maus/amissl | openssl/Configurations/windows-checker.pm | Perl | bsd-3-clause | 653 |
package Moose::Manual::Construction;
# ABSTRACT: Object construction (and destruction) with Moose
=pod
=head1 NAME
Moose::Manual::Construction - Object construction (and destruction) with Moose
=head1 VERSION
version 2.0602
=head1 WHERE'S THE CONSTRUCTOR?
B<Do not define a C<new()> method for your classes!>
... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Manual/Construction.pod | Perl | bsd-3-clause | 6,143 |
# Part of get-flash-videos. See get_flash_videos for copyright.
package FlashVideo::Site::Xvideos;
use strict;
use base 'FlashVideo::Site::Xnxx';
1;
| njtaylor/get-flash-videos | lib/FlashVideo/Site/Xvideos.pm | Perl | apache-2.0 | 151 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.