code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm | Perl | apache-2.0 | 57,545 |
# 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/Common/ProductConditionInfo.pm | Perl | apache-2.0 | 1,026 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/DBSQL/SupportingFeatureAdaptor.pm | Perl | apache-2.0 | 7,513 |
#! /usr/bin/perl
use strict;
use utf8;
use warnings;
use Bio::SeqIO;
die"perl $0 <in.fa> <out.fa>\n" unless(@ARGV eq 2);
sub TranslateDNAFile(){
my ($infile, $outfile) = @_;
my $in = Bio::SeqIO->new(-file=>"< $infile",-format=>"fasta");
my $out = Bio::SeqIO->new(-file=>"> $outfile", -format=>"fasta");
while (my $... | BaconKwan/Perl_programme | sixPack/filter.pl | Perl | apache-2.0 | 437 |
#!/usr/bin/perl
######
# This script calculates some apache live stats
# All the information is extracted from the server-status page of
# the running apache webserver. So apache must be configured to use
# mod_status and this page should be available from the localhost
# through the use of the 'apachectl status' comm... | tonin/snmpd-helpers | apache/apache-stats.pl | Perl | apache-2.0 | 3,843 |
#
# 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 | snmp_standard/mode/ntp.pm | Perl | apache-2.0 | 6,002 |
#!/usr/bin/perl
package GATK4::VariantFilterHard;
use strict;
use warnings;
use File::Basename;
use List::Util qw[min];
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::NGSCommon;
use CQS::StringUtils;
use GATK4::GATK4Task;
use GATK4::VariantFilterUtils;
our @ISA = qw(GATK4::GATK... | shengqh/ngsperl | lib/GATK4/VariantFilterHard.pm | Perl | apache-2.0 | 4,826 |
#!/usr/bin/perl -w
#
# 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 a... | googleads/google-ads-perl | examples/feeds/get_feed_items_of_feed_item_set.pl | Perl | apache-2.0 | 4,824 |
#
# 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 | network/perle/ids/snmp/plugin.pm | Perl | apache-2.0 | 1,545 |
package Tapper::PRC;
# git description: v4.1.1-11-g75f1086
BEGIN {
$Tapper::PRC::AUTHORITY = 'cpan:TAPPER';
}
{
$Tapper::PRC::VERSION = '4.1.2';
}
# ABSTRACT: Tapper - Program run control for test program automation
use strict;
use warnings;
use IO::Socket::INET;
use YAML::Syck;
use Moose;
use Log::Log4perl;
use... | gitpan/Tapper-PRC | lib/Tapper/PRC.pm | Perl | bsd-2-clause | 1,396 |
=head1 NAME
graphslam-engine - Construct and solve robot pose graphs from .rawlog dataset files
I<Note:>As the graphslam-engine application still under development, current
manpage may be outdated. Refer to the MRPT doxygen class documentation and the
corresponding application documentation for the latest features an... | MRPT/mrpt | doc/man-pages/pod/graphslam-engine.pod | Perl | bsd-3-clause | 14,028 |
#!/usr/bin/perl
use strict;
use Getopt::Long;
my $FACT = 0;
GetOptions(
"f|fact" => \$FACT,
);
my $largest = 0;
my %CLS;
my $OPEN = $ARGV[0];
if($ARGV[0] =~ /\.gz$/) {
$OPEN = "gzip -dc $ARGV[0] |";
}
open(CLS, $OPEN) or die;
while(<CLS>) {
chomp;
my ($w, $c) = split(/\s/, $_);
$CLS{$w} = $c;
... | grammatical/baselines-emnlp2016 | train/scripts/anottext.pl | Perl | mit | 754 |
/* Part of XPCE --- The SWI-Prolog GUI toolkit
Author: Jan Wielemaker and Anjo Anjewierden
E-mail: J.Wielemaker@cs.nu.nl
WWW: http://www.swi-prolog.nl/projects/xpce/
Copyright (c) 1985-2019, University of Amsterdam
VU University Amsterdam
... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/boot/pce_principal.pl | Perl | mit | 12,623 |
<?php
$DEBUGGER_SETTINGS = 'Ustawienia debuggera.';
$USE_DEFAULT_LANGUAGE = 'Nie ustawiłeś preferowanego języka. Użyto domyślnego, czyli angielskiego.';
$LANGUAGE_SHORCUT_IS_WRONG = 'Ustawiony skrót <u>%s</u> jest zły.';
$USE_PREFERRED_LANGUAGE = 'Zrobę co w mojej mocy aby wyświetlać reporty w języku <u>%s</u>.';
$ER... | deArcane/framework | src/Debugger/Blueprints/Config/Config.lang.pl | Perl | mit | 950 |
package Paws::ElasticBeanstalk::DescribeEnvironmentManagedActionHistoryResult;
use Moose;
has ManagedActionHistoryItems => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::ManagedActionHistoryItem]');
has NextToken => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ElasticBeanstalk/DescribeEnvironmentManagedActionHistoryResult.pm | Perl | apache-2.0 | 773 |
=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 | modules/Bio/EnsEMBL/Utils/PolyA.pm | Perl | apache-2.0 | 7,735 |
#!/usr/bin/perl -w
use strict;
use CoGeX;
use CoGe::Accessory::Web;
use Getopt::Long;
use Data::Dumper;
my ($DEBUG, $dsgid1, $dsgid2, $input_file, $ftid1, $ftid2, $conffile);
GetOptions(
"DEBUG"=>\$DEBUG,
"dsgid1|dsg1|d1=s"=>\$dsgid1,
"dsgid2|dsg2|d2=s"=>\$dsgid2,
"input|file|i|f=s"=>\$input_file,
... | asherkhb/coge | scripts/old/convert_to_gene_order.pl | Perl | bsd-2-clause | 3,792 |
#! @LOCALPREFIX@/bin/perl
# $FreeBSD: soc2013/dpl/head/sbin/setkey/scriptdump.pl 81256 2001-08-06 19:40:01Z ume $
if ($< != 0) {
print STDERR "must be root to invoke this\n";
exit 1;
}
$mode = 'add';
while ($i = shift @ARGV) {
if ($i eq '-d') {
$mode = 'delete';
} else {
print STDERR "usage: scriptdump [-d]\n... | dplbsd/zcaplib | head/sbin/setkey/scriptdump.pl | Perl | bsd-2-clause | 1,294 |
package AsposeWordsCloud::Object::FieldResponse;
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 "AsposeWordsCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto ge... | farooqsheikhpk/Aspose_Words_Cloud | SDKs/Aspose.Words-Cloud-SDK-for-Perl/lib/AsposeWordsCloud/Object/FieldResponse.pm | Perl | mit | 1,028 |
package DDG::Spice::Dota2;
# ABSTRACT: Returns information about Dota 2 heroes and items.
use DDG::Spice;
name "Dota 2 Hero and Item Search";
source "Dota2";
description "Search for heroes and items.";
primary_example_queries "dota2 blink","dota 2 pudge","crystal maiden dota2","clarity dota 2","dota2 invoker", "dota2... | P71/zeroclickinfo-spice | lib/DDG/Spice/Dota2.pm | Perl | apache-2.0 | 839 |
% generated: 9 November 1989
% option(s):
%
% mu
%
% derived from Douglas R. Hofstadter, "Godel, Escher, Bach," pages 33-35.
%
% prove "mu-math" theorem muiiu
top:-mu.
mu :- theorem([m,u,i,i,u], 5, _), !.
theorem([m,i], _, [[a|[m,i]]]).
theorem(R, Depth, [[N|R]|P]) :-
Depth > 0,
D is Depth-1,
theo... | TeamSPoon/pfc | t/tabling-tests/Bench/prolog/mu.pl | Perl | bsd-2-clause | 775 |
#! /usr/bin/env perl
# Copyright 2007-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... | grpc/grpc-ios | native_src/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/asm/sha1-armv4-large.pl | Perl | apache-2.0 | 19,205 |
#!/usr/bin/perl -w
use strict;
# This program reads .perltidyrc files and writes them back out
# into a standard format (but comments will be lost).
#
# It also demonstrates how to use the perltidy 'options-dump' and related call
# parameters to read a .perltidyrc file, convert to long names, put it in a
# hash, and w... | pop-idol/pop_examples | pop/lint-notes/Perl-Tidy-20140328/examples/perltidyrc_dump.pl | Perl | apache-2.0 | 11,181 |
use v6;
unit module File::Find;
sub checkrules ($elem, %opts) {
if %opts<name>.defined {
if %opts<name> ~~ Str {
return False unless $elem.basename ~~ %opts<name>
} else {
return False unless $elem ~~ %opts<name>
}
}
if %opts<type>.defined {
given %o... | laben/File-Find | lib/File/Find.pm | Perl | mit | 3,646 |
% ----------------------------------------------------------------------
% BEGIN LICENSE BLOCK
% Version: CMPL 1.1
%
% The contents of this file are subject to the Cisco-style Mozilla Public
% License Version 1.1 (the "License"); you may not use this file except
% in compliance with the License. You may obtain a copy ... | daleooo/barrelfish | usr/skb/eclipse_kernel/lib/sepia.pl | Perl | mit | 9,783 |
#! /usr/bin/env perl
# Copyright 2013-2020 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... | pmq20/ruby-compiler | vendor/openssl/crypto/aes/asm/vpaes-ppc.pl | Perl | mit | 42,789 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/Locale/ha_Arab.pm | Perl | mit | 11,282 |
#! /usr/bin/perl
#
# create-test-stubs.pl
# sequel-pro
#
# Created by Stuart Connolly (stuconnolly.com) on January 8, 2011.
# Copyright (c) 2011 Stuart Connolly. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
#... | abhibeckert/sequelpro | Scripts/create-test-stubs.pl | Perl | mit | 6,552 |
package DDG::Spice::Gifs;
# ABSTRACT: Search for gifs
use strict;
use DDG::Spice;
name "Gifs";
description "Animated Gifs";
primary_example_queries "funny cat gifs";
source "Giphy";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Gifs.pm";
attribution github => ['https://github.c... | ppant/zeroclickinfo-spice | lib/DDG/Spice/Gifs.pm | Perl | apache-2.0 | 588 |
package CPAN::HandleConfig;
use strict;
use vars qw(%can %keys $loading $VERSION);
$VERSION = sprintf "%.6f", substr(q$Rev: 2212 $,4)/1000000 + 5.4;
%can = (
commit => "Commit changes to disk",
defaults => "Reload defaults from disk",
help => "Short help about 'o conf' usage",
in... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/CPAN/HandleConfig.pm | Perl | bsd-3-clause | 20,585 |
package DDG::Goodie::IsAwesome::claytonspinner;
# ABSTRACT: claytonspinner's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_claytonspinner";
zci is_cached => 1;
name "IsAwesome claytonspinner";
description "My first Goodie, it let's the world know that claytonspinner is awesome";
primary_... | sagarhani/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/claytonspinner.pm | Perl | apache-2.0 | 827 |
package #
Date::Manip::Offset::off127;
# 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/off127.pm | Perl | mit | 851 |
#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;
ENCODING ABS_asisdmisc_R => {
name => 'Scalar',
diagram => 'ig0=0b01 U:u=0b0 ig1=0b11110 size:u=0bxx ig... | MahdiSafsafi/opcodesDB | db/aarch64/fpsimd/encodings.pl | Perl | mit | 638,520 |
package Parse::Template::ForLoop;
use strict;
our $VERSION = 0;
use Perl::Module;
use Error::Logical;
use Data::Hub::Util qw(:all);
use Error::Logical;
# Note that options passed to ce:for persist and are available through the
# context loop variable
sub new {
my $class = ref($_[0]) ? ref(shift) : shift;
my $se... | ryangies/lsn-data-hub | src/lib/Parse/Template/ForLoop.pm | Perl | mit | 2,288 |
package Devel::NYTProf::FileInfo; # fid_fileinfo
use strict;
use Carp;
use Config;
use List::Util qw(sum max);
use Devel::NYTProf::Util qw(strip_prefix_from_paths trace_level);
use Devel::NYTProf::Constants qw(
NYTP_FIDf_HAS_SRC NYTP_FIDf_SAVE_SRC NYTP_FIDf_IS_FAKE NYTP_FIDf_IS_PMC
NYTP_FIDf_IS_EVAL
... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Devel/NYTProf/FileInfo.pm | Perl | mit | 19,877 |
package OAuth::Lite2::ParamMethod::AuthHeader;
use strict;
use warnings;
use bytes ();
use parent 'OAuth::Lite2::ParamMethod';
use URI;
use MIME::Base64 qw(decode_base64);
use Hash::MultiValue;
use HTTP::Request;
use HTTP::Headers;
use Params::Validate;
use OAuth::Lite2::Util qw(encode_param decode_param build_content... | movabletype/mt-plugin-google-openid-connect | plugins/GoogleOpenIDConnect/extlib/OAuth/Lite2/ParamMethod/AuthHeader.pm | Perl | mit | 6,145 |
package #
Date::Manip::TZ::amcost00;
# 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/amcost00.pm | Perl | mit | 3,374 |
#!/usr/bin/env perl
use FindBin;
use lib "$FindBin::Bin/../lib";
use MyApp;
MyApp->dance;
| xsawyerx/dancer-training-notes | 00-scaffolding/MyApp/bin/app.pl | Perl | mit | 92 |
:- module(bc_api_io, [
bc_reply_success/1, % +Dict
bc_reply_error/1, % +Message
bc_read_by_schema/2 % +Schema, -Dict
]).
:- use_module(library(http/http_json)).
:- use_module(library(http/http_wrapper)).
:- use_module(library(dict_schema)).
%! bc_read_by_schema(+Schema, -Dict) is det.
%
% Reads dict fro... | rla/blog-core | prolog/bc/bc_api_io.pl | Perl | mit | 1,090 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2017] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable/Funcgen/TileMap.pm | Perl | apache-2.0 | 8,348 |
package Google::Ads::AdWords::v201809::RegionCodeError;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/RegionCodeError.pm | Perl | apache-2.0 | 2,541 |
package Search::Elasticsearch::Client::Direct;
use parent 'Search::Elasticsearch::Client::1_0::Direct';
warn <<'END';
The Search::Elasticsearch::Client::Direct class is deprecated.
Please specify the version of the API that you would like to use, eg:
$e = Search::Elasticsearch->new(
client => '1_0::Dir... | jeteve/elasticsearch-perl | lib/Search/Elasticsearch/Client/Direct.pm | Perl | apache-2.0 | 523 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-functgenomics/modules/Bio/EnsEMBL/Funcgen/Parsers/redfly.pm | Perl | apache-2.0 | 13,817 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2018] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/public-plugins | tools/modules/EnsEMBL/Web/JSONServer/Tools.pm | Perl | apache-2.0 | 5,551 |
#
# 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 | storage/overland/neo/snmp/plugin.pm | Perl | apache-2.0 | 1,361 |
=head1 LICENSE
Copyright [1999-2013] 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... | Ensembl/ensembl-draw | modules/Bio/EnsEMBL/GlyphSet/_lrg.pm | Perl | apache-2.0 | 13,337 |
package WordGraph::EdgeModel::ReferenceTargetModel;
use Moose;
use namespace::autoclean;
extends('ReferenceTargetPairwiseModel');
with('WordGraph::EdgeModel');
has 'rtm' => ( is => 'ro' , isa => 'ReferenceTargetModel' , init_arg => undef , lazy => 1 , builder => '_rtm_builder' );
sub _rtm_builder {
my $this = sh... | ypetinot/web-summarization | summarizers/graph-summarizer-4/src/WordGraph/EdgeModel/ReferenceTargetModel.pm | Perl | apache-2.0 | 4,343 |
=head1 TITLE
Improved Module Versioning And Searching
=head1 VERSION
Maintainer: Steve Simmons <scs@ans.net>
Date: 8 Aug 2000
Mailing List: perl6-language@perl.org
Number: 78
Version: 1
Status: Developing
=head1 ABSTRACT
Modern production systems may have many versions of different modules
in use simul... | autarch/perlweb | docs/dev/perl6/rfc/78.pod | Perl | apache-2.0 | 24,416 |
package Paws::Greengrass::ListSubscriptionDefinitionsResponse;
use Moose;
has Definitions => (is => 'ro', isa => 'ArrayRef[Paws::Greengrass::DefinitionInformation]');
has NextToken => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NA... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Greengrass/ListSubscriptionDefinitionsResponse.pm | Perl | apache-2.0 | 637 |
package VMOMI::ScheduledTaskEventArgument;
use parent 'VMOMI::EntityEventArgument';
use strict;
use warnings;
our @class_ancestors = (
'EntityEventArgument',
'EventArgument',
'DynamicData',
);
our @class_members = (
['scheduledTask', 'ManagedObjectReference', 0, ],
);
sub get_class_ancestors {
... | stumpr/p5-vmomi | lib/VMOMI/ScheduledTaskEventArgument.pm | Perl | apache-2.0 | 507 |
package Sisimai::Order;
use feature ':5.10';
use strict;
use warnings;
use Sisimai::Lhost;
sub make {
# Returns an MTA Order decided by the first word of the "Subject": header
# @param [String] argv0 Subject header string
# @return [Array] Order of MTA modules
# @since v4.... | sisimai/p5-Sisimai | lib/Sisimai/Order.pm | Perl | bsd-2-clause | 8,125 |
package Mojo::Webqq::Model::Ext;
BEGIN{
eval{
require Webqq::Encryption;
};
unless($@){
$Mojo::Webqq::Model::Ext::has_webqq_encryption = 1;
}
}
our $_retcode;
our $_verifycode;
our $_md5_salt;
our $_verifysession;
our $_is_rand_salt;
our $_api_check_sig;
sub model_ext_authorize{
my ... | sjdy521/Mojo-Webqq | lib/Mojo/Webqq/Model/Ext.pm | Perl | bsd-2-clause | 5,281 |
# This perl snippet is appended to the perl module generated by SWIG
# customizing and extending its functionality
package Finance::TA;
use strict;
our $VERSION = v0.5.0;
package Finance::TA::TA_RetCodeInfo;
# Redefine &new to a friendler version accepting an optional parameter
undef *new;
*new = su... | d-s-x/ta-lib | swig/src/interface/perl.pm | Perl | bsd-3-clause | 3,149 |
package Google::Ads::AdWords::v201406::AdGroupCriterionLabel;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/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/AdGroupCriterionLabel.pm | Perl | apache-2.0 | 1,807 |
package Test::Nginx::IMAP;
# (C) Maxim Dounin
# Module for nginx imap tests.
###############################################################################
use warnings;
use strict;
use Test::More qw//;
use IO::Socket;
use Socket qw/ CRLF /;
use Test::Nginx;
use base qw/ IO::Socket::INET /;
sub new {
my $clas... | yeahdongcn/SEnginx | test/lib/Test/Nginx/IMAP.pm | Perl | bsd-2-clause | 1,966 |
package #
Date::Manip::Offset::off275;
# 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'... | nriley/Pester | Source/Manip/Offset/off275.pm | Perl | bsd-2-clause | 881 |
#
# 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 | hardware/printers/standard/rfc3805/plugin.pm | Perl | apache-2.0 | 1,979 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseBiochem::ReactionSet - This is the moose object corresponding to the ReactionSet object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematic... | samseaver/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseBiochem/ReactionSet.pm | Perl | mit | 3,060 |
=head1 NAME
Term::ReadLine - Perl interface to various C<readline> packages.
If no real package is found, substitutes stubs instead of basic functions.
=head1 SYNOPSIS
use Term::ReadLine;
my $term = Term::ReadLine->new('Simple Perl calc');
my $prompt = "Enter your arithmetic expression: ";
my $OUT = $term->O... | liuyangning/WX_web | xampp/perl/lib/Term/ReadLine.pm | Perl | mit | 13,836 |
package Moose::Meta::Method::Accessor::Native;
BEGIN {
$Moose::Meta::Method::Accessor::Native::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Method::Accessor::Native::VERSION = '2.0604';
}
use strict;
use warnings;
use Carp qw( confess );
use Scalar::Util qw( blessed weaken );
use Moose::Role;
around new => sub ... | liuyangning/WX_web | xampp/perl/vendor/lib/Moose/Meta/Method/Accessor/Native.pm | Perl | mit | 3,948 |
#! /usr/bin/env perl
# Copyright 2015-2020 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... | pmq20/ruby-compiler | vendor/openssl/crypto/bn/asm/armv8-mont.pl | Perl | mit | 36,915 |
package RegoFormNrsUtils;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(getNrsConfig getNrsOverrideFields checkHierarchicalPerms checkHierarchicalAdds);
@EXPORT_OK = qw(getNrsConfig getNrsOverrideFields checkHierarchicalPerms checkHierarchicalAdds);
use lib '.', '..';
use strict;
use Defs;
use Utils;
... | facascante/slimerp | fifs/web/RegoFormBuilder/RegoFormNrsUtils.pm | Perl | mit | 4,541 |
#!/usr/bin/perl
##################################
# Copyright 2015 Patrick Clinger #
# MIT License #
##################################
# Solution for:
# Cut the sticks
# https://www.hackerrank.com/challenges/cut-the-sticks
# We don't need to know how many sticks there are from stdin (we'll split a... | pclinger/HackerRank | algorithms/implementation/cut-the-sticks.pl | Perl | mit | 794 |
#!/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::Location;
use base qw/DBIx::Class::Core/;
__PACKAGE__->load_components(qw/InflateColumn::DateTime/);
__PACKAGE__->table('shopify_locations');
__PACKAGE__->add_col... | gitpan/WWW-Shopify | lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Location.pm | Perl | mit | 1,374 |
package Noosphere;
use strict;
# get classification info in string *and* hasharray form
#
sub classinfo {
my $tbl = shift;
my $id = shift;
# first get the classification..
#
my @class = getclass($tbl,$id);
if (not defined $class[0]) {
return '';
}
my @output;
foreach my $c (@class) {
push @output, "... | holtzermann17/Noosphere | lib/Noosphere/Classification.pm | Perl | mit | 8,427 |
=head1 LICENSE
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2017] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/ExonerateSolexa.pm | Perl | apache-2.0 | 16,750 |
#!/usr/bin/env perl
# 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
#
# htt... | Ensembl/ensembl-compara | scripts/examples/dna_getAncestralSequences.pl | Perl | apache-2.0 | 3,595 |
#!/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/tag_snps.pl | Perl | apache-2.0 | 9,845 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | Ensembl/ensembl-analysis | scripts/make_input_id_4_seleno.pl | Perl | apache-2.0 | 3,185 |
#
# 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/virtualization/ovirt/mode/listhosts.pm | Perl | apache-2.0 | 2,752 |
#! /usr/bin/perl
# Author: BaconKwan
# Email: terencest@gmail.com
# Version: 1.0
# Create date:
# Usage:
use utf8;
use strict;
use warnings;
use Getopt::Long;
use File::Basename qw/basename dirname/;
use File::Spec::Functions qw/rel2abs/;
#### Main Programme ####
my %opts;
GetOptions (\%opts, "bam=s", "fa=s", "dir... | BaconKwan/Perl_programme | GATK_RNAseq_pipe/pipe_test/GATK4pipe.pl | Perl | apache-2.0 | 12,786 |
#
# 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/sensors/akcp/snmp/plugin.pm | Perl | apache-2.0 | 1,283 |
# Copyright (c) 2005, 2007 Ian Joyce, Jeff Horwitz
#
# 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 ... | jhorwitz75/mod_parrot | build/lib/Generator/ApacheRequestRec.pm | Perl | apache-2.0 | 4,903 |
#
# 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/vtom/restapi/mode/jobstatus.pm | Perl | apache-2.0 | 16,189 |
#!/usr/bin/env perl
#
# sizes.pl
#
use warnings;
use lib ".";
use File::stat;
use Months;
# Parse command line arguments
use Getopt::Long;
my $allMonths;
my $oneYear;
GetOptions('all' => \$allMonths, 'year' => \$oneYear);
# By default, only show results for the most recent month
if ($allMonths) {
# leave table inta... | ukf/ukf-meta | charting/sizes.pl | Perl | apache-2.0 | 2,199 |
use IO::S4::Client;
use Data::Dumper;
$sn = shift @ARGV;
$cn = shift @ARGV;
$kn = [@ARGV]; # remaining args are keys
$c = new IO::S4::Client("localhost", 2334);
$c->init();
print Dumper($c);
$c->connect();
while (<STDIN>) {
chomp;
$c->sendKeyed($sn, $cn, $kn, $_);
select(undef, undef, undef, 0.1);
print STD... | s4/s4 | s4-driver/examples/src/main/resources/scripts/inject-keyed.pl | Perl | apache-2.0 | 350 |
=for advent_year 2009
=for advent_day 8
=for advent_title Prime Numbers
=for advent_author Joe Jiang
=encoding utf8
质数的计算是一个曾经非常有趣的话题,现在对我们来说也还是一个稍微有些难度的编程训练。下面我们就用这个话题来看看 Perl 和其他语言解决数学问题的能力。当然首先我们得有个基准程序:
=begin pre
% matho-primes 1 10
2
3
5
7
=end pre
如果你在运行类似 Debian 的系统,这个程序可以从 apt-get install mathomatic-p... | PerlChina/mojo-advent | articles/2009/08/PrimeNumbers.pod | Perl | apache-2.0 | 3,703 |
# vim:ts=4
#
# Copyright (c) 2011 Hypertriton, Inc. <http://hypertriton.com/>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
... | stqism/ToxBuild | ToxBuild/xinerama.pm | Perl | bsd-2-clause | 3,600 |
package KorAP::XML::Annotation::Sgbr::Lemma;
use KorAP::XML::Annotation::Base;
use Mojo::ByteStream 'b';
sub parse {
my $self = shift;
$$self->add_tokendata(
foundry => 'sgbr',
layer => 'lemma',
cb => sub {
my ($stream, $token) = @_;
my $mtt = $stream->pos($token->get_pos);
my $cont... | KorAP/KorAP-XML-Krill | lib/KorAP/XML/Annotation/Sgbr/Lemma.pm | Perl | bsd-2-clause | 967 |
#!/usr/bin/env perl
=head1 NAME
BPbtab
script parses WU-BLAST or NCBI-BLAST output files into BTAB format where each HSP is reported as a single line with tab-delimited fields.
The original BTAB program is described here:
Dubnick M. (1992) Btab--a Blast output parser. Comput Appl Biosci 8(6):6... | EVidenceModeler/EVidenceModeler | EvmUtils/BPbtab.pl | Perl | bsd-3-clause | 4,173 |
#! /usr/bin/perl
package FwRpmPackage;
use strict;
use warnings;
BEGIN {
use Exporter ();
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
# if using RCS/CVS, this may be preferred
$VERSION = sprintf "%d.%03d", q$Revision: 1.7 $ =~ /(\d+)/g;
@ISA = qw (Exporter);
@EXPORT = ... | dhull/fw | fw/package/rpm/FwRpmPackage.pm | Perl | bsd-3-clause | 15,918 |
#
# 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 | hardware/server/ibm/bladecenter/snmp/mode/components/chassisstatus.pm | Perl | apache-2.0 | 4,895 |
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# ... | LiberatorUSA/GUCEF | dependencies/curl/tests/disable-scan.pl | Perl | apache-2.0 | 3,338 |
package DDG::Goodie::RandomName;
# ABSTRACT: Return random first and last name
use DDG::Goodie;
use Data::RandomPerson;
name 'RandomName';
description 'returns a random and fictive title, first- and lastname and day of birth';
category 'random';
topics 'words_and_games';
primary_example_queries 'random name';
second... | Acidburn0zzz/zeroclickinfo-goodies | lib/DDG/Goodie/RandomName.pm | Perl | apache-2.0 | 1,075 |
package Seco::Data::Range::Simple;
=head1 NAME
Seco::Data::Range::Simple
=head1
Not meant to be used directly. This super simple stub is for loading
into other bootstrap software such as a ybiip profile where
the environment is not fully set up (no lwp)
usage: simple_range("rangehost.yahoo.com", 9999, '@ALL')... | ytoolshed/range | perl_seco_data_range/source/lib/Seco/Data/Range/Simple.pm | Perl | bsd-3-clause | 1,116 |
/* ========================================================================
File Search Paths
=========================================================================*/
file_search_path(semlib, 'src/prolog/lib').
file_search_path(boxer, 'src/prolog/boxer').
file_search_path(knowledge, 'src/prolog/boxer/... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/candc/src/prolog/lib/verbnet2boxer.pl | Perl | mit | 14,270 |
#!/usr/bin/perl
#
# Copyright (C) 1998, 1999 Ethan Fischer <allanon@crystaltokyo.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | born2late/afterstep-devel | tools/ascommand.pl | Perl | mit | 7,357 |
package MGRAST::WebPage::KeggMapper;
use base qw( WebPage );
use strict;
use warnings;
use Data::Dumper;
use Conf;
use MGRAST::Analysis;
1;
=pod
=head1 NAME
KeggMapper - a KEGG mapping page
=head1 DESCRIPTION
page to display the KEGG global pathway and map lists / search
=head1 METHODS
=over 4
=item * B<in... | teharrison/MG-RAST | src/MGRAST/lib/WebPage/KeggMapper.pm | Perl | bsd-2-clause | 20,760 |
=head1 NAME
XML::LibXML::PI - XML::LibXML Processing Instructions
=head1 SYNOPSIS
use XML::LibXML;
# Only methods specific to Processing Instruction nodes are listed here,
# see XML::LibXML::Node manpage for other methods
$pinode->setData( $data_string );
$pinode->setData( name=>string_value [...] );
=... | liuyangning/WX_web | xampp/perl/vendor/lib/XML/LibXML/PI.pod | Perl | mit | 2,139 |
=pod
=head1 NAME
SSL_SESSION_get0_ticket,
SSL_SESSION_has_ticket, SSL_SESSION_get_ticket_lifetime_hint,
- get details about the ticket associated with a session
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_SESSION_has_ticket(const SSL_SESSION *s);
unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL... | openweave/openweave-core | third_party/openssl/openssl/doc/ssl/SSL_SESSION_has_ticket.pod | Perl | apache-2.0 | 1,661 |
package PPI::Token::Number::Binary;
=pod
=head1 NAME
PPI::Token::Number::Binary - Token class for a binary number
=head1 SYNOPSIS
$n = 0b1110011; # binary integer
=head1 INHERITANCE
PPI::Token::Number::Binary
isa PPI::Token::Number
isa PPI::Token
isa PPI::Element
=head1 DESCRIPTION
The C... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/PPI/Token/Number/Binary.pm | Perl | mit | 1,988 |
#!/usr/bin/perl
#-------------------------------------------------------------------------
#
# Genbki.pm --
# perl script which generates .bki files from specially formatted .h
# files. These .bki files are used to initialize the postgres template
# database.
#
# Portions Copyright (c) 1996-2009, PostgreSQL G... | janebeckman/gpdb | src/tools/msvc/Genbki.pm | Perl | apache-2.0 | 7,122 |
=head1 NAME
PPIx::Regexp::Token::Backreference - Represent a back reference
=head1 SYNOPSIS
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(foo|bar)baz\1}smx' )
->print();
=head1 INHERITANCE
C<PPIx::Regexp::Token::Backreference> is a
L<PPIx::Regexp::Token::Reference|PPIx::Regexp::Token::Reference>... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/PPIx/Regexp/Token/Backreference.pm | Perl | mit | 3,652 |
package EnsEMBL::Maize::Configuration::Location;
use strict;
use warnings;
use EnsEMBL::Web::Configuration;
use EnsEMBL::Web::Tools::Ajax;
use CGI;
use EnsEMBL::Maize::Configuration;
use EnsEMBL::Maize::Util::FPC;
use POSIX qw(floor ceil);
our @ISA = qw( EnsEMBL::Web::Configuration );
#----------------------------... | warelab/gramene-ensembl | maize-production/modules/EnsEMBL/Maize/Configuration/Location.pm | Perl | mit | 18,644 |
/*************************************************************************
name: modelChecker2.pl (Volume 1, Chapter 1)
version: April 18, 2001
description: The revised model checker
authors: Patrick Blackburn & Johan Bos
************************************************************************... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb0/modelChecker2.pl | Perl | mit | 9,999 |
# vi:fdm=marker fdl=0
# $Id: Correlation.pm,v 1.1 2006/01/25 22:20:42 jettero Exp $
package Statistics::Basic::Correlation;
use strict;
no warnings;
use Carp;
use Statistics::Basic::Vector;
use Statistics::Basic::StdDev;
use Statistics::Basic::CoVariance;
1;
# new {{{
sub new {
my $this = shift;
my $v1 =... | AstraZeneca-NGS/Seq2C | libraries/Statistics/Basic/Correlation.pm | Perl | mit | 3,601 |
=pod
=head1 NAME
ASN1_OBJECT_new, ASN1_OBJECT_free - object allocation functions
=head1 SYNOPSIS
#include <openssl/asn1.h>
ASN1_OBJECT *ASN1_OBJECT_new(void);
void ASN1_OBJECT_free(ASN1_OBJECT *a);
=head1 DESCRIPTION
The ASN1_OBJECT allocation routines, allocate and free an
ASN1_OBJECT structure, which repres... | vbloodv/blood | extern/openssl.orig/doc/crypto/ASN1_OBJECT_new.pod | Perl | mit | 1,146 |
# 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/australasia. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Pacific/Palau.pm | Perl | mit | 1,226 |
=pod
=head1 NAME
X509_LOOKUP_hash_dir, X509_LOOKUP_file,
X509_load_cert_file,
X509_load_crl_file,
X509_load_cert_crl_file - Default OpenSSL certificate
lookup methods
=head1 SYNOPSIS
#include <openssl/x509_vfy.h>
X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void);
X509_LOOKUP_METHOD *X509_LOOKUP_file(void);
i... | vbloodv/blood | extern/openssl.orig/doc/crypto/X509_LOOKUP_hash_dir.pod | Perl | mit | 3,946 |
package AnyComicApp::Plugin::PageNavigator;
use Mojo::Base 'Mojolicious::Plugin';
use POSIX( qw/ceil/ );
use Mojo::ByteStream 'b';
use strict;
use warnings;
our $VERSION = 0.01;
# Homer: Well basically, I just copied the plant we have now.
# Then, I added some fins to lower wind resistance.
# And thi... | baboowang/anycomic | lib/AnyComicApp/Plugin/PageNavigator.pm | Perl | mit | 3,787 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.