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 |
|---|---|---|---|---|---|
#! /usr/bin/env perl
use lib "$ENV{HOME}/workspace/Oates/lib/";
use strict;
use warnings;
use DBI;
use Supfam::SQLFunc;
#This program is supposed to: Calculate horizontal transfer between kingdoms (from LUCA)
#Julian Gough 29.3.08
#Adam Sardar 31.1.2011
#SQL--
my $dbh = dbConnect;
my $sth;
#-----
#Variables-------... | adamsardar/HGT | hgt_luca.pl | Perl | apache-2.0 | 10,254 |
package Paws::AutoScaling::DescribeLaunchConfigurations;
use Moose;
has LaunchConfigurationNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has MaxRecords => (is => 'ro', isa => 'Int');
has NextToken => (is => 'ro', isa => 'Str');
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is =... | ioanrogers/aws-sdk-perl | auto-lib/Paws/AutoScaling/DescribeLaunchConfigurations.pm | Perl | apache-2.0 | 2,242 |
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.
f91(A,B,C,D,E) :-
A=1,
B=1,
C=1.
f91(A,B,C,D,E) :-
A=0,
B=1,
C=1.
f91(A,B... | bishoksan/RAHFT | benchmarks_scp/SVCOMP15/svcomp15-clp/McCarthy91_false-unreach-call_false-termination.c.pl | Perl | apache-2.0 | 999 |
#!/usr/bin/perl -w
#
# gram5-glue2-endpoint-dynamic: an information provider plugin for the
# dynamic part of the Endpoint object, in v 2.0 of the GLUE schema
# It can be installed as a gip plugin
#
# Author: Dennis van Dok
# Based on glite-info-glue2-endpoint by Stephen Burke,
# with modifications by Massimo Sgaravat... | dvandok/gram5-info-provider | globus-gip-gram5-glue2-endpoint-dynamic.pl | Perl | apache-2.0 | 3,095 |
#
# 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 | cloud/azure/database/mysql/mode/ioconsumption.pm | Perl | apache-2.0 | 5,225 |
use utf8;
package DB::Schema::Result::UserRole;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
DB::Schema::Result::UserRole
=cut
use strict;
use warnings;
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';
=hea... | discobeta/MailChimpClone | lib/DB/Schema/Result/UserRole.pm | Perl | apache-2.0 | 2,031 |
=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/Web/Form/Element/NonNegFloat.pm | Perl | apache-2.0 | 889 |
/*§
===========================================================================
WebSolver
===========================================================================
Copyright (C) 2015 Gianluca Costa
===========================================================================
Licensed under the Apache Licens... | giancosta86/WebSolver | rules.pl | Perl | apache-2.0 | 3,447 |
package Google::Ads::AdWords::v201809::AdGroupService::ApiExceptionFault;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('ApiExceptionFault');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAG... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/AdGroupService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,079 |
=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-production | modules/Bio/EnsEMBL/Production/Pipeline/PipeConfig/Xref_update_conf.pm | Perl | apache-2.0 | 15,863 |
package VMOMI::HostCnxFailedAlreadyManagedEvent;
use parent 'VMOMI::HostEvent';
use strict;
use warnings;
our @class_ancestors = (
'HostEvent',
'Event',
'DynamicData',
);
our @class_members = (
['serverName', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_m... | stumpr/p5-vmomi | lib/VMOMI/HostCnxFailedAlreadyManagedEvent.pm | Perl | apache-2.0 | 463 |
=item module @Target@
created: @IsoDate@
author: @User@
=cut
=item function($)
The function() ...
=cut
sub function ($)
{
my $param1 = shift;
}
| realtimeprojects/tg | examples/templates/perl/@Target@.pl | Perl | bsd-3-clause | 153 |
/*************************************************************************
name: godis-basic
description: godis-basic specification file
*************************************************************************/
:- ensure_loaded( search_paths ).
/*=======================================================... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis/godis-basic/godis-basic.pl | Perl | mit | 2,567 |
/*****************************************************************************
* 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.builder/example_files/meta_finder_examples/simple.pl | Perl | mit | 2,523 |
package AsposeSlidesCloud::Object::SlideBackground;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposeSlidesCloud::Object::BaseObject";
#
#
#
#NOTE: This class is aut... | aspose-slides/Aspose.Slides-for-Cloud | SDKs/Aspose.Slides-Cloud-SDK-for-Perl/lib/AsposeSlidesCloud/Object/SlideBackground.pm | Perl | mit | 1,330 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 8.0.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 exist... | operepo/ope | bin/usr/share/perl5/core_perl/unicore/Heavy.pl | Perl | mit | 129,498 |
#
# 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 | os/windows/wsman/plugin.pm | Perl | apache-2.0 | 1,406 |
use strict;
use warnings;
use Furl::HTTP qw/HEADERS_NONE HEADERS_AS_ARRAYREF/;
use URI;
my $url = shift @ARGV || 'http://127.0.0.1:80/';
my $uri = URI->new($url);
my $host = $uri->host;
my $port = $uri->port;
my $path_query = $uri->path_query;
my $furl = Furl::HTTP->new(header_format => HEADERS_NONE, bufs... | isucon/isucon3 | final/misc/Furl-patched/author/benchmark/profile.pl | Perl | mit | 609 |
package Carp;
{ use 5.006; }
use strict;
use warnings;
BEGIN {
no strict "refs";
if(exists($::{"utf8::"}) && exists(*{$::{"utf8::"}}{HASH}->{"is_utf8"}) &&
defined(*{*{$::{"utf8::"}}{HASH}->{"is_utf8"}}{CODE})) {
*is_utf8 = \&{"utf8::is_utf8"};
} else {
*is_utf8 = sub { 0 };
}
}
BEGIN {
no... | Dokaponteam/ITF_Project | xampp/perl/lib/Carp.pm | Perl | mit | 20,408 |
# 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/BU3Xn7v6Kb/antarctica. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTime:... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/Antarctica/Rothera.pm | Perl | mit | 1,238 |
%
% ID-BASED ACCESSOR RULES FOR activation AND access predicates
%
%
% RULE DEFINITION: name(TrialId, Id, Name)/3
% DESCRIPTION: get the *Name* of an activation or access (*Id*)
% in a given trial (*TrialId*).
% Note that accesses Ids start with a 'f'.
%
name(_, [], []).
name(TrialId, [Id|Ids... | gems-uff/noworkflow | capture/noworkflow/resources/rules.pl | Perl | mit | 18,527 |
#!/usr/bin/perl -w
use strict;
die "Usage: trimFastq3.pl <fastq> <#bases>\n" unless @ARGV == 2;
open(IN,$ARGV[0]) or die "Couldn't open $ARGV[0]: $!\n";
my $lineCount = 0;
while(<IN>) {
chomp;
next if !$_;
next unless /^\@HWI/;
print "$_\n";
chomp(my $seq=<IN>);
my $len = length($seq);
my... | cckim47/kimlab | general/trimFastq3.pl | Perl | mit | 589 |
package EVENTS;
##
## syntax:
## cmd?key1=value1&key2=value2
## cmd@YYYYMMDDHHMMSS?key1=value1&key2=value2
## cmd@YYYYMMDD?key1=value1&key2=value2
##
sub parse_macro {
my ($txt) = @_;
my @CMDS = ();
foreach my $line (split(/[\n\r]+/,$txt)) {
my %ref = ();
push @CMDS, [ $ts, $api, $ref ];
}
return... | CommerceRack/backend | lib/EVENTS.pm | Perl | mit | 340 |
package Paws::CloudTrail::DeleteTrail;
use Moose;
has Name => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteTrail');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudTrail::DeleteTrailRespons... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudTrail/DeleteTrail.pm | Perl | apache-2.0 | 1,689 |
new14(A,B,C,D,E,F) :- A=0.
new10(A,B,C,D,E) :- F=1, A>=100, new8(A,B,C,D,F).
new10(A,B,C,D,E) :- F=0, A=<99, new8(A,B,C,D,F).
new9(A,B,C,D,E) :- C=< -1, new10(A,B,C,D,E).
new9(A,B,C,D,E) :- F=0, C>=0, new8(A,B,C,D,F).
new8(A,B,C,D,E) :- new14(E,A,B,C,D,E).
new7(A,B,C,D,E) :- F=1, C=<0, new8(A,B,C,D,F).
new7(A,B,C,D,E) ... | bishoksan/RAHFT | benchmarks_scp/misc/programs-clp/SVCOMP13-loops-terminator_03_unsafe.map.c.map.pl | Perl | apache-2.0 | 650 |
#
# 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 | cloud/azure/network/virtualnetwork/plugin.pm | Perl | apache-2.0 | 1,858 |
package Google::Ads::AdWords::v201809::AccountLabel;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/mcm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use Cl... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/AccountLabel.pm | Perl | apache-2.0 | 1,645 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and temperatureplication monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file exce... | bcournaud/centreon-plugins | network/digi/standard/snmp/mode/temperature.pm | Perl | apache-2.0 | 3,746 |
:- use_module('../../tools/error_manager.pl',
[add_error/3, add_message/4, add_exception/4, count_errors_occured/1,
set_verbosity_level/2]).
:- use_module(pillow/pillow).
:- use_module('prolog_to_xml_swi.pl').
main(Args) :-
catch(main1(Args),E,
(add_exception(ciao_entry, "Uncaught exception:~n",[],E),
... | leuschel/logen | weblogen/backend/highlight.pl | Perl | apache-2.0 | 1,513 |
package Paws::SES::VerifyEmailIdentity;
use Moose;
has EmailAddress => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'VerifyEmailIdentity');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SES::VerifyEm... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SES/VerifyEmailIdentity.pm | Perl | apache-2.0 | 1,679 |
#!/usr/bin/env perl
=begin EXPLANATION
The code below represents a solver for the puzzle raised in March 2016 on ponder this
(http://www.research.ibm.com/haifa/ponderthis/challenges/March2016.html).
Here are the squarereversed numbers that I found along with their respective squares:
0 -- 0
1 -- 1
5 -- 25
6 -- 36
96... | macdougt/perl-examples | ponder_this_201603.pl | Perl | apache-2.0 | 4,978 |
:- module(sample2,[],[objects]).
:- export(sample2/0).
:- use_class(library('javaobs/java/lang/String')).
:- use_class(library('javaobs/java/awt/Frame')).
:- use_class(library('javaobs/java/awt/TextField')).
:- use_class(library('javaobs/java/awt/Button')).
:- use_class(library('javaobs/java/awt/Container')).
:- use... | leuschel/ecce | www/CiaoDE/ciao/library/javaobs/Examples/sample2.pl | Perl | apache-2.0 | 1,652 |
#!/usr/bin/env perl
# Pragmas.
use strict;
use warnings;
# Modules.
use Indent::Block;
# Object.
my $i = Indent::Block->new(
'line_size' => 2,
'next_indent' => '',
);
# Print in scalar context.
print $i->indent(['text', 'text', 'text'])."\n";
# Output:
# text
# text
# text | gitpan/Indent | examples/ex10.pl | Perl | bsd-2-clause | 287 |
#!/usr/bin/perl
# Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, 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:
#
# 1. Redistributions of source code must retain the above copyright ... | BRCDcomm/perlbscsamples | 1.3.0/samplenetconf/demos/vr_demo4.pl | Perl | bsd-3-clause | 4,877 |
package XAQ; # Exoplanet Archive Query API wrapper
=head1 Name
XAQ.pm - Generate and Execute queries to the NASA Exoplanet Archive
=head1 Synopsis
use lib 'Kepler-Discoveries/lib'; # insert correct path here
use XAQ;
=head1 Description
The XAQ package is used to build URL-based queries to the Exoplanet Ar... | Caltech-IPAC/Kepler-Discoveries | lib/XAQ.pm | Perl | bsd-3-clause | 6,033 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseFBA::DB::TemplateReaction - This is the moose object corresponding to the KBaseFBA.TemplateReaction object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development l... | kbase/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseFBA/DB/TemplateReaction.pm | Perl | mit | 7,888 |
/*****************************************************************************
* 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.builder/prolog-src/new_pef_builder.pl | Perl | mit | 1,496 |
class Panda::Bundler {
use Panda::Common;
use Panda::Project;
use File::Find;
use JSON::Fast;
sub guess-project($where, Str :$name is copy, Str :$desc is copy) {
my $source-url;
indir $where, {
my $metafile = find-meta-file(".");
if $metafile.IO.e {
try my $json = from-json $metafi... | TimToady/panda | lib/Panda/Bundler.pm | Perl | mit | 6,826 |
package OpenResty;
our $VERSION = '0.005012';
use strict;
use warnings;
#use Smart::Comments '####';
use Data::UUID;
use YAML::Syck ();
use JSON::XS ();
use Compress::Zlib;
use List::Util qw(first);
use Params::Util qw(_HASH _STRING _ARRAY0 _ARRAY _SCALAR);
use Encode qw(from_to encode decode);
use Data::Structure:... | beni55/old-openresty | lib/OpenResty.pm | Perl | bsd-3-clause | 26,609 |
#!/usr/bin/perl
use strict;
use Test::More;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
sleep 1;
my $threads = 128;
my $running = 0;
# default engine start option : -m 512
# example) ./memcached -E .libs/default_engine.so -X .libs/ascii_scrub.so -m 512
while ($running < $threads) {
# my $sock =... | ropik/arcus-memcached | t/too_many_eviction_set_work.pl | Perl | bsd-3-clause | 2,623 |
package Mail::Toaster::DNS;
use strict;
use warnings;
our $VERSION = '5.50';
use Params::Validate ':all';
use lib 'lib';
use parent 'Mail::Toaster::Base';
sub is_ip_address {
my $self = shift;
my %p = validate(
@_,
{ 'ip' => { type => SCALAR, },
'rbl' => { type => SCALAR, },
... | msimerson/Mail-Toaster | lib/Mail/Toaster/DNS.pm | Perl | bsd-3-clause | 11,757 |
#!perl
use Test::More;
use Test::Exception;
use strict;
use warnings;
no warnings 'redefine';
our ( $es, $es_version );
my $r;
SKIP: {
skip "Warmers only supported in 0.20", 31
if $es_version lt '0.20';
ok $es->create_warmer( warmer => 'warmer_1', queryb => { foo => 1 } ),
'warmer:all/all';... | gitpan/Search-Elasticsearch-Compat | t/request_tests/warmers.pl | Perl | apache-2.0 | 4,290 |
#
# 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/adic/tape/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 6,896 |
# 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/CharBuf.pm | Perl | apache-2.0 | 893 |
package Imager::Font::FT2;
use strict;
use Imager;
use vars qw($VERSION @ISA);
@ISA = qw(Imager::Font);
BEGIN {
$VERSION = "0.85";
require XSLoader;
XSLoader::load('Imager::Font::FT2', $VERSION);
}
*_first = \&Imager::Font::_first;
sub new {
my $class = shift;
my %hsh=(color=>Imager::Color->new(255,0,0,25... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Imager/Font/FT2.pm | Perl | bsd-3-clause | 4,878 |
=pod
=head1 NAME
ASN1_STRING_print_ex, ASN1_STRING_print_ex_fp, ASN1_STRING_print - ASN1_STRING output routines
=head1 SYNOPSIS
#include <openssl/asn1.h>
int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags);
int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long f... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/ASN1_STRING_print_ex.pod | Perl | apache-2.0 | 4,059 |
package Signal::Pending;
$Signal::Pending::VERSION = '0.008';
use strict;
use warnings FATAL => 'all';
use Config;
use POSIX qw/sigpending/;
use IPC::Signal qw/sig_num sig_name/;
use Carp qw/croak/;
my $sig_max = $Config{sig_count} - 1;
tie %Signal::Pending, __PACKAGE__;
sub TIEHASH {
my $class = shift;
my $self ... | rosiro/wasarabi | local/lib/perl5/Signal/Pending.pm | Perl | mit | 2,371 |
package Svg::Scripting; # define a new package
require 5.000; # needs version 5, latest version 5.00402
require Exporter; # standard module for making functions public
@ISA = qw(Exporter);
@EXPORT = qw( drawScript beginScript endScript
drawStyle beginStyle endStyle );
# use Svg::Std qw( message_out );
use st... | ablifedev/ABLIRC | ABLIRC/bin/Clip-Seq/ABLIFE/svg/Svg/Scripting.pm | Perl | mit | 8,858 |
package UUIDB::Util;
use v5.10;
use strict;
use warnings;
use Carp qw( carp croak confess );
use Scalar::Util qw( blessed );
use base qw( Exporter );
our @EXPORT_OK = qw(
check_args
is_loaded
safe_require
);
# TODO: POD
# TODO: make it possible to pass an arrayref of... | PLTGit/uuidb | lib/UUIDB/Util.pm | Perl | mit | 3,908 |
=head1 NAME
App::perlbrew - Manage perl installations in your $HOME
=head1 SYNOPSIS
# Initialize
perlbrew init
# Install some Perls
perlbrew install perl-5.8.1
perlbrew install perl-5.11.5
# See what were installed
perlbrew installed
# Switch perl in the $PATH
perlbrew switch p... | miyagawa/App-perlbrew | README.pod | Perl | mit | 4,378 |
package #
Date::Manip::TZ::assama00;
# 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' i... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZ/assama00.pm | Perl | mit | 6,840 |
#!/usr/bin/env perl
=head1 NAME
AddNdprotocolDescriptionChado
=head1 SYNOPSIS
mx-run ThisPackageName [options] -H hostname -D dbname -u username [-F]
this is a subclass of L<CXGN::Metadata::Dbpatch>
see the perldoc of parent class for more details.
=head1 DESCRIPTION
Add a description column to the Chado table... | solgenomics/sgn | db/00064/AddNdprotocolDescriptionChado.pm | Perl | mit | 1,643 |
/* Part of Extended Tools for SWI-Prolog
Author: Edison Mera Menendez
E-mail: efmera@gmail.com
WWW: https://github.com/edisonm/xtools
Copyright (C): 2015, Process Design Center, Breda, The Netherlands.
All rights reserved.
Redistribution and use in source and binary fo... | TeamSPoon/logicmoo_workspace | packs_lib/xtools/prolog/record_locations.pl | Perl | mit | 9,442 |
# 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/FeedItemQualityDisapprovalReasonEnum.pm | Perl | apache-2.0 | 2,405 |
=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/Web/Component/StructuralVariation/LocalGenes.pm | Perl | apache-2.0 | 845 |
#!/usr/bin/perl
use strict;
use warnings;
use File::Basename;
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::NGSCommon;
use CQS::StringUtils;
use CQS::ProgramWrapperOneToMany;
use Test::More tests => 4;
my $test = CQS::ProgramWrapperOneToMany->new();
my $config = {
general =... | shengqh/ngsperl | test/CQS/TestProgramWrapperOneToMany.pl | Perl | apache-2.0 | 2,145 |
###########################################$
# Copyright 2008-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License.
# A copy of the License is located at
#
# http://aws.a... | electric-cloud/EC-EC2 | src/main/resources/project/lib/Amazon/EC2/Model/DescribeVpnGatewaysRequest.pm | Perl | apache-2.0 | 2,851 |
package OpenXPKI::Server::Workflow::Condition::SubjectValid;
use strict;
use warnings;
use base qw( OpenXPKI::Server::Workflow::Condition );
use Workflow::Exception qw( condition_error configuration_error );
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Debug;
use OpenXPKI::DN;
use Data::Dumper;
sub _evalua... | openxpki/openxpki | core/server/OpenXPKI/Server/Workflow/Condition/SubjectValid.pm | Perl | apache-2.0 | 1,994 |
=head1 LICENSE
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 License.
You may obta... | james-monkeyshines/ensembl | modules/Bio/EnsEMBL/IdMapping/SyntenyFramework.pm | Perl | apache-2.0 | 17,224 |
package MemTest_conf;
use strict;
use warnings;
use base ('Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf');
sub default_options {
my ($self) = @_;
# The hash returned from this function is used to configure the
# pipeline, you can supply any of these options on the command
# line to override these default valu... | at7/work | pipelines/memtest/MemTest_conf.pm | Perl | apache-2.0 | 2,691 |
package Paws::Glue::CreateDevEndpointResponse;
use Moose;
has AvailabilityZone => (is => 'ro', isa => 'Str');
has CreatedTimestamp => (is => 'ro', isa => 'Str');
has EndpointName => (is => 'ro', isa => 'Str');
has ExtraJarsS3Path => (is => 'ro', isa => 'Str');
has ExtraPythonLibsS3Path => (is => 'ro', isa ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Glue/CreateDevEndpointResponse.pm | Perl | apache-2.0 | 2,091 |
#
# 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 | apps/virtualization/ovirt/mode/listhosts.pm | Perl | apache-2.0 | 2,752 |
=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-variation | scripts/import/ImportUtils.pm | Perl | apache-2.0 | 12,413 |
package Dancer::Route;
# ABSTRACT: Class to represent a route in Dancer
use strict;
use warnings;
use Carp;
use base 'Dancer::Object';
use Dancer::App;
use Dancer::Logger;
use Dancer::Config 'setting';
use Dancer::Request;
use Dancer::Response;
use Dancer::Exception qw(:all);
use Dancer::Factory::Hook;
Dancer::Route... | sonar-perl/sonar-perl | perl/Dancer/lib/Dancer/Route.pm | Perl | apache-2.0 | 9,777 |
#
# 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/kemp/snmp/mode/rsstatus.pm | Perl | apache-2.0 | 7,657 |
package Paws::CognitoIdp::DescribeUserPool;
use Moose;
has UserPoolId => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeUserPool');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CognitoIdp::De... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CognitoIdp/DescribeUserPool.pm | Perl | apache-2.0 | 1,668 |
#
# 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 | storage/ibm/fs900/snmp/mode/components/psu.pm | Perl | apache-2.0 | 4,770 |
# 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 obtain a... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/ProjectedTranscriptEvidence.pm | Perl | apache-2.0 | 16,254 |
=head1 LICENSE
Copyright (c) 1999-2009 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... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/DBSQL/StrainSliceAdaptor.pm | Perl | apache-2.0 | 10,858 |
=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 obt... | Ensembl/ensembl-production | modules/Bio/EnsEMBL/Production/Search/MarkerFetcher.pm | Perl | apache-2.0 | 2,804 |
=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... | willmclaren/ensembl | modules/Bio/EnsEMBL/SplicingTranscriptPair.pm | Perl | apache-2.0 | 2,309 |
package VMOMI::VirtualMachineBootOptionsBootableEthernetDevice;
use parent 'VMOMI::VirtualMachineBootOptionsBootableDevice';
use strict;
use warnings;
our @class_ancestors = (
'VirtualMachineBootOptionsBootableDevice',
'DynamicData',
);
our @class_members = (
['deviceKey', undef, 0, ],
);
sub get_clas... | stumpr/p5-vmomi | lib/VMOMI/VirtualMachineBootOptionsBootableEthernetDevice.pm | Perl | apache-2.0 | 524 |
=head1 LICENSE
Copyright [1999-2016] 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... | FAANG/faang-format-transcriber | lib/Bio/FormatTranscriber/Callback/Echo.pm | Perl | apache-2.0 | 2,036 |
package OpenXPKI::Server::Workflow::Activity::Tools::SearchWorkflow;
use strict;
use base qw( OpenXPKI::Server::Workflow::Activity );
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Exception;
use OpenXPKI::Debug;
use OpenXPKI::Serialization::Simple;
use Data::Dumper;
use Workflow::Exception qw(configuration_e... | oliwel/openxpki | core/server/OpenXPKI/Server/Workflow/Activity/Tools/SearchWorkflow.pm | Perl | apache-2.0 | 3,416 |
=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/ImportNets.pm | Perl | apache-2.0 | 9,556 |
use strict;
package Net::API::RPX::Exception::Service;
BEGIN {
$Net::API::RPX::Exception::Service::AUTHORITY = 'cpan:KONOBI';
}
{
$Net::API::RPX::Exception::Service::VERSION = '0.04';
}
# ABSTRACT: A Class of exceptions for delivering problems from the RPX service.
use warnings;
use Moose;
use namespace::autoclea... | gitpan/Net-API-RPX | lib/Net/API/RPX/Exception/Service.pm | Perl | bsd-3-clause | 1,730 |
use strict;
use warnings;
package Dist::Zilla::Plugin::CPAN::Mini::Inject::REST;
our $VERSION = '0.005';
use Moose;
use Data::Dump;
extends 'CPAN::Mini::Inject::REST::Client::API';
with 'Dist::Zilla::Role::Releaser';
has '+port' => ( default => 80 );
has '+protocol' => ( default => 'http' );
sub release {
my (... | Altreus/Dist-Zilla-Plugin-CPAN-Mini-Inject-REST | lib/Dist/Zilla/Plugin/CPAN/Mini/Inject/REST.pm | Perl | bsd-3-clause | 3,005 |
#!/usr/bin/perl -w
#
# Copyright (c) 2013, Carnegie Mellon University.
# 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
# n... | RS1999ent/spectroscope | source/eval/eval_response_time_mutation_identification.pl | Perl | bsd-3-clause | 22,369 |
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% Example code from the book "Natural Language Processing in Prolog" %
% published by Addison Wesley %
% Copyright (c) 1989, Gerald Gazdar & Christopher Mellish. %
% % % % % % % % % % % % ... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/nlp_book/tdchart1.pl | Perl | mit | 1,513 |
###########################################################################
#
# 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/ca_ES.pod | Perl | mit | 10,740 |
package Google::Ads::AdWords::v201406::UserListConversionType;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201406' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/UserListConversionType.pm | Perl | apache-2.0 | 1,734 |
package Google::Ads::AdWords::v201409::CampaignAdExtensionService::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... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/CampaignAdExtensionService/mutate.pm | Perl | apache-2.0 | 2,087 |
package GUID;
# ************************************************************
# Description : Generate GUID's for VC7 projects and workspaces
# Author : Chad Elliott
# Create Date : 5/14/2002
# ************************************************************
# ***************************************************... | wfnex/openbras | src/ace/ACE_wrappers/MPC/modules/GUID.pm | Perl | bsd-3-clause | 1,234 |
package FlowPDF::Exception::EntityAlreadyExists;
use base qw/FlowPDF::Exception/;
use strict;
use warnings;
sub exceptionCode {
return 'CBF0007EAE';
}
sub render {
my ($self, $params) = @_;
my $message = 'Entity already exists.';
if (!ref $params) {
$params ||= $message;
return $para... | electric-cloud/EC-JBoss | src/main/resources/project/pdk/FlowPDF/Exception/EntityAlreadyExists.pm | Perl | apache-2.0 | 1,814 |
#------------------------------------------------------------------------------
# File: es.pm
#
# Description: ExifTool Spanish language translations
#
# Notes: This file generated automatically by Image::ExifTool::TagInfoXML
#-----------------------------------------------------------------------------... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Lang/es.pm | Perl | apache-2.0 | 123,012 |
package Net::Netconf::Manager;
use Carp;
our $VERSION ='1.02';
# This instantiates a Junoscript or a Netconf device depending on the 'server'
# specified. Default is Netconf.
sub new
{
my($class, %args) = @_;
my $self = { %args };
my $device = undef;
# Junoscript session
if (defined $self->{'serv... | jackson-tim/netconf-perl | lib/Net/Netconf/Manager.pm | Perl | apache-2.0 | 4,704 |
line0=Opcje konfiguracji,11
view_condition=Wy¶wietlaæ stan na li¶cie regu³?,1,1-Tak,0-Nie
view_comment=Wy¶wietlaæ komentarz na li¶cie regu³?,1,1-Tak,0-Nie
comment_mod=Zapisuj komentarze jako,1,0-# zapis w pliku komentarzy,1---opcja komentarzy
cluster_mode=Aktualizuj klaster serwerów,1,0-Zawsze, gdy wprowadz... | BangL/webmin | firewall/config.info.pl | Perl | bsd-3-clause | 922 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/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 existe... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Blk/Thaana.pl | Perl | apache-2.0 | 433 |
# $Id$
#
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
#
# Copyright 2001-2003 AxKit.com Ltd., 2002-2006 Christian Glahn, 2006-2009 Petr Pajas
#
#
package XML::LibXML;
use strict;
use vars qw($VERSION $ABI_VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$s... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/XML/LibXML.pm | Perl | bsd-3-clause | 65,874 |
package IO::Uncompress::AnyUncompress ;
use strict;
use warnings;
use bytes;
use IO::Compress::Base::Common 2.060 ();
use IO::Uncompress::Base 2.060 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyUncompressError);
$VERSION = '2.060';
$AnyUncompressError = '';
@ISA = qw( Exporter IO::Unc... | Dokaponteam/ITF_Project | xampp/perl/lib/IO/Uncompress/AnyUncompress.pm | Perl | mit | 29,391 |
#! /usr/bin/env perl
# Copyright 2011-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | openweave/openweave-core | third_party/openssl/openssl/crypto/aes/asm/vpaes-x86.pl | Perl | apache-2.0 | 28,094 |
package AI::MXNet::IO;
use strict;
use warnings;
use AI::MXNet::Base;
use AI::MXNet::Function::Parameters;
use Scalar::Util qw/blessed/;
=head1 NAME
AI::MXNet::IO - NDArray interface of mxnet.
=cut
# Convert data into canonical form.
method init_data(
AcceptableInput|HashRef[AcceptableInput]|ArrayRef[Accepta... | likelyzhao/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/IO.pm | Perl | apache-2.0 | 19,472 |
package Imager::ExtUtils;
use strict;
use File::Spec;
use vars qw($VERSION);
$VERSION = "1.002";
=head1 NAME
Imager::ExtUtils - functions handy in writing Imager extensions
=head1 SYNOPSIS
# make Imager easier to use with Inline
# perldoc Imager::Inline
use Inline with => 'Imager';
=head1 DESCRIPTION
=ove... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Imager/ExtUtils.pm | Perl | mit | 2,122 |
package Encode::MIME::Header;
use strict;
use warnings;
no warnings 'redefine';
our $VERSION = do { my @r = ( q$Revision: 2.5 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
use Encode qw(find_encoding encode_utf8 decode_utf8);
use MIME::Base64;
use Carp;
my %seed = (
decode_b => '1', # decodes 'B' encoding... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/i686-cygwin/Encode/MIME/Header.pm | Perl | bsd-3-clause | 6,874 |
# src/pl/plperl/text2macro.pl
=head1 NAME
text2macro.pl - convert text files into C string-literal macro definitions
=head1 SYNOPSIS
text2macro [options] file ... > output.h
Options:
--prefix=S - add prefix S to the names of the macros
--name=S - use S as the macro name (assumes only one file)
--str... | rubikloud/gpdb | src/pl/plperl/text2macro.pl | Perl | apache-2.0 | 2,166 |
=pod
=head1 NAME
BIO_s_connect, BIO_new_connect, BIO_set_conn_hostname, BIO_set_conn_port,
BIO_set_conn_ip, BIO_set_conn_int_port, BIO_get_conn_hostname,
BIO_get_conn_port, BIO_get_conn_ip, BIO_get_conn_int_port,
BIO_set_nbio, BIO_do_connect - connect BIO
=head1 SYNOPSIS
#include <openssl/bio.h>
BIO_METHOD * BIO... | dkoontz/nodegit | vendor/openssl/openssl/doc/crypto/BIO_s_connect.pod | Perl | mit | 6,795 |
#!/usr/bin/perl
use strict;
use warnings;
my $found = 0;
my $COLON_POS = 10;
sub msg {
$found = 1;
my $v = shift;
$v =~ /^\s*([^:]+):(.*)$/;
chomp(my $errtype = $1);
my $rest = $2;
my $padding = ' ' x ($COLON_POS - length $errtype);
print "$padding$errtype:$rest\n";
}
my $C = 0;
if ($ARGV[0] =~ /^-/)... | zcoinofficial/zcoin | src/tor/scripts/maint/checkSpace.pl | Perl | mit | 8,319 |
# Copyright (c) 2004 Peter Marschall <peter@adpm.de>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
package Net::LDAP::Control::PersistentSearch;
use vars qw(@ISA $VERSION);
use Net::LDAP::Control;
@ISA = qw(Net::LDAP::Control);
... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/LDAP/Control/PersistentSearch.pm | Perl | mit | 4,478 |
use strict;
use warnings;
use List::Util qw( max min );
my $n = int ( <> );
my @a = split ( " ", <> );
my $len = scalar @a;
my $res = $a[-1] - $a[0];
for ( my $i = 1; $i + 1< $len; $i++ ){
my $last = $a[0];
my $mx = 0;
for ( my $j = 1; $j < $len; $j++ ) {
next if $i == $j;
$mx = max $mx, int($a[$j] - $last);
... | ashamza/Perl | Codeforces/Accepted/496A.pl | Perl | mit | 382 |
#BEGIN_HEADER
#
# Copyright (C) 2020 Mahdi Safsafi.
#
# https://github.com/MahdiSafsafi/opcodesDB
#
# See licence file 'LICENCE' for use and distribution rights.
#
#END_HEADER
use strict;
use warnings;
# PF2IW-Packed Floating-Point to Integer Word Conversion with Sign Extend.
ENCODING PF2IW => {
diagram => 'ENC... | MahdiSafsafi/opcodesDB | db/x86/fpsimd/encodings.pl | Perl | mit | 31,758 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.