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 |
|---|---|---|---|---|---|
# test/cms-test.pl
# Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
# project.
#
# ====================================================================
# Copyright (c) 2008 The OpenSSL Project. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# mod... | jiangzhu1212/oooii | Ouroboros/External/OpenSSL/openssl-1.0.0e/test/cms-test.pl | Perl | mit | 16,073 |
#!usr/bin/perl
# Two files need to be generated in order to analyze the two strains of
# Prevotella Intermedia: one is a list of scores between protein-ORF pairs;
# the other is a list of indels and mismatches between the two strains.
# The scores list would contain the ids, total length, aligned length,
# unaligned l... | gtblack/DNA.analysis | scripts/ascores_indel.pl | Perl | mit | 4,153 |
# messages to ignore {{{
# boulders {{{
recolor qr/With great effort you move the boulder./ => "darkgray";
recolor qr/You try to move the boulder, but in vain./ => "darkgray";
# }}}
# pets {{{
recolor qr/You displaced (?:your )?[^.?!]*./ => "darkgray";
recolor qr/You stop[^.?!]*. (?:Your )?.*? is in the way!/ => "dark... | TAEB/Interhack | plugins/doy-colors-messages.pl | Perl | mit | 8,165 |
#!/usr/bin/env perl
######################################
# $URL: http://mishin.narod.ru $
# $Date: 2011-12-23 19:53:20 +0300 (Web, 14 Sep 2011) $
# $Author: mishin nikolay $
# $Revision: 1.02 $
# $Source: convert_var_to_yaml.pl $
# $Description: convert perl variables to yaml format $
#################... | mishin/presentation | my_scripts/test_perl_variable.pl | Perl | apache-2.0 | 1,019 |
=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... | at7/ensembl | misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm | Perl | apache-2.0 | 2,530 |
package #
Date::Manip::TZ::assama00;
# 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/assama00.pm | Perl | bsd-2-clause | 6,840 |
# !!!!!!! 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 existe... | operepo/ope | bin/usr/share/perl5/core_perl/unicore/lib/Gc/Cf.pl | Perl | mit | 680 |
# For internal Module::CoreList use only.
package Module::CoreList::TieHashDelta;
use strict;
use vars qw($VERSION);
$VERSION = "2.83";
sub TIEHASH {
my ($class, $changed, $removed, $parent) = @_;
return bless {
changed => $changed,
removed => $removed,
parent => $parent,
keys... | Dokaponteam/ITF_Project | xampp/perl/lib/Module/CoreList/TieHashDelta.pm | Perl | mit | 1,655 |
# orgcard2txt.pl - a script to generate orgcard.txt from orgcard.tex
# Copyright (C) 2010, 2013 Osamu OKANO
#
# Version: 0.1
#
# 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 3 of... | nuppt/.emacs.d | packages/org-mode/mk/orgcard2txt.pl | Perl | mit | 3,429 |
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/lib/Perl/Critic/Policy/InputOutput/RequireBriefOpen.pm $
# $Date: 2012-07-02 22:16:39 -0700 (Mon, 02 Jul 2012) $
# $Author: thaljef $
# $Revision:... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Perl/Critic/Policy/InputOutput/RequireBriefOpen.pm | Perl | mit | 11,993 |
=pod
=head1 NAME
ERR_put_error, ERR_add_error_data - record an error
=head1 SYNOPSIS
#include <openssl/err.h>
void ERR_put_error(int lib, int func, int reason, const char *file,
int line);
void ERR_add_error_data(int num, ...);
=head1 DESCRIPTION
ERR_put_error() adds an error code to the thread's er... | vbloodv/blood | extern/openssl.orig/doc/crypto/ERR_put_error.pod | Perl | mit | 1,047 |
/* Part of LogicMOO Base An Implementation a MUD server in SWI-Prolog
% ===================================================================
% File 'dcg_meta.pl'
% Purpose: An Implementation in SWI-Prolog of certain debugging tools
% Maintainer: Douglas Miles
% Contact: $Author: dmiles $@users.sourceforge.net ;
% Versio... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_utils/prolog/logicmoo/dcg_must.pl | Perl | mit | 2,319 |
=head1 NAME
AtteanX::Parser::SPARQLJSON - SPARQL JSON Parser
=head1 VERSION
This document describes AtteanX::Parser::SPARQLJSON version 0.002
=head1 SYNOPSIS
use Attean;
my $parser = Attean->get_parser('SPARQLJSON')->new();
$parser->parse_list_from_io( $fh );
=head1 DESCRIPTION
...
=head1 METHODS
=over 4
=... | gitpan/Attean | lib/AtteanX/Parser/SPARQLJSON.pm | Perl | mit | 3,187 |
#!/usr/bin/env perl
use strict;
# Requires samtools: http://samtools.sourceforge.net/
my $samtools = "samtools";
sub run($) {
my $exe = shift;
chomp $exe;
print STDERR $exe."\n";
system($exe);
}
my @bamfiles = @ARGV;
unless(scalar(@bamfiles) > 0) {
die "Usage: $0 [BAM file(s)]\n";
}
foreach my ... | mccrowjp/utilities | bam_mapped.pl | Perl | mit | 665 |
=encoding UTF-8
=head1 Name
sqitchtutorial-oracle - A tutorial introduction to Sqitch change management on Oracle
=head1 Synopsis
sqitch *
=head1 Description
This tutorial explains how to create a sqitch-enabled Oracle project, use a
VCS for deployment planning, and work with other developers to make sure
chang... | gitpan/App-Sqitch | lib/sqitchtutorial-oracle.pod | Perl | mit | 61,607 |
#!/usr/bin/env perl
use strict;
use local::lib;
use Daemon::Control;
$ENV{HOME} = '/vagrant';
Daemon::Control->new(
{ name => 'Maximus-Docs',
path => '/vagrant/script/init.d/maximus-docs.pl',
directory => '/vagrant/docs',
program => 'http_this',
program_ar... | maximos/maximus-web | puppet/modules/maximus/files/maximus_docs.pl | Perl | mit | 784 |
package PlasmidFinder::FinderStats;
use strict;
use warnings;
use List::MoreUtils qw(any);
use Class::Std::Utils;
use Statistics::Basic qw(mean stddev);
# #
## ##
###Getter Methods###
## ##
# #
sub calc_num_devs {
... | hunter-cameron/Bioinformatics | perl/PlasmidFinder/FinderStats.pm | Perl | mit | 471 |
=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/DBSQL/GeneTreeAdaptor.pm | Perl | apache-2.0 | 22,566 |
#!/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... | willmclaren/ensembl-variation | scripts/import/repeats_filter.pl | Perl | apache-2.0 | 3,889 |
package Google::Ads::AdWords::v201809::PolicySummaryDenormalizedStatus;
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... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/PolicySummaryDenormalizedStatus.pm | Perl | apache-2.0 | 1,206 |
#
# 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 | hardware/server/hp/ilo/xmlapi/mode/components/battery.pm | Perl | apache-2.0 | 2,830 |
package Google::Ads::AdWords::v201809::CampaignError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/CampaignError/Reason.pm | Perl | apache-2.0 | 1,113 |
#
# 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/alcatel/omniswitch/snmp/plugin.pm | Perl | apache-2.0 | 1,979 |
package DDG::Goodie::MarkdownReference;
# ABSTRACT: Provide a cheatsheet for common Markdown syntax
use strict;
use DDG::Goodie;
use JSON;
zci answer_type => 'markdown_reference';
zci is_cached => 1;
triggers startend => (
'markdown', 'md',
);
my $json = share('synonyms.json')->slurp();
my $synonyms = decode_... | mohan08p/zeroclickinfo-goodies | lib/DDG/Goodie/MarkdownReference.pm | Perl | apache-2.0 | 2,020 |
package Paws::DAX::DeleteSubnetGroup;
use Moose;
has SubnetGroupName => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteSubnetGroup');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DAX::DeleteSub... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DAX/DeleteSubnetGroup.pm | Perl | apache-2.0 | 1,637 |
#
# 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/custom/azcli.pm | Perl | apache-2.0 | 21,319 |
#
# Copyright 2015 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... | s-duret/centreon-plugins | os/windows/local/mode/ntp.pm | Perl | apache-2.0 | 6,108 |
=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/PipeConfig/Example/EGLastz_conf.pm | Perl | apache-2.0 | 5,732 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2018] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/public-plugins | users/modules/EnsEMBL/Users/Command/Account/Bookmark/Share.pm | Perl | apache-2.0 | 2,719 |
:- use_module(library(lists),[append/3]).
% APPLY CHANGES BELOW
% Application
set_app_search_paths:-
absolute_file_name('app_search_paths.pl',Abs),
atom_chars(Abs,AbsChars),
append(PathChars,"/app_search_paths.pl",AbsChars),
atom_chars(Path,PathChars),
assert(user:file_search_path(app,Path)),
assert(user... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis-apps/domain-player/app_search_paths.pl | Perl | mit | 636 |
#
# 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 | apps/github/mode/stats.pm | Perl | apache-2.0 | 4,423 |
#! /usr/bin/perl -w
#
# Copyright (c) 2004 Liviu Daia <Liviu.Daia@imar.ro>
# All rights reserved.
#
# Revision
# Id
# Source
#
use HTML::Parser;
use strict;
use Carp ();
local $SIG{__WARN__} = \&Carp::cluck;
my ($p, $fn, %a);
sub
html_parse_start ($$)
{
my ($t, $attr) = @_;
push @{$a{$attr->{name}}}, $fn
... | execunix/vinos | external/ibm-public/postfix/dist/mantools/get_anchors.pl | Perl | apache-2.0 | 803 |
# 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 ... | kidaa/lucy | perl/lib/Lucy/Analysis/EasyAnalyzer.pm | Perl | apache-2.0 | 898 |
#!/usr/bin/env perl
use strict;
my $usage = <<USAGE;
Function: Reset start position for circular genome.
Usage: reset_start_position_for_circular_genome <fasta file> <new start>
Example:
1. Set the 100th base as the new start position
reset_start_position_for_circular_genome seq.fa 100
Author: Wei S... | shenwei356/bio_scripts | sequence/fasta_reset_start_position_for_circular_genome.pl | Perl | mit | 1,608 |
%% ---
%% Excerpted from "Seven Languages in Seven Weeks",
%% published by The Pragmatic Bookshelf.
%% Copyrights apply to this code. It may not be used to create training material,
%% courses, books, articles, and the like. Contact us if you are in doubt.
%% We make no guarantees that this code is fit for any pu... | nmcl/scratch | prolog/concat_step_2.pl | Perl | apache-2.0 | 493 |
#!/usr/bin/perl
#
# Copyright (c) 2010 Kungliga Tekniska Högskolan
# (Royal Institute of Technology, Stockholm, Sweden).
# 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... | GaloisInc/hacrypto | src/C/NetBSD-7.0/crypto/external/bsd/heimdal/dist/lib/gssapi/gen-oid.pl | Perl | bsd-3-clause | 3,785 |
package Agua::Common::Volume;
use Moose::Role;
use Method::Signatures::Simple;
method automount () {
=head2
**** DEPRECATED: automount.py STARCLUSTER PLUGIN TAKES CARE OF THIS **
SUBROUTINE automount
PURPOSE
MAKE SURE THAT THE NODES ARE FULLY OPERATIONAL BEFORE THE MOUNTS ARE ATTEMPTED
=cut
#### OPEN NFS... | aguadev/aguadev | t/unit/bin/Agua/Uml/Uml/inputs/lib/Agua/Common/Volume.pm | Perl | mit | 28,510 |
#==========================================================================
# Copyright (c) 1995-1998 Martien Verbruggen
#--------------------------------------------------------------------------
#
# Name:
# GD::Graph::colour.pm
#
# Description:
# Package of colour manipulation routines, t... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/GD/Graph/colour.pm | Perl | mit | 7,756 |
=pod
=head1 NAME
SSL_clear - reset SSL object to allow another connection
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_clear(SSL *ssl);
=head1 DESCRIPTION
Reset B<ssl> to allow another connection. All settings (method, ciphers,
BIOs) are kept.
=head1 NOTES
SSL_clear is used to prepare an SSL object for a... | openweave/openweave-core | third_party/openssl/openssl/doc/ssl/SSL_clear.pod | Perl | apache-2.0 | 2,567 |
# $Id: Subs.pm,v 1.1 2003/07/27 16:07:49 matt Exp $
package XML::Parser::Style::Subs;
sub Start {
no strict 'refs';
my $expat = shift;
my $tag = shift;
my $sub = $expat->{Pkg} . "::$tag";
eval { &$sub($expat, $tag, @_) };
}
sub End {
no strict 'refs';
my $expat = shift;
my $tag = shift;
my $sub = $... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/i686-cygwin/XML/Parser/Style/Subs.pm | Perl | bsd-3-clause | 1,080 |
package O2::Template::Node::HtmlComment;
use strict;
use base 'O2::Template::Node';
1;
| haakonsk/O2-Framework | lib/O2/Template/Node/HtmlComment.pm | Perl | mit | 90 |
package MIP::Recipes::Download::Giab;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Basename qw{ dirname };
use File::Spec::Functions qw{ catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use warnings;
use war... | henrikstranneheim/MIP | lib/MIP/Recipes/Download/Giab.pm | Perl | mit | 6,081 |
#!/usr/bin/perl -w
# Copyright 2001, 20002 Rob Edwards
# For updates, more information, or to discuss the scripts
# please contact Rob Edwards at redwards@utmem.edu or via http://www.salmonella.org/
#
# This file is part of The Phage Proteome Scripts developed by Rob Edwards.
#
# Tnese scripts are free ... | linsalrob/bioinformatics | phage_tree/bact2combineprotdists.pl | Perl | mit | 11,991 |
/** <module> BSON document manipulation.
*
* Most of these predicates run in O(n), but that may change.
*/
:- module(_, [
doc_is_valid/1,
doc_empty/1,
doc_get/3,
doc_get_strict/3,
doc_put/4,
doc_delete/3,
doc_keys/2,
doc_values/2,
doc_keys_values/3
]).
:- include(bson(include/c... | khueue/prolog-bson | src/bson_doc.pl | Perl | mit | 2,710 |
use warnings;
no warnings ('uninitialized', 'substr');
use Getopt::Long;
use Cwd;
use IPC::Cmd qw[can_run run];
use Bio::SeqIO;
use Bio::Root::Exception;
use Scalar::Util qw(looks_like_number);
use File::Path qw( make_path );
my $samplesheet = shift;
my $work_dir = shift;
my $prefix = shift;
my $prefix1 = shift;
my $... | deepalivasoya/MHCIhaploCaller | Test/Scripts/checkSamplesOverlapPCR.pl | Perl | mit | 1,559 |
#!/usr/bin/perl -w
# Copyright 2001, 20002 Rob Edwards
# For updates, more information, or to discuss the scripts
# please contact Rob Edwards at redwards@utmem.edu or via http://www.salmonella.org/
#
# This file is part of The Phage Proteome Scripts developed by Rob Edwards.
#
# Tnese scripts are free ... | linsalrob/bioinformatics | phage_tree/randommatrices.pl | Perl | mit | 2,665 |
use strict;
use warnings;
use 5.018;
while(<>){
chomp;
if(/(?<word>\b\w*a)(?<after>\w{1,5})*/){
print "'word' contains '$+{word}' \n";
if(defined $+{after}){
print "and 'after' contains '$+{after}'\n"
}
}else{
print "No match: |$_| \n";
}
}
| moosan63/LearningPerl | chapter8/ex8-5.pl | Perl | mit | 310 |
# $Id$
package ExtUtils::MakeMaker;
use strict;
BEGIN {require 5.006;}
require Exporter;
use ExtUtils::MakeMaker::Config;
use Carp;
use File::Path;
our $Verbose = 0; # exported
our @Parent; # needs to be localized
our @Get_from_Config; # referenced by MM_Unix
our @MM_Sections;
our @Overridable;
m... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/ExtUtils/MakeMaker.pm | Perl | mit | 91,102 |
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# ... | FlashYoshi/YoutubePlaylistDownloader | curl-7.28.1/curl-7.28.1/tests/runtests.pl | Perl | mit | 151,039 |
%query: append(o,o,o).
% mode: append[i,i,o]
append([],L,L).
append([H|L1],L2,[H|L3]) :- append(L1,L2,L3).
% mode: append1[o,o,i]
append1([],L,L).
append1([H|L1],L2,[H|L3]) :- append1(L1,L2,L3).
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Logic_Programming/talp_plumer/pl1.1.pl | Perl | mit | 198 |
package SmartSea::Schema::Result::LayerClass;
use strict;
use warnings;
use 5.010000;
use base qw/DBIx::Class::Core/;
use Scalar::Util 'blessed';
use SmartSea::Core qw(:all);
use SmartSea::HTML qw(:all);
my @columns = (
id => {},
name => {data_type => 'text', html_size => 30, not_null => 1},
se... | ajolma/SmartSeaMSPTool | SmartSea/Schema/Result/LayerClass.pm | Perl | mit | 709 |
package TrafficOpsRoutes;
#
# 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
#
... | hbeatty/traffic_control | traffic_ops/app/lib/TrafficOpsRoutes.pm | Perl | apache-2.0 | 50,861 |
package Google::Ads::AdWords::v201402::BiddingStrategySource;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/BiddingStrategySource.pm | Perl | apache-2.0 | 1,156 |
#
# Copyright 2015 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... | s-duret/centreon-plugins | centreon/plugins/mode.pm | Perl | apache-2.0 | 2,055 |
package Google::Ads::AdWords::v201809::OfflineDataUploadService::ApiExceptionFault;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201809' }
__PACKAGE__->__set_name('ApiExceptionFault');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs()... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/OfflineDataUploadService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,109 |
package VMOMI::HostInternetScsiHbaStaticTarget;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['address', undef, 0, ],
['port', undef, 0, 1],
['iScsiName', undef, 0, ],
['discoveryMethod', undef, 0, 1],
['authent... | stumpr/p5-vmomi | lib/VMOMI/HostInternetScsiHbaStaticTarget.pm | Perl | apache-2.0 | 831 |
=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/DensityPlot/BinValue.pm | Perl | apache-2.0 | 3,122 |
#!/usr/bin/perl -w
#
# A Drop-In-Replacement for SOAP::Lite, the requests repeated if something went wrong.
#
# $Id: Determined.pm 387 2011-07-26 12:36:11Z univie $
package Phaidra::API::SOAP::Determined;
use strict;
use warnings;
our $VERSION = '1.0';
use base 'SOAP::Lite';
use Log::Log4perl qw(get_logger);
use Dat... | phaidra/phaidra-api | lib/phaidra_binding/Phaidra/API/SOAP/Determined.pm | Perl | apache-2.0 | 1,815 |
#
# 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 | database/mysql/mode/replicationmasterslave.pm | Perl | apache-2.0 | 13,806 |
package Paws::EMR::Instance;
use Moose;
has EbsVolumes => (is => 'ro', isa => 'ArrayRef[Paws::EMR::EbsVolume]');
has Ec2InstanceId => (is => 'ro', isa => 'Str');
has Id => (is => 'ro', isa => 'Str');
has InstanceFleetId => (is => 'ro', isa => 'Str');
has InstanceGroupId => (is => 'ro', isa => 'Str');
has ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EMR/Instance.pm | Perl | apache-2.0 | 2,844 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl-webcode | modules/EnsEMBL/Draw/GlyphSet/chr_band.pm | Perl | apache-2.0 | 3,913 |
#!/usr/bin/env perl
use strict;
use Bio::EnsEMBL::Registry;
use Data::Dumper;
use Carp;
use Bio::EnsEMBL::Utils::Logger;
=head1
time mysql $(r2-w details mysql) mnuhn_testdb5_mus_musculus_funcgen_91_38 -e "drop table peak_calling_statistic"
time mysql $(r2-w details mysql) mnuhn_testdb5_mus_musculus_funcgen_91_38 ... | Ensembl/ensembl-funcgen | scripts/sequencing/generate_peak_calling_report.pl | Perl | apache-2.0 | 5,593 |
package Google::Ads::AdWords::v201402::AdGroupFeedService::ApiExceptionFault;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('ApiExceptionFault');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PA... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/AdGroupFeedService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,091 |
#!/usr/bin/perl -w
#
# POD documentation
#---------------------------------------------------------------------------
=pod BEGIN
=head1 NAME
seqret.pl - retrieve sequences with given intervals from a seq-db
=head1 SYNOPSIS
seqret.pl [-help] [-db fasta-db] [-out output-fasta]
[-bed BED-... | orionzhou/rgeneclust | seqret.pl | Perl | apache-2.0 | 2,799 |
package Google::Ads::AdWords::v201809::TrafficEstimatorError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl da... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/TrafficEstimatorError/Reason.pm | Perl | apache-2.0 | 1,093 |
:- module(parser_util, [
at_least_one/4,
at_least_one/5,
fillout/4,
fillout/5,
create_node/3,
create_field/3,
create_field/4,
create_field/5,
create_directed_field/5,
correct_commenting/4,
create_parse_structure/1,
create_parse_structure/2,
create_parse_structure/3,
create_environment/4,
insert_comments... | leuschel/ecce | www/CiaoDE/ciao/library.development/vrml/parser_util.pl | Perl | apache-2.0 | 11,507 |
#
# Copyright (c) 2013, Mitchell Cooper
#
# Evented::Methods: the name says it all.
#
# Evented::Methods can be found in its latest version at
# https://github.com/cooper/evented-methods.
#
#
package Evented::Methods;
use warnings;
use strict;
use utf8;
use 5.010;
use Carp;
use Scalar::Util 'blessed';
our $VERSION =... | cooper/evented-methods | lib/Evented/Methods.pm | Perl | bsd-2-clause | 2,097 |
package Parakeet::Xml;
use strict;
use warnings;
use utf8;
use Exporter 'import';
no warnings 'recursion';
use Parakeet::Xml::Entity;
use Data::Dumper;
use HTML::Entities;
use Misc::DmUtil::Data qw(notEmpty);
use Misc::DmUtil::File qw(readFileUtf8);
use Misc::DmUtil::Log qw(:level);
use Scalar::Util 'blessed';
use ... | duncanmartin/parakeet | lib/Parakeet/Xml.pm | Perl | bsd-2-clause | 17,655 |
manual_head_no_ell(7266,501,5).
manual_head_no_ell(7266,508,5).
manual_head_no_ell(7266,511,5).
manual_head_no_ell(15188,510,17).
manual_head(409,509,6).
manual_head(445,504,28).
manual_head(17658,506,6).
% manual heads for problematic cases
manual_head(3625,505,10).
manual_head(4018,500,6).
manual_head(4583,507,12)... | rsling/cow | src/malt/malteval/tiger2dep/corrections/manual_heads_tiger.pl | Perl | bsd-2-clause | 11,221 |
package TCDB::Domain::Characterize;
use strict;
no warnings;
use Data::Dumper;
use TCDB::Assorted;
use List::Util qw(sum);
use Ref::Util qw(is_hashref);
use Class::Struct;
#==========================================================================
# This module takes the proteins in a family containing PFAM domai... | SaierLaboratory/TCDBtools | perl-modules/TCDB/Domain/Characterize.pm | Perl | bsd-3-clause | 29,209 |
=head1 NAME
sibyl - Secure authentication using the Sibyl.
=head1 SYNOPSIS
The Sibyl is a client-server implementation of a secure authentication
protocol involving RSA encryption of the shadow (or analogous)
file. It requires a hardware device (the B<Sibyl>) and a software layer.
=head1 DESCRIPTION
The B<Sibyl> i... | thesibyl/thesibyl | doc/sibyl.pod | Perl | bsd-3-clause | 4,611 |
use strict;
open( INFILE, "<", $ARGV[0] )
or die("Cannot open file $ARGV[0] for reading: $!");
while ( my $line = <INFILE> ) {
chomp($line);
$line =~ s/[A-Z][a-z]+,|;//g;
my $s = 0;
my @r = map {
my $t = $_ - $s;
$s += $t;
$t;
} sort { $a <=> $b } split( / /, $line );
p... | nikai3d/ce-challenges | easy/road_trip.pl | Perl | bsd-3-clause | 371 |
package App::Netdisco::Web::Plugin::AdminTask::DuplicateDevices;
use Dancer ':syntax';
use Dancer::Plugin::Ajax;
use Dancer::Plugin::DBIC;
use Dancer::Plugin::Auth::Extensible;
use App::Netdisco::Web::Plugin;
register_admin_task({
tag => 'duplicatedevices',
label => 'Duplicate Devices',
});
ajax '/ajax/content/... | netdisco/netdisco | lib/App/Netdisco/Web/Plugin/AdminTask/DuplicateDevices.pm | Perl | bsd-3-clause | 988 |
# *************************************************************************
# Copyright (c) 2014-2016, SUSE LLC
#
# 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 sour... | smithfarm/dochazka-cli | lib/App/Dochazka/CLI/Commands/RestTest/Priv.pm | Perl | bsd-3-clause | 4,761 |
# WARNING
# Do not edit this file manually. Your changes will be overwritten with next FlowPDF update.
# WARNING
=head1 NAME
FlowPDF::Log
=head1 AUTHOR
CloudBees
=head1 DESCRIPTION
This class provides logging functionality for FlowPDF.
=head1 CAVEATS
This package is being loaded at the beginning of FlowPDF exec... | electric-cloud/EC-JBoss | src/main/resources/project/pdk/FlowPDF/Log.pm | Perl | apache-2.0 | 11,764 |
#
# 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 | centreon/common/aruba/snmp/mode/components/fan.pm | Perl | apache-2.0 | 2,658 |
require 5;
package Lingua::EN::Numbers::Ordinate;
use strict;
# Time-stamp: "2004-12-29 19:06:20 AST"
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
require Exporter;
@ISA = ('Exporter');
@EXPORT = ('ordinate');
@EXPORT_OK = ('ordsuf', 'th');
$VERSION = "1.02";
########################################################... | ya7lelkom/swift-k | tests/release/Lingua/EN/Numbers/Ordinate.pm | Perl | apache-2.0 | 4,471 |
package TAP::Formatter::Console::Session;
use strict;
use TAP::Formatter::Session;
use vars qw($VERSION @ISA);
@ISA = qw(TAP::Formatter::Session);
my @ACCESSOR;
BEGIN {
my @CLOSURE_BINDING = qw( header result clear_for_close close_test );
for my $method (@CLOSURE_BINDING) {
no strict 'refs';
... | dj31416/JSX | extlib/lib/perl5/TAP/Formatter/Console/Session.pm | Perl | mit | 6,081 |
package DDG::Spice::IsItUp;
# ABSTRACT: Checks if a website is up
use strict;
use DDG::Spice;
use DDG::Util::SpiceConstants;
triggers query_lc => qr/^((?:is\s|))(?:https?:\/\/)?([0-9a-z\-]+(?:\.[0-9a-z\-]+)*?)(?:(\.[a-z]{2,4})|)\s(?:up|down|working|online|status)\?*$/i;
spice to => 'https://isitup.org/$1.json?callba... | dogomedia/zeroclickinfo-spice | lib/DDG/Spice/IsItUp.pm | Perl | apache-2.0 | 1,278 |
# !!!!!!! 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/To/Uc.pl | Perl | apache-2.0 | 15,445 |
package Agar::Checkbox;
use strict;
use Agar;
1;
__END__
=head1 NAME
Agar::Checkbox - a 2-state checkbox widget
=head1 SYNOPSIS
use Agar;
use Agar::Checkbox;
Agar::Checkbox->new($parent);
=head1 DESCRIPTION
Extends Agar::Widget and Agar::Object. Please see AG_Checkbox(3) for a
full explanation of what... | adsr/agar | p5-Agar/Agar/Checkbox.pm | Perl | bsd-2-clause | 988 |
#! /usr/bin/env perl
# Copyright 2005-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... | endlessm/chromium-browser | third_party/boringssl/src/crypto/fipsmodule/sha/asm/sha512-x86_64.pl | Perl | bsd-3-clause | 53,518 |
# !!!!!!! 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 ... | liuyangning/WX_web | xampp/perl/lib/unicore/lib/GCB/XX.pl | Perl | mit | 2,542 |
# !!!!!!! 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/SB/CL.pl | Perl | mit | 788 |
#!/usr/bin/perl -w
# Input to this program should be a raw, greyscale RGB file
# Usage: rgb_histogram.pl myfile.rgb
my $image_filename = shift;
open(IMAGEFILE, "$image_filename") || die "Unable to open $image_filename!\n";
binmode IMAGEFILE;
my @pixelcount;
foreach my $count (0..255) { $pixelcount[$count] = 0; }
# ... | swift-lang/swift-k | tests/stress/apps/modis_uc3/getlanduse.pl | Perl | apache-2.0 | 669 |
package Crypt::OpenPGP::Constants;
use strict;
use vars qw( %CONSTANTS );
%CONSTANTS = (
'PGP_PKT_PUBKEY_ENC' => 1,
'PGP_PKT_SIGNATURE' => 2,
'PGP_PKT_SYMKEY_ENC' => 3,
'PGP_PKT_ONEPASS_SIG' => 4,
'PGP_PKT_SECRET_KEY' => 5,
'PGP_PKT_PUBLIC_KEY' => 6,
'PGP_PKT_SECRET_SUBKEY' => 7,
'P... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Crypt/OpenPGP/Constants.pm | Perl | mit | 2,448 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by mktables from e.g. UnicodeData.txt.
# Any changes made here will be lost!
#
# This file supports:
# \p{Nd}
# \p{Nd} (and fuzzy permutations)
#
# Meaning: General Category 'Nd'
#
return <<'END';
0030 0039
0660 0669
06F0 06F9
07C0 07C9
0966 096F... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/unicore/lib/gc_sc/Nd.pl | Perl | bsd-3-clause | 638 |
package DDG::Goodie::ScreenResolution;
# ABSTRACT: Return the current screen resolution using javascript
use DDG::Goodie;
use strict;
zci answer_type => "screen_resolution";
zci is_cached => 1;
triggers startend => "screen resolution", "display resolution", "resolution of my screen";
handle remainder => sub {
... | Midhun-Jo-Antony/zeroclickinfo-goodies | lib/DDG/Goodie/ScreenResolution.pm | Perl | apache-2.0 | 681 |
#
# Complex numbers and associated mathematical functions
# -- Raphael Manfredi Since Sep 1996
# -- Jarkko Hietaniemi Since Mar 1997
# -- Daniel S. Lewart Since Sep 1997
#
package Math::Complex;
{ use 5.006; }
use strict;
our $VERSION = 1.59;
use Config;
our($Inf, $ExpInf);
BEGIN {
my %DBL_MAX =
(
4 => '1... | Dokaponteam/ITF_Project | xampp/perl/lib/Math/Complex.pm | Perl | mit | 49,439 |
# -------------------------------------------------------------------------------------
# Author: Sourabh S Joshi (cbrghostrider); Copyright - All rights reserved.
# For email, run on linux (perl v5.8.5):
# perl -e 'print pack "H*","736f75726162682e732e6a6f73686940676d61696c2e636f6d0a"'
... | cbrghostrider/Hacking | HackerRank/Algorithms/RegEx/HTMLAttributes.pl | Perl | mit | 2,129 |
package LoginApp::Controller::MyController;
use Moo;
use Encode qw(decode encode);
extends 'Mojolicious::Controller';
sub getJsonParams
{
return shift->req->json;
}
sub renderTemplate
{
my $self = shift;
$self->render(@_);
}
1; | szilardcsom/mojo_login | lib/LoginApp/Controller/MyController.pm | Perl | mit | 240 |
#!/usr/bin/perl
#This script generates an R script to call NJst
#input is a table with treename<tab>newick tree
use strict;
use Bio::TreeIO;
my $filename = $ARGV[0];
my $outfile = $ARGV[1];
open FILE, $filename or die $!;
my @splitline;
print "require(phybase);\n";
print "genetrees<-c(";
my $counter=0;
my $tree;
w... | xibalbanus/PIA2 | osiris_phylogenetics/phylogenies/makeNJst.pl | Perl | mit | 2,085 |
use strict;
use warnings;
package TicTacToe::Scorer;
# ABSTRACT: Set of methods to score TTT Boards
use lib 'lib';
use base 'Exporter';
our @EXPORT = qw(score);
use TicTacToe::Board qw(winner);
sub score {
my $board = shift(@_);
my $letter = shift(@_);
my $depth = shift(@_) || 1;
my $winner = winner($bo... | ekosz/tic_tac_toe_perl | lib/TicTacToe/Scorer.pm | Perl | mit | 454 |
sub fib {
my $n = shift;
return $n < 2 ? $n : fib($n - 1) + fib($n - 2);
}
print fib($ARGV[0]), "\n";
| safx/fibonacci-benchmark | fib.pl | Perl | mit | 111 |
#!/usr/bin/perl -w
use strict;
my $sUsage = qq(
# This script will read two specifed gff-like file (which is different with normal gff)
# and compare the exon structures in these two files.
# 07.06.2011 SW
perl $0
<rice gff3 file generated by script run_genewise_wrapper.pl>
<brachy gff3>
<exon groups output file>
);
d... | swang8/Perl_scripts_misc | compare_rice_brachyp_exon_new_v3.pl | Perl | mit | 6,857 |
package Pakket::Role::CanUninstallPackage;
# ABSTRACT: A role providing package uninstall functionality
use v5.22;
use Moose::Role;
use namespace::autoclean;
# core
use Carp;
use experimental qw(declared_refs refaliasing signatures);
# non core
use Path::Tiny;
sub uninstall_package ($self, $info_file, $package) {
... | xsawyerx/pakket | lib/Pakket/Role/CanUninstallPackage.pm | Perl | mit | 1,319 |
package ELTracker::App;
use MooseX::App qw(Color Config ConfigHome);
use FindBin;
use DateTime::Format::Natural;
use DateTime::Format::ISO8601;
use ELTracker::Schema;
option 'debug' => (
is => 'rw',
isa => 'Bool',
documentation => 'Turn on debugging output',
);
option 'dsn' => (
... | PerlStalker/el-tracker | lib/ELTracker/App.pm | Perl | mit | 1,909 |
sub Rec {
my $n;
$n = $_[0];
if( $n > 0 ) {
Rec( $n - 1 );
print("Value of n is: $n\n");
}
return;
}
Rec(10);
| vaishious/comperler | asgn4/test/test8.pl | Perl | mit | 144 |
package Net::Z3950::ZOOM;
use 5.008;
use strict;
use warnings;
our $VERSION = '1.30';
require XSLoader;
XSLoader::load('Net::Z3950::ZOOM', $VERSION);
my($vs, $ss) = ("x" x 100, "x" x 100); # allocate space for these strings
my $version = Net::Z3950::ZOOM::yaz_version($vs, $ss);
if ($version < 0x040000 && ! -f "/tm... | jkb78/extrajnm | local/lib/perl5/darwin-2level/Net/Z3950/ZOOM.pm | Perl | mit | 5,882 |
package WebService::Zulip;
use strict;
use warnings;
use Carp;
use Encode 'encode_utf8';
use JSON;
use LWP::UserAgent;
use Data::Printer;
our $VERSION = '0.01';
my $api_endpoint = 'https://api.zulip.com/v1/';
my $http_realm = 'zulip';
sub new {
my ($package, %args) = @_;
my $self;
$self->{_api_key} ... | Stantheman/WebService-Zulip | lib/WebService/Zulip.pm | Perl | mit | 6,167 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.