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 PYX; # Pragmas. use base qw(Exporter); use strict; use warnings; # Modules. use PYX::Utils qw(decode); use Readonly; # Constants. Readonly::Array our @EXPORT_OK => qw(attribute char comment end_element instruction start_element); # Version. our $VERSION = 0.06; # Encode attribute as PYX. sub attribute { ...
tupinek/PYX
PYX.pm
Perl
bsd-2-clause
2,980
#!/usr/bin/env perl # Pragmas. use strict; use warnings; # Modules. use Class::Utils qw(set_split_params); # Hash reference with default parameters. my $self = { 'foo' => undef, }; # Set bad params. my @other_params = set_split_params($self, 'foo', 'bar', 'bad', 'value', ); # Print out. print "Foo: $self->{...
gitpan/Class-Utils
examples/ex4.pl
Perl
bsd-2-clause
409
#!/usr/bin/perl #***************************************************** # Author: # Lokesh Jindal # lokeshjindal15@cs.wisc.edu # May, 2015 #***************************************************** use File::Find; use File::Basename; # my $RATE_CALC_PERIOD = 0.0002; # 200us or 0.2ms if (@ARGV !=2) { print "ERROR! Provi...
lokeshjindal15/pd-gem5
scripts/pd5_parse_interrupt.pl
Perl
bsd-3-clause
5,823
#!/usr/bin/perl use POSIX qw(strftime); my $date = strftime("%Y%m%d", localtime); my $user = "apache"; my $dbname = "dental"; #print $date; #`mysqldump -u apache -p --opt dental > dentpro.060423.sql my $command = "mysqldump -u $user -p --opt $dbname > dentpro.$date.sql"; #print $command; print qq/press any ke...
mjpan/jdentpro
scripts/dbdump.pl
Perl
bsd-3-clause
369
#!/usr/bin/perl -w use strict; use Getopt::Std; use POSIX qw(strftime); our($opt_h, $opt_s, $opt_o, $opt_m, $opt_p, $opt_b, $opt_t, $opt_c); getopts('bcths:o:p:m:'); if ( $opt_h ) { print "Usage: $0 [-s number] [-m number] [-o number]\n"; print " -b check Battery Back Up status\n"; print " -c check ...
hpc/clusterscripts
check_megaraid.pl
Perl
bsd-3-clause
7,893
#------------------------------------------------------------------------------ # File: Shift.pl # # Description: ExifTool time shifting routines # # Revisions: 10/28/2005 - P. Harvey Created #------------------------------------------------------------------------------ package Image::ExifTool; use stric...
gitzain/SortPhotos
Image-ExifTool/lib/Image/ExifTool/Shift.pl
Perl
mit
22,635
=pod This is a valid pod file =cut
quattor/maven-tools
build-scripts/src/test/resources/okpod/localtest.pod
Perl
apache-2.0
37
=encoding utf-8 =head1 NAME ngx_http_sub_module - Module ngx_http_sub_module =head1 The C<ngx_http_sub_module> module is a filter that modifies a response by replacing one specified string by another. This module is not built by default, it should be enabled with the C<--with-http_sub_module> configuratio...
LomoX-Offical/nginx-openresty-windows
src/pod/nginx/ngx_http_sub_module.pod
Perl
bsd-2-clause
2,278
package DDG::Spice::Equaldex; # ABSTRACT: LGBT rights by region use DDG::Spice; use Locale::Country; spice is_cached => 1; spice to => 'http://equaldex.com/api/region?format=json&region=$1&callback={{callback}}'; triggers startend => "lgbt", "lesbian", "gay", "bisexual", "transgender"; my $guardRe = qr/(rights?|la...
mr-karan/zeroclickinfo-spice
lib/DDG/Spice/Equaldex.pm
Perl
apache-2.0
1,099
# -*- perl -*- # Text::Template.pm # # Fill in `templates' # # Copyright 2013 M. J. Dominus. # You may copy and distribute this program under the # same terms as Perl itself. # If in doubt, write to mjd-perl-template+@plover.com for a license. # package Text::Template; $Text::Template::VERSION = '1.56'; # ABSTRACT: Ex...
jens-maus/amissl
openssl/external/perl/Text-Template-1.56/lib/Text/Template.pm
Perl
bsd-3-clause
67,996
=head1 This Week on perl5-porters (30 June / 6 July 2003) As the next maintenance release of perl is getting closer, the porters are still fixing bugs. Among the subjects that have been investigated this week, we can remember some hash-ordering-dependent bugs, process name problems, and more syntactic issues. =head2 ...
autarch/perlweb
docs/dev/perl5/list-summaries/2003/p5p-200307-1.pod
Perl
apache-2.0
4,693
#!/usr/bin/perl -w # # Rush # # Rush a JIRA issue to Done status. # # Author: Nathan Helenihi # package JiraLite::Command::Rush; use strict; use warnings; use base qw( CLI::Framework::Command ); use JiraLite::Config::Jira; use JiraLite::Lib::Credentials; use JIRA::Client::Automated; use Data::Dumper; # Rush a ticket...
MyAllocator/jiralite
JiraLite/Command/Rush.pm
Perl
mit
1,198
/** This is an example that shows how to convert ACE sentences into OWL/SWRL. A simple Prolog commandline interface ('cli') is provided. @author Kaarel Kaljurand @version 2010-11-14 */ % We point to the directory where APE modules and the lexicons are located. :- assert(user:file_search_path(ape, '../prolog')). :- ...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/ape/examples/ace_to_owl.pl
Perl
mit
1,985
#!usr\bin\perl open(my $fh, "<", "pbf_tabs.txt") or die "can't open pbr_tabs.txt"; my $header = "<style> table { width : 100%; position : absolute; } tr:nth-child(odd) { background: #f8f8f8; } #sold { background: #787878; } #rightcolumn { position : fixed; top : 0; right : 0; ...
peltzel/peltzel.github.io
page_script.pl
Perl
mit
1,842
package Net::Braintree::Transaction; use Net::Braintree::Transaction::CreatedUsing; use Net::Braintree::Transaction::EscrowStatus; use Net::Braintree::Transaction::Source; use Net::Braintree::Transaction::Status; use Net::Braintree::Transaction::Type; use Moose; extends "Net::Braintree::ResultObject"; my $meta = __PAC...
gitpan/Net-Braintree
lib/Net/Braintree/Transaction.pm
Perl
mit
2,761
package SGN::Controller::solGS::Heritability; use Moose; use namespace::autoclean; use File::Slurp qw /write_file read_file/; use JSON; use Math::Round::Var; use Statistics::Descriptive; BEGIN { extends 'Catalyst::Controller' } sub check_regression_data :Path('/heritability/check/data/') Args(0) { my ($self, ...
solgenomics/sgn
lib/SGN/Controller/solGS/Heritability.pm
Perl
mit
4,989
package t::lib::HTTP::NGHTTP2::Trap; use strict; use warnings; use overload '""' => sub { my $self = shift; $self->(); return "poison"; }; sub new { my ($class, $code) = @_; return bless($code, $class); } 1;
gonzus/http-nghttp2
t/lib/HTTP/NGHTTP2/Trap.pm
Perl
mit
231
use strict; # # This is a SAS Component # use Data::Dumper; use Carp; use SeedEnv; my $usage = "usage: CSA_layout WorkingDir PegTbl1 RnaTbl1 Functions1"; my($dir,$peg_tbl1,$rna_tbl1,$functions1); ( ($dir = shift @ARGV) && (-s "$dir/output.second.pass") && ($peg_tbl1 = shift @ARGV) && (-s $peg_tbl1) ...
kbase/kb_seed
service-scripts/CSA_layout.pl
Perl
mit
2,369
package Proverb; use strict; use warnings; sub proverb { my ( $items, $qualifier ) = @_; return undef; } __PACKAGE__;
exercism/xperl5
exercises/practice/proverb/Proverb.pm
Perl
mit
128
use Win32::OLE::Const "^Microsoft CDO for Windows 2000 Library"; #use Win32::OLE::Const ".*CDO"; #volstaat om de bibliotheek te vinden print "\ncdoSendUsingPort : ",cdoSendUsingPort; #toont de waarde use Win32::OLE::Const "^Microsoft Excel"; #use Win32::OLE::Const ".*Excel"; #volstaat om de bibliotheek te vinden...
VDBBjorn/Besturingssystemen-III
Labo/reeks1/Reeks1_08.pl
Perl
mit
440
#!/usr/bin/env perl use strict; use File::Basename qw(basename); my @ORIG_ARGV=@ARGV; use Cwd qw(getcwd); my $SCRIPT_DIR; BEGIN { use Cwd qw/ abs_path /; use File::Basename; $SCRIPT_DIR = dirname(abs_path($0)); push @INC, $SCRIPT_DIR, "$SCRIPT_DIR/../../environment", "$SCRIPT_DIR/../utils"; } # Skip local config (used...
kho/mr-cdec
training/pro/pro.pl
Perl
apache-2.0
15,825
package Paws::DynamoDB::KeySchemaElement; use Moose; has AttributeName => (is => 'ro', isa => 'Str', required => 1); has KeyType => (is => 'ro', isa => 'Str', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::DynamoDB::KeySchemaElement =head1 USAGE This class represents one of two thi...
ioanrogers/aws-sdk-perl
auto-lib/Paws/DynamoDB/KeySchemaElement.pm
Perl
apache-2.0
2,661
# # Copyright 2015 Electric Cloud, 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 agree...
electric-cloud/EC-ESX
src/main/resources/project/manifest.pl
Perl
apache-2.0
17,076
=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/IDMapper.pm
Perl
apache-2.0
874
ctmc evolve const int QmaxL [1..10]; evolve const int QmaxH [1..10]; evolve distribution evTrans1 [2][0.0 .. 0.8]; evolve distribution evTrans2 [2][0.2 .. 0.6]; evolve distribution evTrans3 [2][0.2 .. 0.6]; evolve module PM p: [0..2]; [sleep2idle] p = 2 -> (p'=p); [idle2sleep] p = 2 -> (p'=p); [wait2sleep] ...
gerasimou/SBMS
RODES/models/DPM/dpm.pm
Perl
apache-2.0
2,908
package ReseqTrack::Hive::Process::ConvertRsemToReactome; use strict; use base ('ReseqTrack::Hive::Process::BaseProcess'); use ReseqTrack::DBSQL::DBAdaptor; use ReseqTrack::Tools::Exception qw(throw); use ReseqTrack::Tools::FileSystemUtils qw(check_file_exists delete_file); use ReseqTrack::Tools::GeneralUtils qw(ge...
EMBL-EBI-GCA/bp_project
lib/ReseqTrack/Hive/Process/ConvertRsemToReactome.pm
Perl
apache-2.0
4,933
istree(nil). istree(t(L,_,R)):-istree(L),istree(R). max(t(_,N,nil),N):-!. max(t(_,_,R),M):-max(R,M). min(t(nil,N,_),N):-!. min(t(L,_,_),M):-min(L,M). issorted(t(nil,_,nil)):-!. issorted(t(nil,N,R)):-issorted(R),!,min(R,X),X>N. issorted(t(L,N,nil)):-issorted(L),!,max(L,X),X=<N. issorted(t(L,N,R)):-issorted(L),issorte...
wouwouwou/2017_module_8
src/prolog/trees.pl
Perl
apache-2.0
1,219
# # 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
database/mysql/mode/databasessize.pm
Perl
apache-2.0
8,623
# 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/Enums/CampaignExperimentTypeEnum.pm
Perl
apache-2.0
854
# At least ices_get_next must be defined. And, like all perl modules, it # must return 1 at the end. # Function called to initialize your python environment. # Should return 1 if ok, and 0 if something went wrong. sub cint { if ($_[0] >= int($_[0]) + 0.5) { $r = int($_[0]) + 1; } else { $r = int($_[0]); } }...
HrundelB/radio-jam
perl/ices.pm
Perl
apache-2.0
5,276
## OpenXPKI::Crypto::Backend::OpenSSL::Command::pkcs7_get_chain ## Written 2005 by Michael Bell for the OpenXPKI project ## Rewritten 2006 by Julia Dubenskaya for the OpenXPKI project ## Refactoring by Oliver Welter 2013 for the OpenXPKI project ## (C) Copyright 2005-2013 by The OpenXPKI Project use strict; use warnin...
stefanomarty/openxpki
core/server/OpenXPKI/Crypto/Backend/OpenSSL/Command/pkcs7_get_chain.pm
Perl
apache-2.0
6,357
# 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/Resources/AccountLink.pm
Perl
apache-2.0
1,353
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2020] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/ensembl-funcgen
modules/Bio/EnsEMBL/Funcgen/RegulatoryFeature.pm
Perl
apache-2.0
23,192
package Paws::Pinpoint::GetSmsChannel; use Moose; has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'application-id', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetSmsChannel'); class_has _api_uri => (isa =>...
ioanrogers/aws-sdk-perl
auto-lib/Paws/Pinpoint/GetSmsChannel.pm
Perl
apache-2.0
1,797
#!/usr/local/ensembl/bin/perl use strict; use warnings; use Getopt::Long; use FindBin qw( $Bin ); use Bio::EnsEMBL::Registry; use Data::Dumper; my ($species, $snpassay_file, $snpind_file,$population_name); # # bsub -q bigmem -W4:00 -R"select[mem>3500] rusage[mem=3500]" -M3500000 # GetOptions('species=s' => \$spec...
adamsardar/perl-libs-custom
EnsemblAPI/ensembl-variation/scripts/import/dbSNP_submission.pl
Perl
apache-2.0
5,139
package VMOMI::VirtualMachineScsiPassthroughInfo; use parent 'VMOMI::VirtualMachineTargetInfo'; use strict; use warnings; our @class_ancestors = ( 'VirtualMachineTargetInfo', 'DynamicData', ); our @class_members = ( ['scsiClass', undef, 0, ], ['vendor', undef, 0, ], ['physicalUnitNumber', undef...
stumpr/p5-vmomi
lib/VMOMI/VirtualMachineScsiPassthroughInfo.pm
Perl
apache-2.0
548
## no critic (RequireUseStrict) package Tapper::Producer::DummyProducer; BEGIN { $Tapper::Producer::DummyProducer::AUTHORITY = 'cpan:TAPPER'; } { $Tapper::Producer::DummyProducer::VERSION = '4.1.3'; } use Moose; sub produce { my ($self, $job, $precondition) = @_; ...
gitpan/Tapper-Producer
lib/Tapper/Producer/DummyProducer.pm
Perl
bsd-2-clause
1,125
# # Copyright (c) 2014,2015 Apple Inc. All rights reserved. # # corecrypto Internal Use License Agreement # # IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple") # in consideration of your agreement to the following terms, and your download or use # of this Apple software con...
GaloisInc/hacrypto
src/C/corecrypto/ccdrbg/xcunit/drbg-14.3.pl
Perl
bsd-3-clause
7,293
#!/usr/bin/perl # THIS IS A MODIFIED VERSION OF NMAP2SQLITE SCRIPT ORIGINALLY DEVELOPED BY ANTHONY G PERSAUD # BUT MODIFIED TO WORK WITH MYSQL DATABASES BY ROBIN BOWES. # nmap2db.pl # Description: # It takes in a nmap xml file and stores it into a SQLite database using DBI for # searching, storing and better ...
gitpan/Nmap-Parser
tools/nmap2db.pl
Perl
mit
11,802
package Google::Ads::AdWords::v201409::CampaignService::query; use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' } __PACKAGE__->__set_name('query'); __PACKAGE__->__set_nillable(); __PACKAGE__->__set_minOccurs(); __PACKAGE__->__set_maxOccurs();...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201409/CampaignService/query.pm
Perl
apache-2.0
1,916
# 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/lib/Lucy/Search/Matcher.pm
Perl
apache-2.0
891
package Paws::Pinpoint::SendMessagesResponse; use Moose; has MessageResponse => (is => 'ro', isa => 'Paws::Pinpoint::MessageResponse', required => 1); use MooseX::ClassAttribute; class_has _stream_param => (is => 'ro', default => 'MessageResponse'); has _request_id => (is => 'ro', isa => 'Str'); 1; ### main...
ioanrogers/aws-sdk-perl
auto-lib/Paws/Pinpoint/SendMessagesResponse.pm
Perl
apache-2.0
532
package # Date::Manip::TZ::asbagh00; # Copyright (c) 2008-2014 Sullivan Beck. All rights reserved. # This program is free software; you can redistribute it and/or modify it # under the same terms as Perl itself. # This file was automatically generated. Any changes to this file will # be lost the next time 'tzdata' i...
nriley/Pester
Source/Manip/TZ/asbagh00.pm
Perl
bsd-2-clause
13,419
package Anysyncd::Action::CSync2; =head1 NAME Anysyncd::Action::CSync2 - csync2 based syncer for anysyncd =head1 SYNOPSIS [syncpair] handler = Anysyncd::Action::CSync2 prod_dir = /tmp/testdir csync_dir = /tmp/testdir2 watcher = /tmp/testdir remote_hosts = host1 host2 =head1 DESCRIPTION An...
credativ/pkg-anysyncd
lib/Anysyncd/Action/CSync2.pm
Perl
mit
9,709
=pod =head1 NAME OSSL_CMP_log_open, OSSL_CMP_log_close, OSSL_CMP_severity, OSSL_CMP_LOG_EMERG, OSSL_CMP_LOG_ALERT, OSSL_CMP_LOG_CRIT, OSSL_CMP_LOG_ERR, OSSL_CMP_LOG_WARNING, OSSL_CMP_LOG_NOTICE, OSSL_CMP_LOG_INFO, OSSL_CMP_LOG_DEBUG, OSSL_CMP_LOG_TRACE, OSSL_CMP_log_cb_t, OSSL_CMP_print_to_bio, OSSL_CMP_print_errors...
jens-maus/amissl
openssl/doc/man3/OSSL_CMP_log_open.pod
Perl
bsd-3-clause
4,788
#!/usr/bin/perl #~ Copyright 2003, Rene Rivera. #~ Use, modification and distribution are subject to the Boost Software #~ License Version 1.0. (See accompanying file LICENSE_1_0.txt or #~ http://www.boost.org/LICENSE_1_0.txt) use FileHandle; use Time::Local; # Get the whle percent value # sub percent_va...
flingone/frameworks_base_cmds_remoted
libs/boost/tools/regression/src/regression-logs.pl
Perl
apache-2.0
8,172
#!/usr/bin/perl # ******************************************************************** # * COPYRIGHT: # * Copyright (c) 2002-2008, International Business Machines Corporation and # * others. All Rights Reserved. # ******************************************************************** # Script to generate the icudat...
ckelsel/chromium-4.0.210.0_p26329
third_party/icu/source/tools/genrb/gendtjar.pl
Perl
apache-2.0
12,986
=pod =head1 NAME EVP_SIGNATURE-ED25519, EVP_SIGNATURE-ED448, Ed25519, Ed448 - EVP_PKEY Ed25519 and Ed448 support =head1 DESCRIPTION The B<Ed25519> and B<Ed448> EVP_PKEY implementation supports key generation, one-shot digest sign and digest verify using PureEdDSA and B<Ed25519> or B<Ed448> (see RFC8032). It has ass...
jens-maus/amissl
openssl/doc/man7/EVP_SIGNATURE-ED25519.pod
Perl
bsd-3-clause
3,352
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by mktables from the Unicode # database, Version 6.1.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or existence of this ...
liuyangning/WX_web
xampp/perl/lib/unicore/lib/Blk/LatinEx2.pl
Perl
mit
421
% ---------------------------------------------------------------------- % 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 ...
modeswitch/barrelfish
usr/skb/eclipse_kernel/lib/paddy.pl
Perl
mit
56,413
package Parse::Binary; $Parse::Binary::VERSION = '0.11'; use 5.005; use bytes; use strict; use integer; use Parse::Binary::FixedFormat; =head1 NAME Parse::Binary - Unpack binary data structures into object hierarchies =head1 VERSION This document describes version 0.11 of Parse::Binary, released January 25, 2009. ...
liuyangning/WX_web
xampp/perl/vendor/lib/Parse/Binary.pm
Perl
mit
23,243
# -*- Mode: Perl -*- # # BlankNode.pm - Redland Perl RDF Blank Node module # # $Id: BlankNode.pm 10593 2006-03-05 08:30:38Z dajobe $ # # Copyright (C) 2005 David Beckett - http://purl.org/net/dajobe/ # Copyright (C) 2005 University of Bristol - http://www.bristol.ac.uk/ # # This package is Free Software or Open Source...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/RDF/Redland/BlankNode.pm
Perl
mit
1,487
package O2::Template::Node::O2EndTag; use strict; use base 'O2::Template::Node'; 1;
haakonsk/O2-Framework
lib/O2/Template/Node/O2EndTag.pm
Perl
mit
87
use strict; use Data::Dumper; use Carp; # # This is a SAS Component # =head1 NAME all_entities_ProteinSequence =head1 SYNOPSIS all_entities_ProteinSequence [-a] [--fields fieldlist] > entity-data =head1 DESCRIPTION Return all instances of the ProteinSequence entity. We use the concept of ProteinSequence as an ...
kbase/kb_seed
scripts/all_entities_ProteinSequence.pl
Perl
mit
3,409
package fasta; use strict; use warnings; sub new { my $class = shift; my $self = bless {}, $class; print "INFILE ",$_[0],"\n"; $self->{inFile} = $_[0]; ($self->{cmap}, $self->{sta}) = &genChromos($_[0]); return $self; } sub readFasta { my $self = shift; my $inputFA = $sel...
sauloal/perlscripts
Bio/toCheck/loadfasta1.pm
Perl
mit
3,229
=pod =head1 NAME llvm-prof - print execution profile of LLVM program =head1 SYNOPSIS B<llvm-prof> [I<options>] [I<bitcode file>] [I<llvmprof.out>] =head1 DESCRIPTION The B<llvm-prof> tool reads in an F<llvmprof.out> file (which can optionally use a specific file with the third program argument), a bi...
abduld/clreflect
extern/llvm/docs/CommandGuide/llvm-prof.pod
Perl
mit
1,638
/********************************************************************** name: presupDRT.pl (Volume 2, Chapter 4) version: May 5, 1998 description: Presupposition Projection authors: Patrick Blackburn & Johan Bos **********************************************************************/ :- module...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/CURT/bb0/presupDRT.pl
Perl
mit
4,587
### # Utility # @version 1.0 # @see # programmed by D.Kim ## package Overwhelm::Util; use strict; use warnings; use Overwhelm::Exception; use Overwhelm::Const; use POSIX qw(strftime); BEGIN { use Exporter; use vars qw(@ISA); @ISA = qw(Exporter); } ### # Constructor ## sub new { new Overwhelm::Except...
edydkim/Simple-Framework
Overwhelm/Util.pm
Perl
mit
486
use utf8; package Schema::Result::Menu; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE =head1 NAME Schema::Result::Menu =cut use strict; use warnings; use base 'DBIx::Class::Core'; =head1 TABLE: C<menu> =cut __PACKAGE__->table("menu"); =head1 ACCESSORS =head2 id data_...
Nikolo/Margarita
lib/Schema/Result/Menu.pm
Perl
mit
2,148
# 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/northamerica. Olson data version 2016a # # Do not edit this file directly. # package DateTim...
jkb78/extrajnm
local/lib/perl5/DateTime/TimeZone/America/Port_au_Prince.pm
Perl
mit
19,197
package BlueBox::Data::Box::Manager; use strict; use base qw(Rose::DB::Object::Manager); use BlueBox::Data::Box; sub object_class { 'BlueBox::Data::Box' } __PACKAGE__->make_manager_methods('boxes'); 1;
console0/rose-db-presentation
BlueBox/lib/BlueBox/Data/Box/Manager.pm
Perl
mit
209
#!/usr/bin/perl # # Common test library for camsigd package CamsigdTest; use strict; use Test::More; use FindBin; use LWP::UserAgent; use HTTP::Request; use Fcntl; our $BINARY = "$FindBin::Bin/../camsigd"; sub start { my ($port_rd, $port_wr, $exit_rd, $exit_wr); my $flags; pipe $port_rd, $port_wr; p...
marsch/camlistore
server/go/sigserver/test/CamsigdTest.pm
Perl
apache-2.0
1,734
package Google::Ads::AdWords::v201809::LocationCriterionService::RequestHeader; use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' } __PACKAGE__->__set_name('RequestHeader'); __PACKAGE__->__set_nillable(); __PACKAGE__->__set_minOccurs(); __PACK...
googleads/googleads-perl-lib
lib/Google/Ads/AdWords/v201809/LocationCriterionService/RequestHeader.pm
Perl
apache-2.0
1,047
=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
misc-scripts/xref_mapping/XrefParser/OrphanetParser.pm
Perl
apache-2.0
4,213
# # 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
database/mongodb/mode/connections.pm
Perl
apache-2.0
4,740
# ################################################################ # findRelativePath ################################################################ sub findRelativePath { my ($dirName, $rootName) = @_; my $relDirName = substr($dirName, length($rootName) + 1); #print("AAA - relDirName = '$relD...
georgebswan/PerlLibrary
library.pl
Perl
apache-2.0
15,204
package Paws::DeviceFarm::GetRemoteAccessSession; use Moose; has Arn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'arn' , required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetRemoteAccessSession'); class_has _returns => (...
ioanrogers/aws-sdk-perl
auto-lib/Paws/DeviceFarm/GetRemoteAccessSession.pm
Perl
apache-2.0
1,800
# # 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/vcs/restapi/mode/zones.pm
Perl
apache-2.0
8,282
use strict; use File::Spec; use File::Path; use LWP::Simple; use Archive::Extract; my $libDir = File::Spec->catdir($0, "..", "..", "lib"); my $cacheDir = File::Spec->catdir($ENV{TEMP}, 'get-req-cache'); mkpath $libDir; downloadAndExtract("http://sidi-util.googlecode.com/files/Sidi.Util-0.0.zip"); sub dow...
sidiandi/sammy
get-prerequisites.pl
Perl
apache-2.0
857
# # 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/nortel/standard/snmp/mode/components/card.pm
Perl
apache-2.0
2,771
package Paws::IoT::GetTopicRule; use Moose; has RuleName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'ruleName', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetTopicRule'); class_has _api_uri => (isa => 'Str', is => 'ro'...
ioanrogers/aws-sdk-perl
auto-lib/Paws/IoT/GetTopicRule.pm
Perl
apache-2.0
1,738
false :- main_verifier_error. verifier_error(A,B,C) :- A=0, B=0, C=0. verifier_error(A,B,C) :- A=0, B=1, C=1. verifier_error(A,B,C) :- A=1, B=0, C=1. verifier_error(A,B,C) :- A=1, B=1, C=1. hanoi(A,B,C,D,E) :- A=1, B=1, C=1. hanoi(A,B,C,D,E) :- A=0, B=1, C=1. han...
bishoksan/RAHFT
benchmarks_scp/SVCOMP15/svcomp15-clp/recHanoi02_true-unreach-call_true-termination.c.pl
Perl
apache-2.0
856
use SDL::App; # open a 640x480 window for your application our $app = SDL::App->new(-width => 640, -height => 480); # create a surface out of an image file specified on the command-line our $img = SDL::Surface->new( -name => $ARGV[0] ); # blit the surface onto the window of your application $img->blit( undef, $app, ...
jmcveigh/komodo-tools
scripts/perl/interactive_graphical_apps/sdl_show_image.pl
Perl
bsd-2-clause
442
/* -------------------------------------------------------------------------- Importing other modules -------------------------------------------------------------------------- */ :- use_module(binarise,[binarise/3]). :- use_module(ccg,[ccg/2]). :- use_module(pp,[pp/2]). :- use_module(printTree,[printBin/2]). :- us...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/candc/src/data/italian/prolog/tut2ccg.pl
Perl
mit
10,283
# 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 ...
apache/lucy
perl/lib/Lucy/Plan/Architecture.pm
Perl
apache-2.0
894
# install_check.pl do 'mysql-lib.pl'; # is_installed(mode) # For mode 1, returns 2 if the server is installed and configured for use by # Webmin, 1 if installed but not configured, or 0 otherwise. # For mode 0, returns 1 if installed, 0 if not sub is_installed { return 0 if (!-x $config{'mysqladmin'} || !-x $config{'...
HasClass0/webmin
mysql/install_check.pl
Perl
bsd-3-clause
470
# slapd-monitor.pl # Monitor the openldap server on this host # Check the PID file to see if slapd is running sub get_slapd_status { return { 'up' => -1 } if (!&foreign_check("ldap-server")); &foreign_require("ldap-server", "ldap-server-lib.pl"); if (&foreign_call("ldap-server", "is_ldap_server_running")) { local $p...
HasClass0/webmin
status/slapd-monitor.pl
Perl
bsd-3-clause
606
package Crypt::OpenPGP::UserID; use strict; use Crypt::OpenPGP::ErrorHandler; use base qw( Crypt::OpenPGP::ErrorHandler ); sub new { my $id = bless { }, shift; $id->init(@_); } sub init { my $id = shift; my %param = @_; if (my $ident = $param{Identity}) { $id->{id} = $ident; } $id...
Dokaponteam/ITF_Project
xampp/perl/vendor/lib/Crypt/OpenPGP/UserID.pm
Perl
mit
2,079
#!/usr/bin/perl -w use strict; use warnings; use Getopt::Std; &blast2sam; sub blast2sam { my %opts = (); getopts('s', \%opts); die("Usage: blast2sam.pl <in.blastn>\n") if (-t STDIN && @ARGV == 0); my ($qlen, $slen, $q, $s, $qbeg, $qend, @sam, @cigar, @cmaux, $show_seq); $show_seq = defined($opts{s}); @sa...
ding-lab/msisensor
vendor/samtools-0.1.19/misc/blast2sam.pl
Perl
mit
2,415
my %c; while (<>) { chomp; my $s = $_; if (/^(\S+\s[wb]):\s*(.*)$/) { my $fen = $1; my @moves = split(/,/, $2); if ($c{$fen}) { foreach my $it (@moves) { $it =~ s/(\w\d)(\w\d)/$1-$2/; my $f = 1; foreach my $x (@{$c{$fen}}) { ...
GlukKazan/Dagaz
utils/sgf/join.pl
Perl
mit
756
#!/usr/bin/perl # Copyright (c) 1991-2011 Kawahara Lab., Kyoto University # Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology # Copyright (c) 2005-2011 Julius project team, Nagoya Institute of Technology # All rights reserved # # Generated automatically from yomi2voca.pl.in by configure. #...
julius-speech/grammar-kit
bin/win32/yomi2voca.pl
Perl
mit
6,813
#!/usr/bin/env perl # # ==================================================================== # Written by Andy Polyakov <appro@openssl.org> for the OpenSSL # project. The module is, however, dual licensed under OpenSSL and # CRYPTOGAMS licenses depending on where you obtain it. For further # details see http://www.open...
sim9108/SDKS
LibOpenSSL/src/bn/asm/c64xplus-gf2m.pl
Perl
mit
3,758
package Pakket::Controller::Scaffold; # ABSTRACT: Scaffold package source and spec use v5.22; use Moose; use MooseX::Clone; use MooseX::StrictConstructor; use namespace::autoclean; # core use File::Spec; use List::Util qw(any); use experimental qw(declared_refs refaliasing signatures); # non core use JSON::MaybeXS ...
xsawyerx/pakket
lib/Pakket/Controller/Scaffold.pm
Perl
mit
7,566
############################################################################### # # This file copyright (c) 2001-2008 Randy J. Ray, all rights reserved # # See "LICENSE" in the documentation for licensing and redistribution terms. # ############################################################################### # # $...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/RPC/XML/Procedure.pm
Perl
mit
34,970
package App::Sqitch::Target; use 5.010; use Moo; use strict; use warnings; use App::Sqitch::Types qw(Maybe URIDB Str Dir Engine Sqitch File Plan Bool); use App::Sqitch::X qw(hurl); use Locale::TextDomain qw(App-Sqitch); use Path::Class qw(dir file); use URI::db; use namespace::autoclean; has name => ( is =>...
gitpan/App-Sqitch
lib/App/Sqitch/Target.pm
Perl
mit
17,473
:- expects_dialect(lps). maxTime(5). fluents emergencia. actions presione_el_botón. events alerte_al_conductor. observe emergencia from 1 to 2. if emergencia at T1 then alerte_al_conductor from T1 to T2. alerte_al_conductor from T1 to T2 if presione_el_botón from T1 to T2. /** <examples> ?- go(Timeline...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_ec/test/lps_user_examples/emergencia.pl
Perl
mit
327
=pod =head1 NAME PKCS5_PBKDF2_HMAC, PKCS5_PBKDF2_HMAC_SHA1 - password based derivation routines with salt and iteration count =head1 SYNOPSIS #include <openssl/evp.h> int PKCS5_PBKDF2_HMAC(const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, ...
vbloodv/blood
extern/openssl.orig/doc/crypto/PKCS5_PBKDF2_HMAC.pod
Perl
mit
2,167
=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
misc-scripts/xref_mapping/XrefParser/VBExternalDescriptionParser.pm
Perl
apache-2.0
2,582
# # 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
hardware/server/hp/ilo/xmlapi/custom/api.pm
Perl
apache-2.0
11,958
package XrefParser::IlluminaWGParser; use strict; use base qw( XrefParser::BaseParser ); sub run { my $self = shift if (defined(caller(1))); my $source_id = shift; my $species_id = shift; my $files = shift; my $release_file = shift; my $verbose = shift; my $file = @{$files}[0]; my...
adamsardar/perl-libs-custom
EnsemblAPI/ensembl/misc-scripts/xref_mapping/XrefParser/IlluminaWGParser.pm
Perl
apache-2.0
2,141
package Paws::KMS::Tag; use Moose; has TagKey => (is => 'ro', isa => 'Str', required => 1); has TagValue => (is => 'ro', isa => 'Str', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::KMS::Tag =head1 USAGE This class represents one of two things: =head3 Arguments in a call to a serv...
ioanrogers/aws-sdk-perl
auto-lib/Paws/KMS/Tag.pm
Perl
apache-2.0
1,448
# 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/Services/AdService/MutateAdResult.pm
Perl
apache-2.0
1,077
multi_test "Getting push rules doesn't corrupt the cache SYN-390", requires => [ local_user_fixture() ], do => sub { my ( $user ) = @_; do_request_json_for( $user, method => "PUT", uri => "/v3/pushrules/global/sender/%40a_user%3Amatrix.org", content => { "actions" => ...
matrix-org/sytest
tests/90jira/SYN-390.pl
Perl
apache-2.0
816
=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/CheckVariationFtp.pm
Perl
apache-2.0
2,654
=head1 NAME LedgerSMB::Template::CSV - Template support module for LedgerSMB =head1 METHODS =over =item get_template ($name) Returns the appropriate template filename for this format. =item preprocess ($vars) Returns $vars. =item process ($parent, $cleanvars) Processes the template for text. =item escape ($v...
tridentcodesolution/tridentcodesolution.github.io
projects/CRM/LedgerSMB-master/LedgerSMB/Template/CSV.pm
Perl
apache-2.0
4,026
# 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/Services/CampaignFeedService/GetCampaignFeedRequest.pm
Perl
apache-2.0
1,057
:- module(persdbtr, [persistent_tr/2,persistent_term_tr/3], []). persistent_tr((:- persistent(F/A,D)), [(:- data(F/A)), '$is_persistent'(F/A,'$persistent_module':D)]). persistent_tr(persistent_dir(D,Dir), [persistent_dir('$persistent_module':D,Dir,default,default)]). persistent_tr((persistent_dir(D,Dir) :- Body),...
leuschel/ecce
www/CiaoDE/ciao/library/persdb/persdbtr.pl
Perl
apache-2.0
869
#!/bin/env perl use strict; my $inp = 'AAA * BBB CCC * * "2000 01 00 00 00" "2004 01 00 00 00"' ; my @r; while ($inp =~ /( [^"\s]+ | "[^"]+?" ) /gx) { my $a = $1; $a =~ s/(?:^"|"$)//g; push @r, $a; } print join "\n"...
vinnix/PerlLab
Extras/regex.pl
Perl
bsd-2-clause
675
#!/usr/bin/perl -w # MGEL # Surya Saha 12/24/08 # reading cmd line input merged f_itemsets file which is sorted on confidence # writing out number of rules with confidence above certain thresholds #fam1, Category, fam2, Occ, Occ conf, Avg Rand Coin, Avg Rand Coin conf, Diff, Diff conf, Avg dist, Std Dev, fam1, fam1-...
suryasaha/ProxMiner
scripts/miner.fdr.real.merged.stage1.v1.pl
Perl
bsd-2-clause
3,725
package Proxy::AccessControl; use strict; use warnings; use Attribute::Handlers; my %perms; sub UNIVERSAL::perms { my ($package, $symbol, $referent, $attr, $data) = @_; my $method = *{ $symbol }{NAME}; for my $permission (split(/\s+/, $data)) { push @{ $...
jmcveigh/komodo-tools
scripts/perl/control_access_to_remote_objects/lib/Proxy/AccessControl.pm
Perl
bsd-2-clause
690