code
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
#!/usr/bin/env perl use strict; use warnings; use v5.20; use Dancer; use Dancer::Plugin::SecureHeaders; use JSON::Parse qw(valid_json parse_json); use Data::Printer; use lib '../lib'; use Product; use Category; use User; use Order; #setting( port => 2000 ); setting( log => 'debug' ); setting( content_type => 'appl...
Mikrobit/shop
api/api.pl
Perl
bsd-3-clause
16,559
=head1 NAME rbpf-slam - Robot map building with Rao-Blackwellized Particle Filters =head1 SYNOPSIS rbpf-slam I<config_file.ini> =head1 DESCRIPTION B<rbpf-slam> is a command-line application which processes a rawlog and creates a map using the particle filter methods specified in the config file. =head1 BUGS Ple...
MRPT/mrpt
doc/man-pages/pod/rbpf-slam.pod
Perl
bsd-3-clause
949
package Explain::Controller; use Mojo::Base 'Mojolicious::Controller'; use English -no_match_vars; use Pg::Explain; use Encode; use Email::Valid; use Config; sub logout { my $self = shift; delete $self->session->{ 'user' }; delete $self->session->{ 'admin' }; $self->redirect_to( 'new-explain' ); } ...
depesz/explain.depesz.com
lib/Explain/Controller.pm
Perl
bsd-3-clause
12,772
package DMOZ::Mapper::SingleNodeMapper; use strict; use warnings; # computes perplexity of a set of DMOZ entries wrt specified model use DMOZ::Mapper; use base qw(DMOZ::Mapper); # constructor sub new { my $that = shift; my $target_path = shift; my $wanted_fields = shift; my $func = shift; ...
ypetinot/web-summarization
models/topic-models/confusius-tm/src/DMOZ/Mapper/SingleNodeMapper.pm
Perl
apache-2.0
1,895
#!/usr/bin/perl -w use strict; use lib "."; use PAsm; my $USAGE = "confirm-starts.pl reads.fa graph.txt\n"; my $readfasta = shift @ARGV or die $USAGE; open READS, "< $readfasta" or die "Can't open $readfasta ($!)\n"; my %readseq; my $id; my $seq; ## Load the reads while (<READS>) { chomp; ($id, $seq) = split...
julianlau/contrail-emr
support/check-starts.pl
Perl
apache-2.0
2,265
package Paws::EC2::DescribeIdFormatResult; use Moose; has Statuses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IdFormat]', request_name => 'statusSet', traits => ['NameInRequest',]); has _request_id => (is => 'ro', isa => 'Str'); 1; ### main pod documentation begin ### =head1 NAME Paws::EC2::DescribeIdFormat...
ioanrogers/aws-sdk-perl
auto-lib/Paws/EC2/DescribeIdFormatResult.pm
Perl
apache-2.0
487
#!/usr/bin/env perl # ARM assembler distiller by <appro>. my $flavour = shift; my $output = shift; open STDOUT,">$output" || die "can't open $output: $!"; $flavour = "linux32" if (!$flavour or $flavour eq "void"); my %GLOBALS; my $dotinlocallabels=($flavour=~/linux/)?1:0; ##########################################...
GaloisInc/hacrypto
src/C/openssl/openssl-fips-ecp-2.0.11/crypto/perlasm/arm-xlate.pl
Perl
bsd-3-clause
3,673
interface(root). interface(node). interfaceAttribute(node, w). interfaceAttribute(node, lineh). interfaceAttribute(node, canvas). interfaceAttribute(node, absy). interfaceAttribute(node, rely). interfaceAttribute(node, h). interfaceAttribute(node, x). interfaceAttribute(node, render). class(top, root). class(leaf, node...
Superconductor/superconductor
compiler/attrib-gram-evaluator-swipl/Tutorial/output/float.pl
Perl
bsd-3-clause
10,862
:- dynamic final_positive/2.
frapontillo/ai-dialysis-uniba
prolog/runs_ktv_qb/rules_6.pl
Perl
apache-2.0
31
package Mojolicious::Command::daemon; use Mojo::Base 'Mojolicious::Command'; use Getopt::Long qw(GetOptionsFromArray :config no_auto_abbrev no_ignore_case); use Mojo::Server::Daemon; has description => 'Start application with HTTP and WebSocket server'; has usage => sub { shift->extract_usage }; sub run { my ($sel...
ashkanx/binary-mt
scripts/local/lib/perl5/Mojolicious/Command/daemon.pm
Perl
apache-2.0
3,843
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by mktables from the Unicode # database, Version 6.1.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or existence of this ...
Dokaponteam/ITF_Project
xampp/perl/lib/unicore/lib/Blk/Coptic.pl
Perl
mit
421
#! /usr/bin/env perl $nodename = shift; my $file = "job_dagman_rescue_recov-$nodename.works"; if (-e $file) { unlink $file or die "Unlink failed: $!"; print "$nodename succeeded\n"; } else { system("touch $file"); print "$nodename failed\n"; exit 1; }
djw8605/htcondor
src/condor_tests/job_dagman_rescue_recov-node_conditional.pl
Perl
apache-2.0
260
############################################################################### # # Package: NaturalDocs::Topics::Type # ############################################################################### # # A class storing information about a <TopicType>. # ############################################################...
spaceappchile/team13
web/vendor/jqplot/extras/NaturalDocs/Modules/NaturalDocs/Topics/Type.pm
Perl
mit
5,141
package Archive::Tar::Constant; BEGIN { require Exporter; $VERSION= '0.02'; @ISA = qw[Exporter]; @EXPORT = qw[ FILE HARDLINK SYMLINK CHARDEV BLOCKDEV DIR FIFO SOCKET UNKNOWN BUFFER HEAD READ_ONLY WRITE_ONLY UNPACK PACK TIME_OFFSET ZLIB BLOCK_SIZE TAR_P...
leighpauls/k2cro4
third_party/cygwin/lib/perl5/5.10/Archive/Tar/Constant.pm
Perl
bsd-3-clause
3,403
use strict; my %count; foreach my $f (@ARGV) { open(IN, $f) || die "$! $f"; my $header = <IN>; my @a=split /\t/, $header; my ($country, $lat, $lon)=(undef, undef, undef); map { if ($a[$_] eq "country") {$country=$_} if ($a[$_] eq "latitude") {$lat=$_} if ($a[$_] eq "longitude") {$lon=$_} } (0 .. $#a); u...
linsalrob/crAssphage
bin/count_country_locations.pl
Perl
mit
864
use strict; use lib '..'; use lib '../..'; use lib '../../platform/lib'; use lib '../../platform-utils/lib'; use lib '../lib'; use lib '../../lib'; use Test::More; use Data::Dumper; use Eldhelm::Test::Mock::Worker; use Eldhelm::Util::FileSystem; my ($index, $configPath, $sourceContext, $className) = @ARGV; unless (...
wastedabuser/eldhelm-platform
test/t/400_model_basic_db.pl
Perl
mit
1,323
# # Copyright 2014 Mike Cappella (mike@cappella.us) package Utils::PIF 1.04; our @ISA = qw(Exporter); our @EXPORT = qw(create_pif_record create_pif_file add_new_field explode_normalized get_items_from_1pif typename_to_typekey); #our @EXPORT_OK = qw(); use v5.14; use utf8; use strict; use warnings; use diagnostics; ...
Bastika07/onepassword-utilities
convert_to_1p4/Utils/PIF.pm
Perl
mit
34,703
#!/usr/bin/env perl use strict; use warnings FATAL => 'all'; use feature "say"; use Net::DBus; # Switch the below two lines (uncomment) if using launchd: # my $address = local $ENV{DBUS_SESSION_BUS_ADDRESS} = "launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET"; my $address = local $ENV{DBUS_SESSION_BUS_ADDRESS} = "unix:pat...
zbentley/dbus-osx-examples
examples/perl/net-dbus/client.pl
Perl
mit
548
=pod =head1 NAME SSL_get_ciphers, SSL_get_cipher_list - get list of available SSL_CIPHERs =head1 SYNOPSIS #include <openssl/ssl.h> STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl); STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *ssl); const char *SSL_get_cipher_list(const SSL *ssl, int priority); ...
vbloodv/blood
extern/openssl.orig/doc/ssl/SSL_get_ciphers.pod
Perl
mit
1,603
/************************************************************************* File: experiment2.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 General P...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/CURT/bb1/experiment2.pl
Perl
mit
2,604
=pod =head1 NAME SSL_new - create a new SSL structure for a connection =head1 SYNOPSIS #include <openssl/ssl.h> SSL *SSL_new(SSL_CTX *ctx); =head1 DESCRIPTION SSL_new() creates a new B<SSL> structure which is needed to hold the data for a TLS/SSL connection. The new structure inherits the settings of the under...
vbloodv/blood
extern/openssl.orig/doc/ssl/SSL_new.pod
Perl
mit
800
# 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 debian/tzdata/europe. Olson data version 2008c # # Do not edit this file directly. # package DateTime::TimeZ...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Asia/Irkutsk.pm
Perl
mit
9,127
package MIP::Recipes::Build::Transcript_annotation_prerequisites; use 5.026; use Carp; use charnames qw{ :full :short }; use English qw{ -no_match_vars }; use File::Spec::Functions qw{ catdir catfile }; use open qw{ :encoding(UTF-8) :std }; use Params::Check qw{ allow check last_error }; use warnings; use warnings qw{...
henrikstranneheim/MIP
lib/MIP/Recipes/Build/Transcript_annotation_prerequisites.pm
Perl
mit
16,459
# 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/Services/FeedItemSetLinkService/MutateFeedItemSetLinkResult.pm
Perl
apache-2.0
1,066
package Google::Ads::AdWords::v201809::IncomeRange; 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 bas...
googleads/googleads-perl-lib
lib/Google/Ads/AdWords/v201809/IncomeRange.pm
Perl
apache-2.0
2,303
package Google::Ads::AdWords::v201809::SharedSetReturnValue; 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; } ...
googleads/googleads-perl-lib
lib/Google/Ads/AdWords/v201809/SharedSetReturnValue.pm
Perl
apache-2.0
2,048
=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/KaryotypeBandAdaptor.pm
Perl
apache-2.0
6,187
#!/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/genebuild/prepare_proteome.pl
Perl
apache-2.0
5,720
# # 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/voip/cisco/meetingplace/mode/videoports.pm
Perl
apache-2.0
4,120
# 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/Services/BiddingSeasonalityAdjustmentService/MutateBiddingSeasonalityAdjustmentsRequest.pm
Perl
apache-2.0
1,311
package Net::Statsd; # ABSTRACT: Sends statistics to the stats daemon over UDP # Cosimo Streppone <cosimo@cpan.org> use strict; use warnings; use Carp (); use IO::Socket (); our $HOST = 'localhost'; our $PORT = 8125; my $SOCK; my $SOCK_PEER; =head1 NAME Net::Statsd - Perl client for Etsy's statsd daemon =head1 S...
eoly/statsd-perl-scripts
lib/Net/Statsd.pm
Perl
apache-2.0
8,487
#!/usr/bin/perl # MLSA # Put .mgc files in gen folder along with their aschii pitch files # Sankar Mukherjee # CET IITKGP # Settings ============================== %ordr = ('mgc' => '35', # feature order 'lf0' => '1', 'dur' => '5'); # Speech Analysis/Synthesis Setting ============== # speech an...
sankar-mukherjee/DBM-TGP-F0
MLSA/mlsa.pl
Perl
apache-2.0
8,470
# 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/RunnableDB/ProteinAnnotation/PIRSF.pm
Perl
apache-2.0
2,024
# # 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/protocols/smtp/plugin.pm
Perl
apache-2.0
1,352
# # Copyright 2018 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
wilfriedcomte/centreon-plugins
network/juniper/common/junos/mode/cpurouting.pm
Perl
apache-2.0
6,186
=head1 LICENSE Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
dbolser-ebi/ensembl-variation
modules/Bio/EnsEMBL/Variation/Utils/VEP.pm
Perl
apache-2.0
191,590
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/ensembl-webcode
modules/EnsEMBL/Web/TextSequence/Markup/Codons.pm
Perl
apache-2.0
1,507
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2019] 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/ensembl
modules/Bio/EnsEMBL/ProteinFeature.pm
Perl
apache-2.0
8,535
#! /usr/bin/env perl # Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the OpenSSL license (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl.org...
openweave/openweave-core
third_party/openssl/openssl/test/run_tests.pl
Perl
apache-2.0
2,047
#******************************************************************************* # Copyright (c) 2006-2010 eBay Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
vthangathurai/SOA-Runtime
soa-client/src/main/schemas/dejaxb.pl
Perl
apache-2.0
926
#!/usr/bin/env perl =head1 NAME list_input_ids.pl - generate region restriction info for rulemanager.pl =head1 SYNOPSIS list_input_ids.pl -dataset human [ -purpose <label> ] -set chr14-04,chr15-06 list_input_ids.pl -dataset human [ -purpose <label> ] chr14-04 chr15-06 =head1 DESCRIPTION This script lists t...
Ensembl/ensembl-pipeline
scripts/Finished/list_input_ids.pl
Perl
apache-2.0
5,484
#!/usr/bin/env perl =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 C...
adamsardar/perl-libs-custom
EnsemblAPI/ensembl-functgenomics/scripts/regulatory_build/build_union_features.pl
Perl
apache-2.0
26,119
#!/usr/bin/perl # # Public domain # # Search $UMANPATH for a user-installed manual page and write it to # the standard output (via groff). # # Links can also be specified (uman will search BSDBuild-generated # .manlinks.mk files for them). # if (!defined($ENV{'UMANPATH'})) { print "The \$UMANPATH environment variabl...
stqism/ToxBuild
uman.pl
Perl
bsd-2-clause
1,929
#!/usr/bin/perl # Copyright (c) 2006-2010 by cisco Systems, Inc. # All rights reserved. sub Usage { print STDERR "cm_rpcgen.pl [-in <in-file>] [-common <file>] [-server <file>] [-client <file>] [-marker <marker>] [-module <name>] \n"; } my $do_common = 0; my $do_server = 0; my $do_client = 0; my $module_name =...
wmanley/cisco-vqe-client
eva/vqec_rpcgen.pl
Perl
bsd-3-clause
25,872
%%% The following code has been produced by the CHR compiler :- ( current_module(chr) -> true ; use_module(library(chr)) ). :- get_flag(variable_names, Val), setval(variable_names_flag, Val), set_flag(variable_names, off). card(_11752, _11751, _11750) :- length(_11750, _11749), _11752 =< _11751, 0 =< _11751, _11752...
kishoredbn/barrelfish
usr/eclipseclp/ecrc_solvers/chr/bool.pl
Perl
mit
61,241
#!/usr/bin/perl # $Id: pxref.perl,v 1.2 2013-10-11 19:24:18-07 - - $ use strict; use warnings; $0 =~ s|^.*/||; my $exit_status = 0; END {exit $exit_status} sub note(@) {print STDERR "@_"}; $SIG{'__WARN__'} = sub {note @_; $exit_status = 1}; $SIG{'__DIE__'} = sub {warn @_; exit}; my $sep = ":" x 32; push @ARGV, "-" un...
joshuapena/cmps012b-wm-w15
mackey/assignments/asg2j-jxref-lists/code/pxref.perl
Perl
mit
748
package Paws::Signin::LoginResponse; use Moose; has URL => (is => 'ro', isa => 'Str', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::Signin::GetSigninTokenResponse - Response for method GetSigninToken on Paws::Signin =head1 DESCRIPTION =head2 SigninToken => Str The Token for the Sig...
ioanrogers/aws-sdk-perl
lib/Paws/Signin/LoginResponse.pm
Perl
apache-2.0
613
package Paws::Config::DescribeComplianceByResourceResponse; use Moose; has ComplianceByResources => (is => 'ro', isa => 'ArrayRef[Paws::Config::ComplianceByResource]'); has NextToken => (is => 'ro', isa => 'Str'); has _request_id => (is => 'ro', isa => 'Str'); ### main pod documentation begin ### =head1 NAM...
ioanrogers/aws-sdk-perl
auto-lib/Paws/Config/DescribeComplianceByResourceResponse.pm
Perl
apache-2.0
751
package Date::Manip::Lang::swedish; # Copyright (c) 1996-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. ######################################################################## ###################################...
nriley/Pester
Source/Manip/Lang/swedish.pm
Perl
bsd-2-clause
4,869
package Contenticious::Content; use Mojo::Base -base; use Contenticious::Content::Node::Directory; use File::Copy::Recursive 'dircopy'; use Carp; has pages_dir => sub { croak 'no pages_dir given' }; has root_node => sub { shift->build_root_node }; # root_node builder sub build_root_node { my $self = shift; ...
gitpan/Contenticious
lib/Contenticious/Content.pm
Perl
mit
2,172
package DDG::Spice::AlternativeTo; use DDG::Spice; primary_example_queries "alternative to notepad"; secondary_example_queries "alternative to photoshop for mac", "free alternative to spotify for windows"; description "Find software alternatives"; name "AlternativeTo"; icon_url "/i/alternativeto.net.ico"; source "Alt...
timeanddate/zeroclickinfo-spice
lib/DDG/Spice/AlternativeTo.pm
Perl
apache-2.0
1,713
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by lib/unicore/mktables from the Unicode # database, Version 6.1.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or existe...
efortuna/AndroidSDKClone
ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Scx/Samr.pl
Perl
apache-2.0
443
package SmartSea::Schema::Result::Plan; 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}, owner => {} ...
ajolma/SmartSeaMSPTool
SmartSea/Schema/Result/Plan.pm
Perl
mit
3,768
########################################################################### # # This file is auto-generated by the Perl DateTime Suite time locale # generator (0.04). This code generator comes with the # DateTime::Locale distribution in the tools/ directory, and is called # generate_from_cldr. # # This file as generat...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/DateTime/Locale/se_FI.pm
Perl
mit
1,531
#!/usr/bin/perl -c use strict; use warnings; package JMAP::AOLDB; use base qw(JMAP::ImapDB); use DBI; use Date::Parse; use Data::UUID::LibUUID; use OAuth2::Tiny; use Encode; use Encode::MIME::Header; use Digest::SHA qw(sha1_hex); use AnyEvent; use AnyEvent::Socket; use Data::Dumper; use JMAP::Sync::Gmail; sub new ...
jmapio/jmap-perl
JMAP/AOLDB.pm
Perl
mit
737
package MIP::Recipes::Build::Bwa_prerequisites; use 5.026; use Carp; use charnames qw{ :full :short }; use English qw{ -no_match_vars }; use File::Spec::Functions qw{ catdir catfile }; use open qw{ :encoding(UTF-8) :std }; use Params::Check qw{ allow check last_error }; use utf8; use warnings; use warnings qw{ FATAL u...
henrikstranneheim/MIP
lib/MIP/Recipes/Build/Bwa_prerequisites.pm
Perl
mit
17,297
/*********************************************************************** name: calendar.pl description: Knowledgebase about dates and times Dates are represented as date(Y,M,D) Times are represented as time(H,M,S) author: Rebecca Jonson *******************************...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis-apps/domain-agendatalk/Resources/calendar.pl
Perl
mit
8,119
package T2t::EmptyRow; use strict; use warnings; use T2t::Cell; use T2t::UserPreferencesCache; use T2t::Utilities; use base qw( T2t::Row ); sub new { my $package = shift; my $self = {}; $self->{header} = shift || 0; $self->{attrs} = T2t::UserPreferencesCache::getInstance()->getRowAttr...
scholnicks/t2t
T2t/EmptyRow.pm
Perl
mit
774
#!/usr/bin/perl #/usr/pubsw/bin/perl -w # Author: Brandon Heller # Test to see if rawIP.pm can handle multiple sequential packet sends. # On nf-test13, it crashes around 97-98 sequential sends. # params: # --len [bytes] # --pkts [num] use strict; use NF2::TestLib; use NF2::PacketLib; use Getopt::Long; use File:...
shkkgs/DE4-multicore-network-processor-with-multiple-hardware-monitors-
DE4_network_processor_4cores_6monitors_release/projects/DE4_Reference_Router_with_DMA/src/sources_ngnp_multicore/to_send/ngnp_added_monitor/ngnp/regress/test_crash/crash.pl
Perl
mit
1,967
package MIP::Recipes::Analysis::Gzip_fastq; use 5.026; use Carp; use charnames qw{ :full :short }; use English qw{ -no_match_vars }; use File::Spec::Functions qw{ catdir catfile }; use open qw{ :encoding(UTF-8) :std }; use Params::Check qw{ allow check last_error }; use utf8; use warnings; use warnings qw{ FATAL utf8 ...
henrikstranneheim/MIP
lib/MIP/Recipes/Analysis/Gzip_fastq.pm
Perl
mit
10,035
use utf8; package Chinook::Schema::Result::Employee; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE =head1 NAME Chinook::Schema::Result::Employee =cut use strict; use warnings; use base 'DBIx::Class::Core'; =head1 TABLE: C<Employee> =cut __PACKAGE__->table("Employee"); =h...
rpillar/Chinook
lib/Chinook/Schema/Result/Employee.pm
Perl
mit
3,766
/* <module> % % PFC is codeA language extension for prolog. % % It adds codeA new type of module inheritance % % Dec 13, 2035 % Douglas Miles */ % was_module(header_sane,[]). :- include(test_header). %:- add_import_module(header_sane,baseKB,end). :- set_defaultAssertMt(modA). :- begin_pfc. :- mpred_trace_exec....
TeamSPoon/logicmoo_workspace
packs_sys/pfc/t/sanity_base/mt_03b.pl
Perl
mit
1,926
# Acme::NoSql # # Example subclass for Elevator::Drivers::Mongo # this represents settings Acme organization uses for MongoDB use MooseX::Declare; class Acme::NoSql extends Elevator::Drivers::Mongo { use Method::Signatures::Simple name => 'action'; use Elevator::Model::BaseObject; # if no don't use no...
mpdehaan/Elevator
examples/Acme/NoSql.pm
Perl
mit
403
# # Routino CGI paths Perl script # # Part of the Routino routing software. # # This file Copyright 2008-2010 Andrew M. Bishop # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either ver...
MinnPost/minnpost-nice-ride
data-processing/routino-2.2/web/www/routino/paths.pl
Perl
mit
1,203
#!env perl use strict; use warnings; use Getopt::Long; my $debug = 0; GetOptions('v|debug!' => \$debug); my $fpkm = shift || "cuffnorm/genes.fpkm_table"; my $functional= shift || '../../../annotation/Hw2.maker.MTedit_longID.v20160306.desc'; open(my $fh => $functional) || die "Cannot open $functional$!"; my %gene; w...
stajichlab/Hortaea_werneckii
RNAseq/Expression/v20160306/scripts/add_function.pl
Perl
cc0-1.0
629
package Paws::Greengrass::CreateGroupVersion; use Moose; has AmznClientToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amzn-Client-Token'); has CoreDefinitionVersionArn => (is => 'ro', isa => 'Str'); has DeviceDefinitionVersionArn => (is => 'ro', isa => 'Str'); has Function...
ioanrogers/aws-sdk-perl
auto-lib/Paws/Greengrass/CreateGroupVersion.pm
Perl
apache-2.0
2,881
=for advent_year 2011 =for advent_day 22 =for advent_title DBI Profile =for advent_author Fayland Lam =encoding utf8 DBI 优化的工具很多。最正统的便是 M<DBI::Profile>,通过设置 DBI_PROFILE 环境变量,或者直接设置 $dbh->{Profile}。环境变量无需更改脚本本身,而通过设 ->{Profile} 可以控制 profile 的范围。如果你选择了输出 M<DBI::ProfileDumper> 到文件,则回头可以用 dbiprof 来查看更加清晰的报告。如果需要直接输出漂亮...
PerlChina/mojo-advent
articles/2011/22/DBIProfile.pod
Perl
apache-2.0
1,460
package Paws::RDS::RecurringCharge; use Moose; has RecurringChargeAmount => (is => 'ro', isa => 'Num'); has RecurringChargeFrequency => (is => 'ro', isa => 'Str'); 1; ### main pod documentation begin ### =head1 NAME Paws::RDS::RecurringCharge =head1 USAGE This class represents one of two things: =head3 Argu...
ioanrogers/aws-sdk-perl
auto-lib/Paws/RDS/RecurringCharge.pm
Perl
apache-2.0
1,563
# # Copyright 2022 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
centreon/centreon-plugins
network/juniper/common/screenos/snmp/mode/cpu.pm
Perl
apache-2.0
6,405
# # Bio::Das::ProServer::SourceAdaptor::conservation_score # # Copyright EnsEMBL Team # # You may distribute this module under the same terms as perl itself # # pod documentation - main docs before the code =head1 NAME Bio::Das::ProServer::SourceAdaptor::conservation_score - Extension of the ProServer for e! conserva...
adamsardar/perl-libs-custom
EnsemblAPI/ensembl-compara/modules/Bio/Das/ProServer/SourceAdaptor/conservation_score.pm
Perl
apache-2.0
7,768
#!/usr/bin/perl =head1 COPYRIGHT Copyright (c) 2016, Juniper Networks Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unl...
Juniper/branch-locker
src/unmake-admin.pl
Perl
apache-2.0
2,024
use utf8; package Schema::Result::Deliveryservice; # 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 L...
knutsel/traffic_control-1
traffic_ops/app/lib/Schema/Result/Deliveryservice.pm
Perl
apache-2.0
12,478
# # 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
network/aruba/standard/snmp/plugin.pm
Perl
apache-2.0
1,985
# # 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...
maksimatveev/centreon-plugins
snmp_standard/mode/uptime.pm
Perl
apache-2.0
6,035
# # 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/cisco/aci/apic/restapi/mode/node.pm
Perl
apache-2.0
4,662
=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/RunnableDB/PairAligner/UcscToEnsemblMapping.pm
Perl
apache-2.0
4,714
:- module(classad_reltime_parser, [parse_reltime/2, % parse_reltime(ReltimeExpression, Seconds) unparse_reltime/1 % unparse_reltime(Seconds) ]). :- expects_dialect(swi). % unparse a number of seconds into a reltime string format % note, may be called from with_output_to/2 unparse_re...
erikerlandson/classad_pl
lib/classad_reltime_parser.pl
Perl
apache-2.0
3,214
# 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 ...
rectang/lucy-clownfish
compiler/perl/lib/Clownfish/CFC/Model/Class.pm
Perl
apache-2.0
898
use v5.10; $_ = <<'HERE'; Amelia said "I am a camel" HERE say "Matched [$+{said}]!" if m/ ( ['"] ) (?<said>.*?) (?1) /x;
mishin/presentation
regex_recursion/005.pl
Perl
apache-2.0
214
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/ensembl-webcode
modules/EnsEMBL/Web/Query/GlyphSet/Variation.pm
Perl
apache-2.0
8,015
package VMOMI::ArrayOfHostPciPassthruConfig; use parent 'VMOMI::ComplexType'; use strict; use warnings; our @class_ancestors = ( ); our @class_members = ( ['HostPciPassthruConfig', 'HostPciPassthruConfig', 1, 1], ); sub get_class_ancestors { return @class_ancestors; } sub get_class_members { my $class...
stumpr/p5-vmomi
lib/VMOMI/ArrayOfHostPciPassthruConfig.pm
Perl
apache-2.0
441
#!/usr/bin/perl -w # Copyright © 2006-2013 Jamie Zawinski <jwz@jwz.org> # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and...
AstralDynamics/photo-tagger
xscreensaver-5.29/OSX/update-thumbnail.pl
Perl
bsd-3-clause
4,541
#----------------------------------------------------------------- # SADI::Service::Instance # Author: Edward Kawas <edward.kawas@gmail.com>, # # For copyright and disclaimer see below. # # $Id: Instance.pm,v 1.6 2010-03-23 16:30:16 ubuntu Exp $ #----------------------------------------------------------------- ...
gitpan/SADI
lib/SADI/Service/Instance.pm
Perl
bsd-3-clause
7,705
/************************************************************************* name: update.pl version: description: uses ADL = algorithm definition language author: Peter Bohlin, Staffan Larsson *************************************************************************/ /*====================...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/trindikit4-0.1alpha/examples/godis-basic/modules/select.pl
Perl
mit
1,553
#!/usr/bin/perl use strict; use warnings; use CGI qw(:cgi); use Socket; use URI::Escape; my $port = 2763; my $logdir = "/var/log/attempto/ws/acerules"; my $input = ""; read(STDIN, $input, $ENV{'CONTENT_LENGTH'}); $input =~ s/\n\s*/\n/g; # 'input' must be defined print_error_and_exit("undefined input") if ($input e...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/AceRules/engine/webservice/acerulesws.perl
Perl
mit
2,504
=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/DensityFeature.pm
Perl
apache-2.0
6,408
#!/opt/lampp/bin/perl # Copyright (C) 2002/2003 Kai Seidler, oswald@apachefriends.org # # 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 ...
dumaworks/dumarepo
xampp/guestbook-nl.pl
Perl
apache-2.0
2,796
package Google::Ads::AdWords::v201406::AdGroupFeedPage; 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; } use...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201406/AdGroupFeedPage.pm
Perl
apache-2.0
1,923
# 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 ...
rectang/lucy
perl/buildlib/Lucy/Build/Binding/Plan.pm
Perl
apache-2.0
10,152
package Paws::CodeStar::DeleteProjectResult; use Moose; has ProjectArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectArn' ); has StackId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stackId' ); has _request_id => (is => 'ro', isa => 'Str'); ...
ioanrogers/aws-sdk-perl
auto-lib/Paws/CodeStar/DeleteProjectResult.pm
Perl
apache-2.0
694
% % local propagation evaluator % for nonlinear expressions in clp(r,q) % :- use_module(engine(internals), [term_to_meta/2]). arith_ground(X) :- % substitute for number(X) type(X,Xt), normalize(Xt, X, _, _, H), H = []. arith_ground(X, Val) :- type(X,Xt), normalize(Xt, X, K, I, H), H = [], arith_eval(K*I...
leuschel/ecce
www/CiaoDE/ciao/library/nl_eval.pl
Perl
apache-2.0
11,761
# # 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 u...
jcgruenhage/dendrite
vendor/src/github.com/apache/thrift/lib/perl/lib/Thrift/Server.pm
Perl
apache-2.0
7,258
# EXTRACT VARIOUSLY DELIMITED TEXT SEQUENCES FROM STRINGS. # FOR FULL DOCUMENTATION SEE Balanced.pod use 5.005; use strict; package Text::Balanced; use Exporter; use SelfLoader; use vars qw { $VERSION @ISA %EXPORT_TAGS }; use version; $VERSION = qv('2.0.0'); @ISA = qw ( Exporter ); %EXPORT_TAGS = ( ALL => ...
leighpauls/k2cro4
third_party/cygwin/lib/perl5/5.10/Text/Balanced.pm
Perl
bsd-3-clause
67,673
use strict; use warnings; use Carp; package MatrixResult; sub new { my $class = shift; my ($args) = @_; my $self = { matrix => $args->{matrix}, sum => $args->{sum}, side => $args->{side}, success => $args->{success} }; return bless $self, $class; } 1;
Bigsby/matrix.sum
src/pl/results/matrixResult.pm
Perl
mit
311
package Genesis::Legacy; use strict; use warnings; use Genesis; use Genesis::UI; use JSON::PP qw/encode_json decode_json/; sub same { my ($a, $b) = @_; die "Arguments are not arrays" unless ref($a) eq 'ARRAY' && ref($b) eq 'ARRAY'; return 0 unless scalar(@$a) == scalar(@$b); return 0 unless join(',',map {length} ...
starkandwayne/genesis
lib/Genesis/Legacy.pm
Perl
mit
14,458
package OpenCloset::Donation::Controller::Clothes; use Mojo::Base 'Mojolicious::Controller'; use Data::Pageset; use List::Util qw/uniq/; use Path::Tiny; use Try::Tiny; use OpenCloset::Constants::Category; use OpenCloset::Constants::Status qw/$REPAIR $RECYCLE_1 $RECYCLE_2 $RECYCLE_3 $UNRECYCLE/; has schema => sub { s...
opencloset/donation
lib/OpenCloset/Donation/Controller/Clothes.pm
Perl
mit
10,505
#!/usr/bin/perl my @array=split(/\s*,\s*/,''); print "$#array\n";
holtzermann17/Noosphere
bin/test/testarray.pl
Perl
mit
68
package MARC::Field; use strict; use integer; use Carp; use constant SUBFIELD_INDICATOR => "\x1F"; use constant END_OF_FIELD => "\x1E"; use vars qw( $ERROR ); =head1 NAME MARC::Field - Perl extension for handling MARC fields =head1 SYNOPSIS use MARC::Field; my $field = MARC::Field->new( 245, '1', '0',...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/MARC/Field.pm
Perl
mit
15,124
#!/usr/bin/perl use warnings; use strict; open( IN1, $ARGV[0] ) || die "Input file error.\n"; # Given: Positive integers n<=100 and m<=20. # Return: The total number of pairs of rabbits that will remain after the # n-th month (n<=100) if all rabbits live for m months (m<=20). sub fib { # (n, n-1) $_[0] + $...
erictleung/rosalind-programming
bioinformatics-stronghold/FIBD_Mortal_Fibonacci_Rabbits/mortalFibRabbits.pl
Perl
mit
1,364
#('Alice', 'Bob') という配列を作って出力してみましょう。 #関数を使って 'Alice' を取り出して出力してみましょう。 #関数を使って 'Bob' を取り出して出力してみましょう。 #1.の配列を元に、関数を使って ('Zappa', 'Alice', 'Bob', 'Chris') という配列を作って出力してみましょう。 use strict; use warnings; use utf8; my @array = ('Alice', 'Bob'); print "@array\n"; print "--------------------\n"; my @array2 = ('Alice', 'Bo...
perl-entrance-org/workshop-2014-03
code/tokyo2/array.pl
Perl
mit
842