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 |
|---|---|---|---|---|---|
use v5.08;
use strict;
use warnings;
use Contacts;
use Test::More tests => 3;
use List::Util qw/first/;
my $home_book = Contacts::init();
my $work_book = Contacts::init();
Contacts::add_contact( $home_book, 'Tom', { lives_in => 'USA', email => 'tomthecat@gmail.com' });
Contacts::add_contact( $home_book, 'Bob', { liv... | ynonp/perl2-nov15 | day2/sol_modules/lab2.pl | Perl | mit | 689 |
=pod
=head1 NAME
asn1parse - ASN.1 parsing tool
=head1 SYNOPSIS
B<openssl> B<asn1parse>
[B<-inform PEM|DER>]
[B<-in filename>]
[B<-out filename>]
[B<-noout>]
[B<-offset number>]
[B<-length number>]
[B<-i>]
[B<-oid filename>]
[B<-dump>]
[B<-dlimit num>]
[B<-strparse offset>]
[B<-genstr string>]
[B<-genconf file>]
[B... | vbloodv/blood | extern/openssl.orig/doc/apps/asn1parse.pod | Perl | mit | 5,512 |
use strict;
use Getopt::Long::Descriptive;
use Data::Dumper;
use Bio::KBase::GenomeAnnotation::CmdHelper qw(:all);
=head1 NAME
rast-annotate-special-proteins
=head1 SYNOPSIS
rast-annotate-special-proteins [--input genome-file] [--output genome-file] [< genome-file] [> genome-file]
=head1 DESCRIPTION
Annotate spec... | kbase/genome_annotation | scripts/rast-annotate-special-proteins.pl | Perl | mit | 946 |
#! /usr/bin/perl
use strict;
my %opt = ();
use Getopt::Long "GetOptions";
sub safesystem {
print STDERR "Executing: @_\n";
system(@_);
if ($? == -1) {
print STDERR "Failed to execute: @_\n $!\n";
exit(1);
}
elsif ($? & 127) {
printf STDERR "Execution of: @_\n died with signal %d, %s cor... | shyamjvs/cs626_project | stat_moses/tools/moses/scripts/regression-testing/moses-virtual.pl | Perl | apache-2.0 | 3,285 |
package UI::User;
#
#
# 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, software
... | knutsel/traffic_control-1 | traffic_ops/app/lib/UI/User.pm | Perl | apache-2.0 | 10,224 |
#
# 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/acmepacket/snmp/mode/components/voltage.pm | Perl | apache-2.0 | 4,137 |
#
# 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 | hardware/pdu/emerson/snmp/mode/receptacles.pm | Perl | apache-2.0 | 12,377 |
use 5.008001;
use Test::Roo;
use lib 't/lib';
with 'LastTest';
test in_main => sub {
pass("main");
};
run_me;
done_testing;
#
# This file is part of Test-Roo
#
# This software is Copyright (c) 2013 by David Golden.
#
# This is free software, licensed under:
#
# The Apache License, Version 2.0, January 2004
#... | gitpan/Test-Roo | t/bin/custom-order.pl | Perl | apache-2.0 | 348 |
#
# 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 | apps/backup/commvault/commserve/restapi/custom/api.pm | Perl | apache-2.0 | 13,356 |
##**************************************************************
##
## Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
## University of Wisconsin-Madison, WI.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this file except in compliance with the License. Y... | clalancette/condor-dcloud | src/condor_tests/Check/SimpleJob.pm | Perl | apache-2.0 | 2,765 |
#
# 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/protocols/actuator/custom/standard.pm | Perl | apache-2.0 | 6,732 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
my $file = '';
my $make_examples = 0;
my $make_latex = 0;
GetOptions("file=s" => \$file,
"make-examples" => \$make_examples,
"make-latex" => \$make_latex);
my $texfile = "tmp.tex";
my $MARKDOWNSYMBOL = "##";
my $document = do {
local... | fredrik-johansson/hecke | doc/doc.pl | Perl | bsd-2-clause | 6,255 |
#!/usr/bin/perl -w
# MGEL
# Surya Saha 4/22/08
# UCSC table data from http://genome.ucsc.edu/cgi-bin/hgTables?org=Chicken&db=galGal3&hgsid=106560187&hgta_doMainPage=1
# Chicken May 2006 (galGal3) assembly
# UCSC table data format
# #name chrom strand txStart txEnd
# NM_001080714 chr1 + 13751 20858
# NM_001031401 c... | suryasaha/ProxMiner | scripts/miner.ucsctable2gff.v1.pl | Perl | bsd-2-clause | 2,696 |
#!/usr/bin/perl
use IO::Socket;
use strict;
my($sock, $word, $port, $ipaddr, $hishost, $MAXLEN, $PORTNO, $TIMEOUT);
$MAXLEN = 2048;
$PORTNO = 6062;
$TIMEOUT = 1;
$sock = IO::Socket::INET->new(Proto => 'udp',
PeerPort => $PORTNO,
PeerAddr => 'localh... | r0ller/hunmorph-foma | tools/chkwds/chkwdlistup.pl | Perl | bsd-3-clause | 1,049 |
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
#
# Provides size breakdown of ACE, TAO, or orbsvcs libs.
#
# Assumes (or builds) the lib with debug=0. Allows other make args,
# such as -j 4, to be passed on the command line.
$usage =
"$0 [-h, for html output] [... | wfnex/openbras | src/ace/ACE_wrappers/bin/libsize.pl | Perl | bsd-3-clause | 5,159 |
#ExStart:1
use lib 'lib';
use strict;
use warnings;
use utf8;
use File::Slurp; # From CPAN
use JSON;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;
use AsposeSlidesCloud::SlidesApi;
use AsposeSlidesCloud::ApiClient;
use AsposeSlidesCloud::Configuration;
... | aspose-slides/Aspose.Slides-for-Cloud | Examples/Perl/Slides/GetSlideCountUsingThirdPartyStorage.pl | Perl | mit | 1,634 |
#!/usr/bin/perl -w
#
# Copyright (C) 2013 Genome Research Ltd.
#
# Author: James Bonfield <jkb@sanger.ac.uk>
#
# 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 Software without restriction, inclu... | SummerSchoolVN/SV_Materials | lib/samtools/htslib-1.5/test/compare_sam.pl | Perl | mit | 5,641 |
/* ***************hyhtn8.pl *****************************/
/* 30 June 2003 */
/* HyHTN planning: do preprocess first */
/* make all method and operators primitive */
/* derived from hyhtn4, do forward graphplan heuristic */
/* add one level to achie... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/prolog/hyhtn_pddl/ptools/hyhtn_code3.pl | Perl | mit | 102,209 |
=head1 NAME
Text::NSP::Measures::2D::CHI::tscore - Perl module that implements T-score
measure of association for bigrams.
=head1 SYNOPSIS
=head3 Basic Usage
use Text::NSP::Measures::2D::CHI::tscore;
my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;
$tscore_v... | ppapasaikas/SANJUAN | perllib/Text/NSP/Measures/2D/CHI/tscore.pm | Perl | mit | 5,211 |
#!/usr/bin/perl
BEGIN {
push(@INC, "../../lib/");
}
use ConfigCommon;
use rccHTML;
my %options = ('db_if' => 1,
'db_isis' => 2,
'db_ospf' => 3,
'suffix' => 4,
'preprocess' => 5,
'parse' => 6,
'verify' => 7,
'quit' => 8);
my $mysql = "mysql";
my $last_entry;
sub print_menu {
print <<EOM;
E... | wenhuizhang/rcc | perl/src/utils/menu.pl | Perl | mit | 3,647 |
###########################################################################
#
# 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/pt_GW.pod | Perl | mit | 10,962 |
package ExtUtils::MM_Win32;
use strict;
=head1 NAME
ExtUtils::MM_Win32 - methods to override UN*X behaviour in ExtUtils::MakeMaker
=head1 SYNOPSIS
use ExtUtils::MM_Win32; # Done internally by ExtUtils::MakeMaker if needed
=head1 DESCRIPTION
See ExtUtils::MM_Unix for a documentation of the methods provided
ther... | operepo/ope | bin/usr/share/perl5/core_perl/ExtUtils/MM_Win32.pm | Perl | mit | 14,974 |
#
# 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 | database/mysql/mode/threadsconnected.pm | Perl | apache-2.0 | 3,809 |
package TestProtocol::echo_bbs2;
# similar to TestProtocol::echo_bbs but here re-using one bucket
# brigade for input and output, using flatten to slurp all the data in
# the bucket brigade, and cleanup to get rid of the old buckets
use strict;
use warnings FATAL => 'all';
use Apache2::Connection ();
use APR::Socket... | gitpan/mod_perl | t/protocol/TestProtocol/echo_bbs2.pm | Perl | apache-2.0 | 1,620 |
=head1 NAME
rawlog-edit - Command-line robotic datasets (rawlogs) manipulation tool
=head1 SYNOPSIS
rawlog-edit [--rename-externals] [--stereo-rectify <SENSOR_LABEL,0.5>]
[--camera-params <SENSOR_LABEL,file.ini>] [--sensors-pose
<file.ini>] [--generate-pcd] [--generate-3d-pointclo... | samuelpfchoi/mrpt | doc/man-pages/pod/rawlog-edit.pod | Perl | bsd-3-clause | 8,783 |
% Frame number: 0
holdsAt( orientation( id0 )=150, 0 ). holdsAt( appearance( id0 )=appear, 0 ).
holdsAt( orientation( id1 )=170, 0 ). holdsAt( appearance( id1 )=appear, 0 ).
holdsAt( orientation( id2 )=170, 0 ). holdsAt( appearance( id2 )=appear, 0 ).
% Frame number: 1
holdsAt( orientation( id0 )=150, 40 ). h... | JasonFil/Prob-EC | dataset/smooth-noise/11-Rest_SlumpOnFloor/rsfgtAppearenceIndv.pl | Perl | bsd-3-clause | 124,724 |
% Tests for ground/1
%
% This isn't defined in ISO but many Prologs have it.
:- use_module(library(tap)).
atom :-
ground(here_is_an_atom).
integer :-
ground(19).
float :-
ground(7.321).
'compound term' :-
ground(hi(one, two, three)).
nil :-
ground([]).
'complete list' :-
ground([a, b, c]).... | mndrix/golog | t/ground.pl | Perl | mit | 590 |
package DDG::Goodie::IsAwesome::jee1mr;
#ABSTRACT: jee1mr's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_jee1mr";
zci is_cached => 1;
triggers start => "duckduckhack jee1mr";
handle remainder => sub {
return if $_;
return "jee1mr is awesome and has successfully completed the Du... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/jee1mr.pm | Perl | apache-2.0 | 357 |
package DDG::Goodie::DateMath;
# ABSTRACT: add/subtract days/weeks/months/years to/from a date
use strict;
use DDG::Goodie;
with 'DDG::GoodieRole::Dates';
use DateTime::Duration;
use Lingua::EN::Numericalize;
triggers any => qw( plus minus + - date day week month year days weeks months years);
zci is_cached => 1;
zc... | viluon/zeroclickinfo-goodies | lib/DDG/Goodie/DateMath.pm | Perl | apache-2.0 | 2,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/Blk/SupPUAA.pl | Perl | mit | 423 |
=head1 NAME
perlhack - How to hack at the Perl internals
=head1 DESCRIPTION
This document attempts to explain how Perl development takes place,
and ends with some suggestions for people wanting to become bona fide
porters.
The perl5-porters mailing list is where the Perl standard distribution
is maintained and deve... | Lh4cKg/sl4a | perl/src/pod/perlhack.pod | Perl | apache-2.0 | 121,410 |
# snmp-v2tov1.awk
# nawk script - pass 1 of translation from SNMP v2 SMI to v1 SMI
# mbj@erlang.ericsson.se 971114
#
# Translate v2 IMPORTs to their v1 equivalents
$[ = 1; # set array base to 1
$, = ' '; # set output field separator
$\ = "\n"; # set output record separator
line: while (<>) {
chomp; # strip re... | racker/omnibus | source/otp_src_R14B02/lib/snmp/bin/snmp-v2tov1.pl | Perl | apache-2.0 | 6,616 |
package Run::Utax;
use 5.010000;
use strict;
use warnings;
our @ISA = qw();
our $VERSION = '0.1';
use File::Which qw(which);
use File::Temp qw(tempfile);
use Getopt::Long qw(GetOptionsFromArray :config pass_through);
use Capture::Tiny ':all';
use Bio::SeqIO;
=head2 new()
This subroutine creates a new object in... | greatfireball/Run-Utax | lib/Run/Utax.pm | Perl | mit | 16,411 |
% MODULE g1_ops EXPORTS
:- module( g1_ops,
[ saturate/2 , % saturate with default depth
saturate/3, % saturate with given maximum depth
elem_saturate/3,
inv_derivate/2,
inv_derivate/3,
inv_derivate1/2,
most_spec_v/3,
absorb/3,
id... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nars/prolog/miles/g1_ops.pl | Perl | mit | 28,140 |
package WebService::Technorati::ApiQuery;
use strict;
use utf8;
use LWP::UserAgent;
use HTTP::Request;
use XML::XPath;
use WebService::Technorati::Exception;
use constant DEFAULT_API_HOST_URL => 'http://api.technorati.com';
BEGIN {
use vars qw ($VERSION $DEBUG);
$VERSION = 0.04;
$DEBUG = 0;
}
... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/WebService/Technorati/ApiQuery.pm | Perl | mit | 4,729 |
#!/usr/bin/perl
#
# This is a SAS Component
#
my $usage = "usage: svr_tab2html [LINK-TEMPLATE] < tab-separated > html
The LINK-TEMPATE is a URL in which the 3-character string PEG is mapped
to the FIG-ID for any column containing a PEG";
my $border = q();
if (@ARGV && ($ARGV[0] =~ m/^-{1,2}border/)) {
$border = ... | kbase/kb_seed | service-scripts/svr_tab2html.pl | Perl | mit | 1,005 |
package Muninicious::Munin::RRD::Data;
use strict;
use warnings;
use Mojo::Base -base;
use Mojo::JSON;
use Muninicious::Munin::RRD::Colours;
use Math::BigFloat;
use RRDs;
use constant {
RRD_STARTS => {day => '-2d', week => '-9d', month => '-6w', year => '-15mon'},
RRD_ORDER => ['day', 'week', 'month', 'year'... | mattaltus/muninicious | lib/Muninicious/Munin/RRD/Data.pm | Perl | mit | 3,833 |
#!/usr/bin/perl
# vim:set tw=78 ts=4 sw=4 ai:
use strict;
use warnings;
use lib '.';
use utf8;
use List::Util qw /shuffle/;
use ozi;
my ($text) = ozi::data;
my %stash;
my @abc = split '', 'абвгґдеєжзиіїйклмнопрстуфхцчшщьюя-';
$stash{Abc} = \@abc;
my @key = shuffle @abc;
$stash{EncKey} = \@key;
my %enc;
for (my $i... | mvuets/vntu-ozi-testwork | ozi-task1.pl | Perl | mit | 617 |
% dynamoset and powerset are two predicates that calculate the powerset of a set!
% The logic is the same in both predicates (using the recursive implementation)
% but the recursion is front->last element of the list for the first implementation
% and the opposite for the second one.
% Run: dynamoset([1,2,3],L). and: ... | bblodfon/Prolog | prolog_files/dynamoset.pl | Perl | mit | 1,007 |
# 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/europe. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime::Tim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Europe/Uzhgorod.pm | Perl | mit | 28,179 |
#!/usr/bin/perl
# This script runs the manta command read from each line of the input text file
# with the specified camera path and creates a gnuplot of the results.
# An html page is generated with all of the gnuplot images.
# Abe Stephens, October 2005
# Parse args.
$input_file = "";
$output_prefix = "manta_pa... | jeffamstutz/rfManta | StandAlone/manta_path_plot.pl | Perl | mit | 17,051 |
package EnsEMBL::Maize::Component::Rss;
use strict;
use EnsEMBL::Web::Component;
use EnsEMBL::Web::Form;
use Readonly;
my @chromosomes = map { +{ 'name' => "Chromosome $_", 'value' => $_ } } (1 .. 10);
#my @data_types = { "value" =>"bacs", "name"=>"Sequenced BACs", 'checked' => 1
# };
Readonly my $FORM_NAME ... | warelab/gramene-ensembl | maize/modules/EnsEMBL/Maize/Component/Rss.pm | Perl | mit | 3,286 |
=begin comment
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.1.2-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
=end comment
=cut
#
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-... | cliffano/swaggy-jenkins | clients/perl/generated/lib/WWW/OpenAPIClient/Object/ResponseTimeMonitorData.pm | Perl | mit | 5,127 |
package Bootylite::Plugins;
use Mojo::Base -base;
use Mojo::Util 'camelize';
use Mojo::Loader 'load_class';
has plugins => sub { [] };
sub add {
my ($self, $name, $conf) = @_;
# try to load
$name = camelize $name;
my $module = "Bootylite::Plugin::$name";
my $error = load_class $module;
di... | memowe/bootylite | lib/Bootylite/Plugins.pm | Perl | mit | 1,319 |
#!/usr/bin/perl
use strict;
use warnings;
# This class is generated from DBIx.pm. Do not modify.
package WWW::Shopify::Model::DBIx::Schema::Result::Model::FulfillmentLineItem;
use base qw/DBIx::Class::Core/;
__PACKAGE__->table('shopify_fulfillmentsline_items');
__PACKAGE__->add_columns(
'id', { data_type => 'INT', ... | gitpan/WWW-Shopify | lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/FulfillmentLineItem.pm | Perl | mit | 786 |
#
# Main authors:
# Christian Schulte <schulte@gecode.org>
#
# Copyright:
# Christian Schulte, 2005
#
# Last modified:
# $Date: 2012-03-29 00:26:41 +0900 (木, 29 3 2012) $ by $Author: schulte $
# $Revision: 12649 $
#
# This file is part of Gecode, the generic constraint
# development environment:
# ... | kenhys/gecode | misc/makedepend.perl | Perl | mit | 2,427 |
=head1 NAME
SGN::Controller::AJAX::People - a REST controller class to provide the
backend for the sgn_people schema
=head1 DESCRIPTION
REST interface for searching people, getting user data, etc.
=head1 AUTHOR
Naama Menda <nm249@cornell.edu>
=cut
package SGN::Controller::AJAX::People;
use Moose;
use Data::... | solgenomics/sgn | lib/SGN/Controller/AJAX/People.pm | Perl | mit | 7,337 |
#!/usr/bin/env perl
# 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://ww... | dbolser/ensembl-variation | scripts/import/dump_strain_wrapper.pl | Perl | apache-2.0 | 3,272 |
package Paws::CloudFormation::StackSet;
use Moose;
has Capabilities => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has Description => (is => 'ro', isa => 'Str');
has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::Parameter]');
has StackSetId => (is => 'ro', isa => 'Str');
has StackSetName... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudFormation/StackSet.pm | Perl | apache-2.0 | 3,084 |
## OpenXPKI::Server::Authentication::Anonymous.pm
##
## Written 2006 by Michael Bell
## Updated to use new Service::Default semantics 2007 by Alexander Klink
## (C) Copyright 2006 by The OpenXPKI Project
use strict;
use warnings;
package OpenXPKI::Server::Authentication::Anonymous;
use OpenXPKI::Debug;
use OpenXPKI:... | stefanomarty/openxpki | core/server/OpenXPKI/Server/Authentication/Anonymous.pm | Perl | apache-2.0 | 1,571 |
# kill processes by db pattern
# Author: Monika Komorowska
# Date : May 2011
use strict;
use DBI;
use Getopt::Long;
my ( $host, $user, $pass, $port, $dbpattern );
GetOptions( "host|h=s", \$host,
"user|u=s", \$user,
"pass|p=s", \$pass,
"port|P=i", \$port,
"dbpattern|pattern=s", \$dbpattern,
)... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/misc-scripts/db/kill_process_by_db.pl | Perl | apache-2.0 | 1,796 |
#
# 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 | apps/exchange/2010/local/mode/imapmailbox.pm | Perl | apache-2.0 | 6,937 |
=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... | dbolser-ebi/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/PairAligner/PairAligner.pm | Perl | apache-2.0 | 16,456 |
# 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/V10/Enums/PaymentModeEnum.pm | Perl | apache-2.0 | 919 |
=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... | danstaines/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/Projection/RunnableDB/ProjectOntologyXref.pm | Perl | apache-2.0 | 11,306 |
package Paws::CloudSearch::DescribeScalingParameters;
use Moose;
has DomainName => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScalingParameters');
class_has _returns => (isa => 'Str', is => 'ro', default => 'P... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudSearch/DescribeScalingParameters.pm | Perl | apache-2.0 | 1,739 |
use 5.008001;
use strict;
use warnings;
package Dancer2::Session::Memcached;
# ABSTRACT: Dancer 2 session storage with Cache::Memcached
our $VERSION = '0.003'; # VERSION
use Carp;
use Moo;
use Cache::Memcached;
use Dancer2::Core::Types;
#--------------------------------------------------------------------------#
# P... | gitpan/Dancer2-Session-Memcached | lib/Dancer2/Session/Memcached.pm | Perl | apache-2.0 | 3,468 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2020] 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 Licen... | Ensembl/ensembl-pipeline | scripts/post_GeneBuild/get_transcripts_with_this_evidence.pl | Perl | apache-2.0 | 5,579 |
# 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/Enums/LeadFormDesiredIntentEnum.pm | Perl | apache-2.0 | 834 |
#!/usr/bin/perl -w
use strict;
use lib ".";
use PAsm;
use Data::Dumper;
my $resolved_bundles = 0;
my $resolved_edges = 0;
my $total_ambiguous = 0;
sub finalize_node
{
my $nodeid = shift;
my $node = shift;
return if !defined $nodeid;
return if !defined $node;
if (defined $node->{$BUNDLE})
{
my %pa... | julianlau/contrail-emr | prototype/matehopfinalize-reduce.pl | Perl | apache-2.0 | 1,973 |
:- module(_, [nrev/2], [assertions,functions,regtypes,nativeprops]).
:- function(arith(false)).
:- entry nrev/2 : {list, ground} * var.
:- check pred nrev(A,B) : list(A) => num(B).
:- check comp nrev(_,_) + ( not_fails, is_det, sideff(free) ).
:- check comp nrev(A,_) + steps_o( length(A) ).
nrev( [] ) := [].... | leuschel/ecce | www/CiaoDE/ciao/library/functions/examples/revf_assrt_bug.pl | Perl | apache-2.0 | 528 |
/*****************************************************************************
* 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): 2013, CS Dept. III, University of Bonn
*
* All rights reserved. Th... | TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/PDT Tutorial/outline/outline_demo_multifile_contribution.pl | Perl | mit | 879 |
=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... | mjg17/ensembl | misc-scripts/xref_mapping/XrefParser/SGDParser.pm | Perl | apache-2.0 | 4,176 |
package Google::Ads::AdWords::v201406::CustomerFeedService::CustomerFeedServiceInterfacePort;
use strict;
use warnings;
use Class::Std::Fast::Storable;
use Scalar::Util qw(blessed);
use base qw(SOAP::WSDL::Client::Base);
# only load if it hasn't been loaded before
require Google::Ads::AdWords::v201406::TypeMaps::Custo... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/CustomerFeedService/CustomerFeedServiceInterfacePort.pm | Perl | apache-2.0 | 6,741 |
package #
Date::Manip::TZ::etgmtm00;
# 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/etgmtm00.pm | Perl | bsd-2-clause | 1,038 |
package Bio::Phylo::TreeBASE::Result::Treequality;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 NAME
Bio::Phylo::TreeBASE::Result::Treequality
=cut
__PACKAGE__->table("treequality");
=head1 ACCESSORS
=head2 ... | TreeBASE/treebasetest | treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treequality.pm | Perl | bsd-3-clause | 1,510 |
package TAP::Parser::Iterator;
use strict;
use warnings;
use base 'TAP::Object';
=head1 NAME
TAP::Parser::Iterator - Base class for TAP source iterators
=head1 VERSION
Version 3.36
=cut
our $VERSION = '3.36_01';
=head1 SYNOPSIS
# to subclass:
use TAP::Parser::Iterator ();
use base 'TAP::Parser::Iterator... | operepo/ope | bin/usr/share/perl5/core_perl/TAP/Parser/Iterator.pm | Perl | mit | 3,001 |
#! /usr/local/bin/perl
#---------------------------------------
#Writer : Mico Cheng
#Version: 2006011701
#Host : db01.aptg.net
#use for: get aptg.net users
#---------------------------------------
use DBI;
$| = 1;
die "./delete_user_mail.pl\n" if (scalar(@ARGV)!=0);
$dsn=sprintf("DBI:mysql:%s;host=%s", 'mail_db',... | TonyChengTW/PerlTools | suspend_user_batch/delete_user_mail.pl | Perl | apache-2.0 | 1,015 |
# bind8-lib.pl
# Common functions for bind8 config files
BEGIN { push(@INC, ".."); };
use WebminCore;
my $dnssec_tools_minver = 1.13;
my $have_dnssec_tools = eval "require Net::DNS::SEC::Tools::dnssectools;";
if ($have_dnssec_tools) {
eval "use Net::DNS::SEC::Tools::dnssectools;
use Net::DNS::SEC::Tools::roll... | mikaoras/webmin | bind8/bind8-lib.pl | Perl | bsd-3-clause | 105,273 |
package Smolder::Upgrade::V1_37;
use strict;
use warnings;
use base 'Smolder::Upgrade';
sub pre_db_upgrade { }
sub post_db_upgrade { }
1;
| Smolder/smolder | lib/Smolder/Upgrade/V1_37.pm | Perl | bsd-3-clause | 141 |
#
# 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... | vadimsu/qpid | proton-c/bindings/perl/lib/qpid/proton/ExceptionHandling.pm | Perl | apache-2.0 | 1,052 |
#!/usr/bin/perl
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/build/debug/Hostboot/Attr.pm $
#
# OpenPOWER HostBoot Project
#
# COPYRIGHT International Business Machines Corp. 2012,2014
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file... | alvintpwang/hostboot | src/build/debug/Hostboot/Attr.pm | Perl | apache-2.0 | 29,132 |
=head1 This Week on perl5-porters (29 July / 4 August 2002)
Now that perl 5.8.0 is out and flies by itself, the 5.9 development track
begins. Learn about what may go (or not) in perl 5.9. Plus the usual
amount of bugs.
=head2 Some directions for perl 5.9
Hugo van der Sanden posted his views on the general directions... | rjbs/perlweb | docs/dev/perl5/list-summaries/2002/p5p-200207-5.pod | Perl | apache-2.0 | 6,464 |
package DDG::Goodie::GenerateMAC;
# ABSTRACT: generates a random network MAC address
use strict;
use DDG::Goodie;
triggers startend => "generate mac addr",
"generate mac address",
"random mac addr",
"random mac address",
"mac address ... | kavithaRajagopalan/zeroclickinfo-goodies | lib/DDG/Goodie/GenerateMAC.pm | Perl | apache-2.0 | 1,050 |
package #
Date::Manip::Offset::off024;
# Copyright (c) 2008-2015 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'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off024.pm | Perl | mit | 852 |
#PODNAME: DBD::Oracle::Troubleshooting
#ABSTRACT: Tips and Hints to Troubleshoot DBD::Oracle
__END__
=pod
=head1 NAME
DBD::Oracle::Troubleshooting - Tips and Hints to Troubleshoot DBD::Oracle
=head1 VERSION
version 1.50
=head1 CONNECTING TO ORACLE
If you are reading this it is assumed that you have successful... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/DBD/Oracle/Troubleshooting.pod | Perl | mit | 4,915 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseBiochem::Reaction - This is the moose object corresponding to the Reaction object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematics and ... | mmundy42/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseBiochem/Reaction.pm | Perl | mit | 37,773 |
#
# Copyright (c) 2019 cPanel, L.L.C.
# All rights reserved.
# http://cpanel.net/
#
# Distributed under the terms of the MIT license. See the LICENSE file for
# further details.
#
package Test::OpenStack::Client::Message;
use strict;
use warnings;
sub new {
my ($class, %opts) = @_;
$opts{'headers'} ||= {};
... | xantronix/OpenStack-Client | t/lib/Test/OpenStack/Client/Message.pm | Perl | mit | 1,060 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
use POSIX qw( ceil floor);
use DBI;
use Config::Tiny;
use HTML::Entities qw(decode_entities);
use FindBin qw($Bin);
use lib "$Bin/../lib";
use CommonFunctions qw(parseListToArray parseFileList);
#########################################################
# Start... | nfahlgren/srtools | toolkit/readsPerFeature.pl | Perl | mit | 5,479 |
#!/usr/bin/env perl
# Script to output HPO terms associated with an OMIM ID
use strict;
use warnings;
use hpo qw/hpo_to_name hpo_to_disease hpo_to_gene/;
my $usage = "Usage: $0 <OMIM ID> [OMIM IDs]\n";
if (scalar(@ARGV) == 0){
die $usage;
}
# download from http://purl.obolibrary.org/obo/hp.obo
my $script_path = ... | davetang/human_phenotype_ontology | script/omim_to_hpo.pl | Perl | mit | 2,709 |
BEGIN {@INC=("../",@INC)};
use strict;
use warnings;
use SeriesInfo::NameParser;
use Test::More tests => 1;
my $s1 = "show.01x02";
subtest "title is optional ($s1)" => sub {
plan tests => 5;
isnt SeriesInfo::NameParser::parse($s1) , undef , "not undefined";
is SeriesInfo::NameParser::parse($s1)-... | pretorh/seriesinfo-nameparser | tests/title-is-optional.pl | Perl | mit | 650 |
#
# 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 | snmp_standard/mode/inodes.pm | Perl | apache-2.0 | 8,026 |
#
# 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 | network/silverpeak/snmp/mode/uptime.pm | Perl | apache-2.0 | 5,813 |
#
# 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/netapp/snmp/mode/filesys.pm | Perl | apache-2.0 | 15,145 |
# 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/GenderViewService.pm | Perl | apache-2.0 | 1,035 |
# 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/license... | mn1/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveCopyGenes.pm | Perl | apache-2.0 | 4,918 |
=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/GeneTrees/CAFETable.pm | Perl | apache-2.0 | 10,601 |
#
# Copyright 1999, 2000, 2001 Patrik Stridvall
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This libr... | howard5888/wine | wine-1.7.7/tools/winapi/type.pm | Perl | apache-2.0 | 951 |
package ReseqTrack::ElasticsearchProxy::Model::ChunkedJsonWriter;
use namespace::autoclean;
use Moose;
use Mojo::JSON;
use v5.16;
has 'num_hits_req' => (is => 'rw', isa => 'Int');
has 'closing_json' => (is => 'rw', isa => 'Str');
has 'is_finished' => (is => 'rw', isa => 'Bool', default => 0);
has 'content_length' =... | EMBL-EBI-GCA/gca_elasticsearch | lib/ReseqTrack/ElasticsearchProxy/Model/ChunkedJsonWriter.pm | Perl | apache-2.0 | 1,936 |
package Google::Ads::AdWords::v201402::TypeMaps::LocationCriterionService;
use strict;
use warnings;
our $typemap_1 = {
'getResponse/rval/location/parentLocations/parentLocations/parentLocations/parentLocations/parentLocations/parentLocations/parentLocations/parentLocations/parentLocations/parentLocati... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/TypeMaps/LocationCriterionService.pm | Perl | apache-2.0 | 151,042 |
package VMOMI::ArrayOfIscsiDependencyEntity;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['IscsiDependencyEntity', 'IscsiDependencyEntity', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfIscsiDependencyEntity.pm | Perl | apache-2.0 | 441 |
%%---------------------------------------------------------------------
%%
%% MENU BUTTON CLASS
%%
%%---------------------------------------------------------------------
:- module(menubutton_class_doc,[],[objects,assertions,isomodes,regtypes]).
%:- inherit_class(library('tcltk/examples/interface/widget_class')).
:- ... | leuschel/ecce | www/CiaoDE/ciao/library/tcltk_obj/Back/menubutton_class_doc.pl | Perl | apache-2.0 | 2,565 |
#!/usr/bin/env perl
use strict;
use warnings;
use FindBin;
use lib ("$FindBin::Bin/../PerlLib");
use Gene_obj;
use Fasta_reader;
use GFF3_utils;
use Carp;
use Nuc_translator;
my $usage = "\n\nusage: $0 gff3_file genome_db [prot|CDS|cDNA|gene,default=prot] [flank=0]\n\n";
my $gff3_file = $ARGV[0] or die $usage;
my $f... | EVidenceModeler/EVidenceModeler | EvmUtils/gff3_file_to_proteins.pl | Perl | bsd-3-clause | 4,619 |
#!/usr/bin/perl -w
use HTML::Parser;
use HTML::Entities;
use utf8;
sub removewhitespace{ my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
sub convertstring() {
my $string = shift;
$string = encode_entities($string, '<>&"');
$string = encode_entities($string);
return $string;
}
1;
| sindycarlo/progetto-tecweb | cgi-bin/funzioni.pl | Perl | bsd-3-clause | 295 |
use strict;
use Bio::KBase::HandleService;
use Getopt::Long;
use JSON;
use Pod::Usage;
my $man = 0;
my $help = 0;
my ($in, $out);
my ($handle);
GetOptions(
'h' => \$help,
'i=s' => \$in,
'o=s' => \$out,
'help' => \$help,
'man' => \$man,
'input=s' => \$in,
'output=s' => \$out,
'handle=s' =>... | sjyoo/handle_service | scripts/kbhs-download.pl | Perl | mit | 2,251 |
#
# Copyright 2016 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... | bcournaud/centreon-plugins | os/linux/local/mode/uptime.pm | Perl | apache-2.0 | 5,978 |
package Paws::RDS::RestoreDBClusterFromS3Result;
use Moose;
has DBCluster => (is => 'ro', isa => 'Paws::RDS::DBCluster');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::RDS::RestoreDBClusterFromS3Result
=head1 ATTRIBUTES
=head2 DBCluster => L<Paws:... | ioanrogers/aws-sdk-perl | auto-lib/Paws/RDS/RestoreDBClusterFromS3Result.pm | Perl | apache-2.0 | 375 |
#!/usr/bin/perl
# Author: Tom Laudeman
# The Institute for Advanced Technology in the Humanities
# Copyright 2014 University of Virginia. Licensed under the Educational Community 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 Lic... | snac-cooperative/snac_eac_cpf_utils | find_empty_elements.pl | Perl | apache-2.0 | 25,023 |
package DDG::Goodie::IndependenceDay;
# ABSTRACT: Goodie answer for different countries' national independence days
use DDG::Goodie;
use JSON;
use utf8;
zci answer_type => "independence_day";
zci is_cached => 1;
name "independence day";
description "Gives the date of when a nation assumed independence";
primary_ex... | Acidburn0zzz/zeroclickinfo-goodies | lib/DDG/Goodie/IndependenceDay.pm | Perl | apache-2.0 | 2,787 |
#! /usr/bin/perl -w
use strict;
use CGI;
use CoGeX;
use CoGe::Accessory::Web;
use CoGe::Core::Genome qw(genomecmp);
use HTML::Template;
use Sort::Versions;
no warnings 'redefine';
use vars qw( $P $PAGE_TITLE $USER $coge $FORM %FUNCTION $LINK );
$PAGE_TITLE = 'Genomes';
$FORM = new CGI;
( $coge, $USER, $P, $LINK ) =... | asherkhb/coge | old/Genomes.pl | Perl | bsd-2-clause | 3,926 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.