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 |
|---|---|---|---|---|---|
package Business::Price::Collection;
our $VERSION = '1.000_1';
use Moose;
__PACKAGE__->meta->make_immutable;
__END__
=pod
=head1 NAME
Business::Price::Collection
=head1 VERSION
version 1.000_1
=head1 AUTHOR
Moritz Onken <onken@netcubed.de>
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2010 by ... | gitpan/Business-Price | lib/Business/Price/Collection.pm | Perl | bsd-3-clause | 415 |
package PerlDaemon::ThreadedLogger;
use strict;
use warnings;
$| = 1;
sub new ($$) {
my ($class, $conf) = @_;
my $self = $SELF = bless { conf => $conf }, $class;
return $self;
}
sub _pushmsg ($$) {
my ($self, $msg) = @_;
my $conf = $self->{conf};
my $msgqueue = $conf->{msgqueue};
push @$msgqueue, $m... | buetow/perldaemon | lib/PerlDaemon/ThreadedLogger.pm | Perl | bsd-3-clause | 649 |
package MailHog::Server::SMTP::RFC4954::LOGIN;
# SASL LOGIN - probably not required
use Modern::Perl;
use Moose;
use MIME::Base64 qw/ decode_base64 encode_base64 /;
has 'rfc' => ( is => 'rw', isa => 'MailHog::Server::SMTP::RFC4954' );
#--------------------------------------------------------------------... | mehulsbhatt/MailHog | lib/MailHog/Server/SMTP/RFC4954/LOGIN.pm | Perl | mit | 3,637 |
#!/usr/bin/env perl
use warnings;
use strict;
use Data::Dumper;
use Carp;
use 5.010;
use Bio::Gonzales::Util::Cerial;
use Bio::Gonzales::Project::Functions;
use GO::Parser;
use Getopt::Long::Descriptive;
my ( $opt, $usage ) = describe_options(
'%c %o <obo file>',
[
"format" => hidden => {
one_of => ... | jwbargsten/bmrfweb-trait | bin/go_extract_desc.pl | Perl | mit | 1,567 |
package DDG::Spice::Currency;
# ABSTRACT: Currency Convertor provided by XE.com
use strict;
use DDG::Spice;
with 'DDG::SpiceRole::NumberStyler';
use Text::Trim;
use YAML::XS qw(LoadFile);
# Get all the valid currencies from a text file.
my @currTriggers;
my @currencies = share('currencyNames.txt')->slurp;
my %currHas... | andrey-p/zeroclickinfo-spice | lib/DDG/Spice/Currency.pm | Perl | apache-2.0 | 5,411 |
#!/usr/bin/perl
# count_dix_entries
#
# Input: bilingual dictionary in Matxin XML format
# Output: the number of entries in given categories
use strict;
use utf8;
use XML::LibXML;
#use DateTime;
#use POSIX qw/strftime/;
#my $date = strftime "%Y-%m-%d", localtime;
my $totalentries =0;
my $totalunspec =0;
my $totaltr... | ariosquoia/squoia | MT_systems/squoia/esqu/lexica/count_dix_entries.pl | Perl | apache-2.0 | 3,484 |
#############################################################################
## Name: lib/Wx/GLCanvas.pm
## Purpose: loader for Wx::GLCanvas.pm
## Author: Mattia Barbon
## Modified by:
## Created: 26/07/2003
## RCS-ID: $Id: GLCanvas.pm 2489 2008-10-27 19:50:51Z mbarbon $
## Copyright: (c) 20... | thomaspreece10/STLExtract | Slic3r/Linux/lib/std/Wx/GLCanvas.pm | Perl | mit | 2,162 |
package Sisimai::Bite;
use feature ':5.10';
use strict;
use warnings;
sub DELIVERYSTATUS {
# Data structure for parsed bounce messages
# @private
# @return [Hash] Data structure for delivery status
return {
'spec' => '', # Protocl specification
'date' => '', # The va... | azumakuniyuki/p5-Sisimai | lib/Sisimai/Bite.pm | Perl | bsd-2-clause | 1,839 |
package AI::MXNet;
use v5.14.0;
use strict;
use warnings;
use AI::MXNet::Base;
use AI::MXNet::Callback;
use AI::MXNet::NDArray;
use AI::MXNet::Symbol;
use AI::MXNet::Executor;
use AI::MXNet::Executor::Group;
use AI::MXNet::Rtc;
use AI::MXNet::Random;
use AI::MXNet::Initializer;
use AI::MXNet::Optimizer;
use AI::MXNet::... | EvanzzzZ/mxnet | perl-package/AI-MXNet/lib/AI/MXNet.pm | Perl | apache-2.0 | 6,242 |
#####
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
# Copyright (C) 2003-2007 Frederico Caldeira Knabben
#
# == BEGIN LICENSE ==
#
# Licensed under the terms of any of the following licenses at your
# choice:
#
# - GNU General Public License Version 2 or later (the "GPL")
# http://www... | kalebecalixto/webEntregas | webEntregas/public_html/modelos/ADI_Bin/utilitarios/FCKeditor/editor/filemanager/connectors/perl/util.pl | Perl | apache-2.0 | 1,373 |
package Text::Xslate::Parser;
use Mouse;
use Scalar::Util ();
use Text::Xslate::Symbol;
use Text::Xslate::Util qw(
$DEBUG
$STRING $NUMBER
is_int any_in
neat
literal_to_value
make_error
p
);
use constant _DUMP_PROTO => scalar($DEBUG =~ /\b dump=proto \b/xmsi);
use constant _DUMP_TOKEN => s... | waniji/isucon3-yosen | perl/local/lib/perl5/x86_64-linux/Text/Xslate/Parser.pm | Perl | mit | 47,591 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this ... | Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Sc/Hira.pl | Perl | mit | 447 |
package Crypt::OpenPGP::Plaintext;
use strict;
use Crypt::OpenPGP::Buffer;
use Crypt::OpenPGP::ErrorHandler;
use base qw( Crypt::OpenPGP::ErrorHandler );
sub new {
my $class = shift;
my $pt = bless { }, $class;
$pt->init(@_);
}
sub data { $_[0]->{data} }
sub mode { $_[0]->{mode} }
sub init {
my $pt ... | liuyangning/WX_web | xampp/perl/vendor/lib/Crypt/OpenPGP/Plaintext.pm | Perl | mit | 3,315 |
#!/usr/bin/perl
#
# Copyright (c) 2006 David Thompson
# da.thompson@yahoo.com
# Fri Nov 17 20:41:23 PST 2006
# License: GPL
# Purpose of this script is to process config files and
# produce a comparision chart of values. The input files
# are simple series of parameter definitions, of the form
# 'name=value' pairs, w... | eoswald/hdb | uncrustify/scripts/cmpcfg.pl | Perl | mit | 2,959 |
# This class exists to represent a relationship between two ::Source's within
# the Sims. It will have a link back to two ::Source's.
package DBIx::Class::Sims::Relationship;
use 5.010_001;
use strictures 2;
use DDP;
use DBIx::Class::Sims::Util qw( reftype );
# Requires the following attributes:
# * source
# * na... | robkinyon/dbix-class-sims | lib/DBIx/Class/Sims/Relationship.pm | Perl | mit | 3,060 |
my $read = undef, $sum = 0;
for (my $i = 0; $i < 4; $i++) {
$read = <>;
$sum += $read if $read % 2 == 0;
}
| fgomezrdz/DSA_encrypt | test.pl | Perl | mit | 115 |
:- module(dlist,[
]).
/*
HOMEWORK:
Create a term_expansion/2 that will magically convert naive sort into quick sort
Which algrytems are better or worse at already sorted lists?
learn to spell 'algorithm'
cases:
% we have 100 elements with exactly 100 array indexes
*/
cfib(0, 1) :- !.
cfib(1, 1) :- !.
... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_utils/prolog/logicmoo/util_dlist.pl | Perl | mit | 7,448 |
use utf8;
package eduity::Schema::Challange;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
eduity::Schema::Challange
=cut
use strict;
use warnings;
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';
=head1 COM... | vendion/Eduity | lib/eduity/Schema/Challange.pm | Perl | mit | 2,302 |
#
# 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 | os/windows/local/mode/liststorages.pm | Perl | apache-2.0 | 5,617 |
#
# Copyright 2018 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | wilfriedcomte/centreon-plugins | hardware/server/sun/sfxxk/mode/failover.pm | Perl | apache-2.0 | 6,346 |
package Google::Ads::AdWords::v201809::AdParamService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->_... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/AdParamService/ResponseHeader.pm | Perl | apache-2.0 | 1,038 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Common/TargetRestriction.pm | Perl | apache-2.0 | 1,090 |
#
# 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/cisco/asa/snmp/plugin.pm | Perl | apache-2.0 | 2,054 |
=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.ap... | mn1/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveGeneBuilder.pm | Perl | apache-2.0 | 12,318 |
#!/usr/bin/perl
#
# $Id:$
#
# perl test driver
use Atrshmlog;
$index = shift @ARGV;
$result = Atrshmlog::attach();
$area = Atrshmlog::get_area();
@r = Atrshmlog::read($area, $index);
print "read : $r[0] : \n";
if ($r[0] == 0) {
print "read : $r[2] : \n";
}
print " \n";
exit (0);
# end of main
| atrsoftgmbh/atrshmlog | perl/src/tests/t_read.pl | Perl | apache-2.0 | 309 |
=head1 LICENSE
Copyright [2014-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 copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | EnsemblGenomes/eg-web-parasite | modules/EnsEMBL/Web/Document/HTML/HomeSearch.pm | Perl | apache-2.0 | 1,896 |
#
# 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 | apps/pfsense/snmp/mode/listpfinterfaces.pm | Perl | apache-2.0 | 2,954 |
#!/usr/bin/perl
=head1 NAME
lod-materialize.pl - Materialize the files necessary to host slash-based linked data.
=head1 SYNOPSIS
lod-materialize.pl [OPTIONS] data.rdf http://base /path/to/www
=head1 DESCRIPTION
This script will materialize the necessary files for serving static linked data.
Given an input file ... | timrdf/csv2rdf4lod-automation | bin/lod-materialize/c/lod-materialize.pl | Perl | apache-2.0 | 10,341 |
#
# 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 | cloud/azure/management/resource/mode/listgroups.pm | Perl | apache-2.0 | 3,466 |
#
# 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 | cloud/azure/compute/virtualmachine/mode/health.pm | Perl | apache-2.0 | 1,978 |
package WebShortcutUtil;
use strict;
use warnings;
our $VERSION = '0.21';
# REFERENCES
#
# Free Desktop:
# http://standards.freedesktop.org/desktop-entry-spec/latest/ (used Version 1.1-draft)
#
# Windows URL (also applicable to Website):
# http://stackoverflow.com/questions/539962/creating-a-web-shortcut-on-user... | abcodeworks/WebShortcut-Website | src/html/WebShortcut/cgi/lib/WebShortcutUtil.pm | Perl | apache-2.0 | 3,446 |
#
# 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/mrv/optiswitch/snmp/mode/components/psu.pm | Perl | apache-2.0 | 2,636 |
package Paws::WAF::GetSampledRequestsResponse;
use Moose;
has PopulationSize => (is => 'ro', isa => 'Int');
has SampledRequests => (is => 'ro', isa => 'ArrayRef[Paws::WAF::SampledHTTPRequest]');
has TimeWindow => (is => 'ro', isa => 'Paws::WAF::TimeWindow');
has _request_id => (is => 'ro', isa => 'Str');
#... | ioanrogers/aws-sdk-perl | auto-lib/Paws/WAF/GetSampledRequestsResponse.pm | Perl | apache-2.0 | 1,250 |
package Paws::Kinesis::SequenceNumberRange;
use Moose;
has EndingSequenceNumber => (is => 'ro', isa => 'Str');
has StartingSequenceNumber => (is => 'ro', isa => 'Str', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::Kinesis::SequenceNumberRange
=head1 USAGE
This class represents one... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Kinesis/SequenceNumberRange.pm | Perl | apache-2.0 | 1,628 |
#!/usr/bin/perl -w
use strict;
use Admin;
use CGI;
my $cgi = CGI->new;
$cgi->param(-name => 'action', -values => 'displayMainPage') unless $cgi->param('action');
print $cgi->header( -type => 'text/html' );
my $admin = new Admin( cgi => $cgi );
$admin->run();
exit;
| SmarterApp/ItemAuthoring | sbac-iaip-rpm-installer/iaip-wwwcde-rpm/src/main/www/admin/index.pl | Perl | apache-2.0 | 269 |
# Copyright 2018 - present MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | mongodb/mongo-perl-driver | lib/MongoDB/_SessionPool.pm | Perl | apache-2.0 | 3,953 |
#!/usr/bin/perl
package GATK::VariantFilterVQSR;
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::UniqueTask;
our @ISA = qw(CQS::UniqueTask);
sub new {
my ($class) = @_;
... | realizor/ngsperl | lib/GATK/VariantFilterVQSR.pm | Perl | apache-2.0 | 5,696 |
=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/FtpChecker/CheckComparaFtp.pm | Perl | apache-2.0 | 2,426 |
#!/usr/bin/perl -w
use strict;
while(<>) {
#s/ (pre|anti|re|pro|inter|intra|multi|e|x|neo) - / $1- /ig;
#s/ - (year) - (old)/ -$1-$2/ig;
s/ ' (s|m|ll|re|d|ve) / '$1 /ig;
s/n ' t / n't /ig;
print;
}
| kho/mr-cdec | corpus/support/fix-contract.pl | Perl | apache-2.0 | 209 |
package VMOMI::AdminDisabled;
use parent 'VMOMI::HostConfigFault';
use strict;
use warnings;
our @class_ancestors = (
'HostConfigFault',
'VimFault',
'MethodFault',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
m... | stumpr/p5-vmomi | lib/VMOMI/AdminDisabled.pm | Perl | apache-2.0 | 426 |
#!/usr/bin/env perl
# This just tests whether it works without crashing.
#
# I am not a Perl programmer!!!
#
# MJ, 03-Jun-2015
use xixeventlib;
xixeventlib::xix_event_set_notification_2("127.0.0.1", "public", "id", "text");
xixeventlib::xix_event_set_inform_2("127.0.0.1", "public", "id", "text");
xixeventlib::xix... | mjuenema/xix-event-mib | api/perl/test_xixeventlib.pl | Perl | bsd-2-clause | 713 |
package bus2db;
=pod
=head1 NAME
bus2db.pl
=head1 SYNOPSIS
A bus-aware plugin that passes messages from an Openkore instance
to a standalone bus client (bus2db-client.pl), which updates the
koreInventory database.
=head1 DESCRIPTION
This Openkore plugin communicates with a separate, standalone bus client
... | ChrstphrR/koreInventory | bus2db.pl | Perl | bsd-3-clause | 14,184 |
package NTPPool::Control;
use strict;
use utf8;
use Combust::Constant qw(OK);
use base qw(Combust::Control Combust::Control::StaticFiles Combust::Control::Bitcard);
use Carp qw(cluck);
use Storable qw(retrieve);
use I18N::LangTags qw(implicate_supers);
use I18N::LangTags::Detect ();
use List::Util qw(first);
use NP::I... | punitvara/ntppool | lib/NTPPool/Control.pm | Perl | apache-2.0 | 8,259 |
# !!!!!!! 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/Nv/50000.pl | Perl | mit | 548 |
# !!!!!!! 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/Sc/Zzzz.pl | Perl | mit | 7,492 |
package AsposeBarCodeCloud::Object::HttpStatusCode;
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 "AsposeBarCodeCloud::Object::BaseObject";
#
#
#
#NOTE: This class is au... | asposebarcode/Aspose_BarCode_Cloud | SDKs/Aspose.BarCode-Cloud-SDK-for-Perl/lib/AsposeBarCodeCloud/Object/HttpStatusCode.pm | Perl | mit | 769 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Path;
use Carp;
use Getopt::Long qw(:config no_ignore_case bundling pass_through);
use File::Basename;
use FindBin;
use lib ("$FindBin::Bin/../../PerlLib");
use Nuc_translator;
use SAM_reader;
use SAM_entry;
my $usage = <<__EOUSAGE__;
#######################... | ssn1306/trinityrnaseq | util/support_scripts/extract_reads_per_partition.pl | Perl | bsd-3-clause | 7,038 |
package DDG::Goodie::IsAwesome::gokul1794;
# ABSTRACT: gokul1794's first goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_gokul1794";
zci is_cached => 1;
triggers start => "duckduckhack gokul1794";
handle remainder => sub {
return if $_;
return "gokul1794 is awesome and has successfully ... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/gokul1794.pm | Perl | apache-2.0 | 373 |
#!/opt/lampp/bin/perl
use DBI;
print "Content-Type: text/html\n\n";
my $dsn="dbi:mysql:phonebook:localhost";
my $dbh=DBI->connect("$dsn","oswald","geheim") or
die "Kann Datenbank nicht erreichen!";
print "<html>";
print "<head>";
print "<title>Perl und MySQL</title>";
print "</head>";
print "<body>";
print "... | Dokaponteam/ITF_Project | xampp/contrib/mysql.pl | Perl | mit | 928 |
%Source: https://sites.google.com/site/prologsite/prolog-problems
%query:slice(g,g,g,f).
% 1.18 (**): Extract a slice from a list
% slice(L1,I,K,L2) :- L2 is the list of the elements of L1 between
% index I and index K (both included).
% (list,integer,integer,list) (?,+,+,?)
slice([X|_],1,1,[X]).
slice... | ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Prolog/Hett/p1_18.pl | Perl | mit | 471 |
use v5.14;
use utf8;
use encoding 'utf8';
use IO::All;
use Perl6::Perl qw(perl);
use Data::Dumper;
my $in = io("twzip.txt")->utf8->chomp;
my %zip;
my $area;
while(defined($_ = $in->getline)) {
next unless $_;
if (/^\s*(.+)\s+(\d+)$/) {
if (exists $zip{$1}) {
$zip{$1} = undef;
}
... | gitpan/Data-Zipcode-TW | doc/twzip.pl | Perl | mit | 715 |
package CXGN::BrAPI::v1::ObservationUnits;
use Moose;
use Data::Dumper;
use SGN::Model::Cvterm;
use CXGN::Trial;
use CXGN::Trait;
use CXGN::Phenotypes::SearchFactory;
use CXGN::BrAPI::Pagination;
use CXGN::BrAPI::JSONResponse;
use Try::Tiny;
use CXGN::Phenotypes::PhenotypeMatrix;
use CXGN::List::Transform;
extends 'C... | solgenomics/sgn | lib/CXGN/BrAPI/v1/ObservationUnits.pm | Perl | mit | 6,070 |
%query: type(i,i,o).
type(E,var(X),T) :- in(E,X,T).
type(E,apply(M,N),T) :- type(E,M,arrow(S,T)),type(E,N,S).
type(E,lambda(X,M),arrow(S,T)) :- type([(X,S)|E],M,T).
in([(X,T)|E],X,T).
in([(Y,T)|E],X,T) :- X\==Y, in(E,X,T).
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Prolog/prolog_mixed/curry_ap.pl | Perl | mit | 225 |
package HMF::Pipeline::PipelineCheck;
use FindBin::libs;
use discipline;
use File::Spec::Functions;
use HMF::Pipeline::Functions::Config qw(allRunningJobs createDirs);
use HMF::Pipeline::Functions::Sge qw(qsubTemplate);
use HMF::Pipeline::Functions::Job qw(fromTemplate);
use parent qw(Exporter);
our @EXPORT_OK = qw... | hartwigmedical/pipeline | lib/HMF/Pipeline/PipelineCheck.pm | Perl | mit | 917 |
use utf8;
package Schema;
use strict;
use warnings;
use base 'DBIx::Class::Schema';
our $VERSION = <%= version %>;
__PACKAGE__->load_namespaces;
1;
| rayokota/generator-angular-mojolicious | app/templates/lib/_Schema.pm | Perl | mit | 153 |
##############################################################################
# Copyright (c) 2009 Six Apart
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including ... | movabletype/mt-plugin-recaptcha | plugins/reCaptcha/lib/reCaptcha.pm | Perl | mit | 4,360 |
/*************************************************************************
File: alphaConversion.pl
Copyright (C) 2004 Patrick Blackburn & Johan Bos
This file is part of BB1, version 1.2 (August 2005).
BB1 is free software; you can redistribute it and/or modify
it under the terms of the GNU Gener... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb1/alphaConversion.pl | Perl | mit | 3,400 |
#!/usr/bin/perl
#use LaTeX::TOM;
use Data::Dumper;
use HTML::Entities;
use Cwd;
use File::Basename;
$timeout = 60; # seconds until render call is considered locked
$timeoutprog = "/var/www/noosphere/bin/timeout -t 30";
#writing my own math mode latex parser
#
foreach my $f (@ARGV) {
runme($f);
}
exit();
sub runme... | holtzermann17/Noosphere | bin/preprocess-jsmath.pl | Perl | mit | 10,268 |
use MooseX::Declare;
use strict;
use warnings;
class Bwa extends Common {
#####////}}}}}
use FindBin qw($Bin);
use Agua::CLI::App;
use Conf::Yaml;
# Strings
has 'batchsize' => ( isa => 'Int|Undef', is => 'rw', default => 5 );
# Strings
has 'sleep' => ( isa => 'Str|Undef', is => 'rw', default => 10 );
has '... | agua/dnaseq | lib/Bwa.pm | Perl | mit | 2,344 |
package Database::Connect;
use Moose;
use autodie; use re 'taint'; use 5.010;
our $VERSION = 1.0529;# Created: 2010-03-16
use Config::Tiny;
use Path::Class;
=pod
=head1 NAME
Database::Connect - Connect to your databases
=head1 SYNOPSIS
use strict;
use Database::Connect;
my $dbc = Database::Connect->new;
# in... | duelafn/perl-misc | lib/Database/Connect.pm | Perl | cc0-1.0 | 11,269 |
#!/usr/bin/env perl
=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 ... | Ensembl/ensembl-funcgen | scripts/examples/arraychip_example.pl | Perl | apache-2.0 | 1,551 |
=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 | modules/Bio/EnsEMBL/Variation/Pipeline/SpliceAI/RunSpliceAI.pm | Perl | apache-2.0 | 2,290 |
#!/usr/bin/perl -w
# Copyright 2008-2010,2014-2016 BitMover, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | bitkeeper-scm/bitkeeper | src/libc/fslayer/gen_fslayer.pl | Perl | apache-2.0 | 3,873 |
%Contains utilities for making tables and forms and such:
%A DCG for a checked radio button with the given Name and Value
checked_radio_button(Name, Value) -->
html_begin(input(type(radio), name(Name), value(Value), checked("checked"))),[" ", Value, " "].
%A DCG for an unchecked radio button with the given Name and V... | JustAnotherSoul/01 | server/web_utils.pl | Perl | apache-2.0 | 1,232 |
package VMOMI::ArrayOfVirtualMachineFileLayoutExDiskUnit;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['VirtualMachineFileLayoutExDiskUnit', 'VirtualMachineFileLayoutExDiskUnit', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfVirtualMachineFileLayoutExDiskUnit.pm | Perl | apache-2.0 | 480 |
# 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/Hive/RunnableDB/HiveBlastRNASeqPep.pm | Perl | apache-2.0 | 12,097 |
#!/usr/bin/env perl
use strict;
use warnings;
use Error::Pure::Output::Text qw(err_bt_pretty_rev);
# Fictional error structure.
my @err = (
{
'msg' => [
'FOO',
'BAR',
],
'stack' => [
{
... | tupinek/Error-Pure-Output-Text | examples/ex5.pl | Perl | bsd-2-clause | 1,491 |
package WebService::MorphIO;
use strict;
use warnings;
use Class::Utils qw(set_params);
use Encode qw(encode_utf8);
use Error::Pure qw(err);
use IO::Barf qw(barf);
use LWP::Simple qw(get);
use URI;
use URI::Escape qw(uri_escape);
our $VERSION = 0.05;
# Constructor.
sub new {
my ($class, @params) = @_;
# Create o... | tupinek/WebService-MorphIO | MorphIO.pm | Perl | bsd-2-clause | 3,883 |
=head1 AmiGO::KVStore::Filesystem
A library to store blobs on the file system. This is supposed to be
used for files, but it seems to work with scalar (string?) data in
general.
NOTE: While sharing the safe namespace and interface as KVStore, this
is not actually a subclass--it works directly with the filesystem and
... | raymond91125/amigo | perl/lib/AmiGO/KVStore/Filesystem.pm | Perl | bsd-3-clause | 4,381 |
num(num(X)) --> [X], {number(X)}.
var(var(X)) --> [X], {atom(X),
X \== '(',
X \== ')',
X \== ']',
X \== '[',
X \== '{',
X \== '}',
X \== ','}.
str(str(X)) --> ['"'], atom(X), ['"'].
/*
* Arguments are a list of names
*/
args(args(X)) --> var(X).
args(args(X, ... | isakkarlsson/bs | src/prolog/syntax.pl | Perl | bsd-3-clause | 2,289 |
#!/usr/bin/perl
##---------------------------------------------------------------------------##
## File:
## @(#) dfamConsensusTool
## Author:
## Robert M. Hubley rhubley@systemsbiology.org
## Description:
## A command-line utitility for working with the Dfam_consensus
## database.
##
#*********... | vetscience/Tools | Cwl/repeatmodeler/RepeatModelerConf/util/dfamConsensusTool.pl | Perl | bsd-3-clause | 26,096 |
package Google::Ads::AdWords::v201409::ManualCPCAdGroupCriterionExperimentBidMultiplier;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
ret... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/ManualCPCAdGroupCriterionExperimentBidMultiplier.pm | Perl | apache-2.0 | 2,492 |
#!/usr/bin/perl -w
#================================================================
# (C) 2013-2014 Dena Group Holding Limited.
#
# This program is used to operate the process of
# login & web server.
# Please check the options before using.
#
# Authors:
# Edison Chow <zhou.liyang@dena.jp>
#============... | eshujiushiwo/eshu-devops | tools/tw/scp_staticdata.pl | Perl | apache-2.0 | 3,487 |
package DMOZ::EntryNode;
use strict;
use warnings;
use Data::Dumper;
use DMOZ::Node;
use base qw(DMOZ::Node);
# constructor
sub new {
my $that = shift;
my $url = shift;
my $title = shift;
my $description = shift;
my $category = shift;
my $class = ref($that) || $that;
# object ref / bu... | ypetinot/web-summarization | models/topic-models/confusius-tm/src/DMOZ/EntryNode.pm | Perl | apache-2.0 | 1,454 |
package #
Date::Manip::Offset::off031;
# 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/off031.pm | Perl | bsd-2-clause | 881 |
#!/usr/bin/perl -w
use v5.10;
use strict;
no warnings 'redefine';
use Getopt::Long;
use CoGe::Accessory::Web;
our (
$infile, $outfile, $orgratio1,
$orgratio2, $overlap, $P,
$QUOTA_ALIGN, $CLUSTER_UTILS, $CONFIG);
GetOptions(
"infile|if=s" => \$infile,
"outfile|of=s" ... | asherkhb/coge | scripts/synmap/quota_align_coverage.pl | Perl | bsd-2-clause | 3,424 |
package #
Date::Manip::Offset::off304;
# 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/off304.pm | Perl | bsd-2-clause | 854 |
########################################################################
# Bio::KBase::ObjectAPI::KBasePhenotypes::PhenotypeSet - This is the moose object corresponding to the KBasePhenotypes.PhenotypeSet object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development... | kbase/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBasePhenotypes/PhenotypeSet.pm | Perl | mit | 4,928 |
#, $in{'mode'} == 1 Functions for parsing the various RBAC configuration files
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
%access = &get_module_acl();
####################### functions for users #######################
# list_user_attrs()
# Returns a list of user attribute objects
sub list_user_att... | BangL/webmin | rbac/rbac-lib.pl | Perl | bsd-3-clause | 23,850 |
package DDG::Goodie::UnixTime;
# ABSTRACT: epoch -> human readable time
use strict;
use DDG::Goodie;
use DateTime;
use List::MoreUtils qw( uniq );
use Try::Tiny;
my @trigger_words = ("unixtime", "datetime", "unix timestamp", "unix time stamp", "unix epoch", "epoch", "timestamp", "unix time", "utc time", "utc now", "... | aasoliz/zeroclickinfo-goodies | lib/DDG/Goodie/UnixTime.pm | Perl | apache-2.0 | 2,410 |
use Mojolicious::Lite;
use Mojo::Pg;
use Cpanel::JSON::XS 'encode_json';
use Scalar::Util 'looks_like_number';
# configuration
{
my $nproc = `nproc`;
app->config(hypnotoad => {
accepts => 0,
clients => int( 256 / $nproc ) + 1,
graceful_timeout => 1,
requests => 10000,
workers => $nproc,
});... | grob/FrameworkBenchmarks | frameworks/Perl/mojolicious/app.pl | Perl | bsd-3-clause | 2,495 |
=pod
=head1 NAME
EVP_CIPHER_CTX_init, EVP_EncryptInit_ex, EVP_EncryptUpdate,
EVP_EncryptFinal_ex, EVP_DecryptInit_ex, EVP_DecryptUpdate,
EVP_DecryptFinal_ex, EVP_CipherInit_ex, EVP_CipherUpdate,
EVP_CipherFinal_ex, EVP_CIPHER_CTX_set_key_length,
EVP_CIPHER_CTX_ctrl, EVP_CIPHER_CTX_cleanup, EVP_EncryptInit,
EVP_Encryp... | cbargren/nodegit | vendor/openssl/openssl/doc/crypto/EVP_EncryptInit.pod | Perl | mit | 24,702 |
package MEModeling::MEModelingClient;
use JSON::RPC::Client;
use POSIX;
use strict;
use Data::Dumper;
use URI;
use Bio::KBase::Exceptions;
my $get_time = sub { time, 0 };
eval {
require Time::HiRes;
$get_time = sub { Time::HiRes::gettimeofday() };
};
use Bio::KBase::AuthToken;
# Client version should match I... | mdejongh/MEModeling | lib/MEModeling/MEModelingClient.pm | Perl | mit | 10,039 |
% Q1 - maximum predicate - outputs maximum value X from list L
maximum([X],X). % boundary case (X must be X)
maximum([H|T], H) :- maximum(T, Y), H >= Y. % general case (highest value is H)
maximum([H|T], X) :- maximum(T, X), X > H. % general case (highest value is X)
% Q2 - duplicate_nth predicate - duplica... | daleluck/Year2-AI-Assignments | Assignment 2/source.pl | Perl | mit | 980 |
package Test::ModPerimeterX
use strict;
use warnings;
$Test::ModPerimeterX::VERSION = '0.0.1';
1;
__END__
| PerimeterX/mod_perimeterx | t/lib/Test/ModPerimeterX.pm | Perl | mit | 110 |
#
# $Header: svn://svn/SWM/trunk/web/MCache.pm 8251 2013-04-08 09:00:53Z rlee $
#
package MCache;
use lib "..";
use Defs;
use Cache::Memcached::Fast;
use strict;
my %cachetypes = (
sww => 1, #Sportzware Websites
swm => 2, #Sportzware Membership
mem => 3, #MySport based queries that would be useful in multiple sy... | facascante/slimerp | fifs/web/MCache.pm | Perl | mit | 3,103 |
package EABShortener;
use 5.010;
use utf8;
use strict;
use warnings;
use threads;
use Dancer ':syntax';
use Dancer::Plugin::Database;
our $VERSION = '1.1';
use Data::Validate::URI 'is_uri';
use LWP::UserAgent;
use HTML::TreeBuilder::Select;
use URI;
my $ua = LWP::UserAgent->new(
timeout => 5,
parse_head => ... | bentglasstube/eabso-shortener | lib/EABShortener.pm | Perl | mit | 5,316 |
package Hadouken::Plugin::IMDB;
use strict;
use warnings;
use Hadouken ':acl_modes';
use TryCatch;
#use Data::Dumper;
use IMDB::Film;
our $VERSION = '0.2';
our $AUTHOR = 'dek';
# Description of this command.
sub command_comment {
my $self = shift;
return "Perform IMDb search.";
}
# Clean name of command... | gitdek/hadouken | bin/plugins/IMDB.pm | Perl | mit | 3,317 |
#!/usr/bin/perl
#/home/tbooth/scripts/make_package_list.perl - created Tue Aug 13 14:13:48 BST 2013
use strict;
use warnings;
use Data::Dumper;
# Currently, the /home/manager/package_scripts/update_repository script on Envgen
# makes a list of packages for the website. This is very incomplete and
# is missing versio... | environmentalomics/build-bio-linux | package_scripts/make_package_list.perl | Perl | mit | 6,398 |
=pod
=head1 NAME
i2d_ECPrivateKey, d2i_ECPrivate_key - Encode and decode functions for saving and
reading EC_KEY structures
=head1 SYNOPSIS
#include <openssl/ec.h>
EC_KEY *d2i_ECPrivateKey(EC_KEY **key, const unsigned char **in, long len);
int i2d_ECPrivateKey(EC_KEY *key, unsigned char **out);
unsigned int E... | vbloodv/blood | extern/openssl.orig/doc/crypto/d2i_ECPrivateKey.pod | Perl | mit | 2,465 |
package WebService::Slack::WebApi::Generator;
use strict;
use warnings;
use utf8;
use feature qw/state/;
sub import {
my ($class, %rules) = @_;
my $caller = caller;
while (my ($method_name, $rule) = each %rules) {
(my $path = $method_name) =~ s/_([a-z])/\u$1/g;
my $method = sprintf '%s::%s... | mihyaeru21/p5-WebService-Slack-WebApi | lib/WebService/Slack/WebApi/Generator.pm | Perl | mit | 623 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.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 exist... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/In/4_0.pl | Perl | mit | 4,925 |
hasShape(X,user) :- node(X),
nodeShape(X,knows,user),
cardinality(X,knows,1,star).
noHasShape(X,user):- node(X),
not nodeShape(X,knows,user) .
noHasShape(X,user):- node(X),
not cardinality(X,knows,1,star) .
cardinality(X,P,Min,star):- inte... | labra/asptests | ACorunnaWorkshop/count.pl | Perl | mit | 1,370 |
:- module(detlogentypes,[
denotes_a/1,
denotes_v/1,
'denotes_.'/3,
'denotes_[]'/1]).
denotes_a([static]).
'denotes_.'(_,[list,nonvar],[list,nonvar]).
'denotes_.'(_,[var],[nonvar]).
'denotes_.'(_,[nonvar],[nonvar]).
'denotes_.'([list,static],[list,static],[list,static]).
'denotes_.'([list,nonvar],[list,static],[li... | leuschel/logen | old_logen/filter_prop/detlogentypes.pl | Perl | apache-2.0 | 743 |
#!/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/run_ssaha2.pl | Perl | apache-2.0 | 15,493 |
#
# 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/protocols/dhcp/plugin.pm | Perl | apache-2.0 | 1,267 |
package Paws::SQS::DeleteMessageBatchResultEntry;
use Moose;
has Id => (is => 'ro', isa => 'Str', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::SQS::DeleteMessageBatchResultEntry
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SQS/DeleteMessageBatchResultEntry.pm | Perl | apache-2.0 | 1,338 |
#!/usr/bin/env perl
use strict;
use warnings;
use Pod::Usage;
use Getopt::Long;
use Scalar::Util qw(looks_like_number);
use Bio::EnsEMBL::Registry;
use Bio::EnsEMBL::Compara::RunnableDB::MemberDisplayLabelUpdater;
my @OPTIONS = qw(
registry|reg_conf=s
compara=s
species=s@
replace
die_if_no_core
verbose
... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/pipeline/populate_member_display_labels.pl | Perl | apache-2.0 | 4,157 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016] 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 ... | danstaines/ensembl | modules/Bio/EnsEMBL/DBSQL/DBAdaptor.pm | Perl | apache-2.0 | 35,453 |
# 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/Common/YoutubeVideoAsset.pm | Perl | apache-2.0 | 1,095 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.