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 |
|---|---|---|---|---|---|
# Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (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/source/license.html
u... | openssl/openssl | util/perl/TLSProxy/Alert.pm | Perl | apache-2.0 | 952 |
# A quite dimwitted pod2plaintext that need only know how to format whatever
# text comes out of Pod::BlackBox's _gen_errata
require 5;
package Pod::Simple::Checker;
use strict;
use Carp ();
use Pod::Simple::Methody ();
use Pod::Simple ();
use vars qw( @ISA $VERSION );
$VERSION = '3.26';
@ISA = ('Pod::Simple::Methody... | Dokaponteam/ITF_Project | xampp/perl/lib/Pod/Simple/Checker.pm | Perl | mit | 5,366 |
# Theodore Rambert, Gabe Kahen, Tim Lam
# Fmem-PFE
# Fmem Perl Front End
# Version 1.2
# Released Under the MIT License
# Uses Fmem (GPL), Perl (GPL), DD (GPLv3+) & Tk (BSD-style)
#!/usr/local/bin/perl
use strict;
use warnings;
use Tk;
use Tk::DirTree;
use Tk::Dialog;
my $text;
my($memsize, $curr_d... | theodorerambert/fmem-pfe | Fmem-PFE_v1.2.pl | Perl | mit | 5,830 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
get_relationship_IsComprisedOf
=head1 SYNOPSIS
get_relationship_IsComprisedOf [-c N] [-a] [--fields field-list] < ids > table.with.fields.added
=head1 DESCRIPTION
This relationship connects a biomass composition reaction to the
com... | kbase/kb_seed | scripts/get_relationship_IsComprisedOf.pl | Perl | mit | 6,179 |
/*************************************************************************
File: presupDRT.pl
Copyright (C) 2004 Patrick Blackburn & Johan Bos
This file is part of BB2, version 1.0 (June 2004).
BB2 is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publi... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb2/presupDRT.pl | Perl | mit | 7,693 |
package Bio::Graphics::Browser2::Plugin::Submitter;
# $Id: Submitter.pm,v 1.2 2008-10-19 02:37:59 lstein Exp $
# Submitter is an invisible plugin (Does not appear in the "Reports and Analysis" menu)
# designed to support rubber-band select menu items that submit sequence data and
# other parameters to external web s... | solgenomics/sgn | features/gbrowse2/conf/plugins/Submitter.pm | Perl | mit | 5,363 |
#!/usr/bin/perl -w
#This script tests ZOOPS
use strict;
use Benchmark qw(:all);
(my $outfile = $0) =~ s/\.pl/\.out/;
(my $errfile = $outfile) =~ s/\.out/\.err/;
my $exec = '../gibbsmarkov.out';
my $param = ' -l 13 -t 100 -L 5 -em 0 -s 123 -gibbsamp -p 0.05 -best_ent -markov 3 -ds -r 1 -print_runs -zoops 0.2';
my $s... | pnpnpn/gimsan-py | gibbsmarkov/test/test15.pl | Perl | mit | 622 |
package O2::Obj::Object::Query::ConditionGroup;
use strict;
use base 'O2::Obj::Object';
use O2 qw($context);
use O2::Util::List qw(upush);
#-----------------------------------------------------------------------------
sub getQuery {
my ($obj) = @_;
return $obj->{query} if $obj->{query};
die "Can't find quer... | haakonsk/O2-Framework | lib/O2/Obj/Object/Query/ConditionGroup.pm | Perl | mit | 4,044 |
/* <module>
%
% PFC is a language extension for prolog.
%
% It adds a new type of module inheritance
%
% Dec 13, 2035
% Douglas Miles
*/
% was_module(mt_01,[]).
:- include(test_header).
:- begin_pfc.
:- set_defaultAssertMt(myMt).
baseKB:mtHybrid(socialMt).
socialMt:loves(sally,joe).
:- set_defaultAssertMt(my... | TeamSPoon/logicmoo_workspace | packs_sys/pfc/t/sanity_base/mt_01.pl | Perl | mit | 472 |
/*************************************************************************
name: lexicon_svenska_player.pl
date: 2004-10-25
author: Andreas Wallentin
*************************************************************************/
:- module( lexicon_player_svenska, [output_form/2,
input_form/... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis-apps/domain-player/player-old/Resources/lexicon_player_svenska.pl | Perl | mit | 19,929 |
=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... | andrewyatz/public-plugins | users/modules/EnsEMBL/Users/Component/Account/Details/Edit.pm | Perl | apache-2.0 | 2,814 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | at7/ensembl-gene2phenotype | modules/Bio/EnsEMBL/G2P/DBSQL/LGMPanelDiseaseAdaptor.pm | Perl | apache-2.0 | 3,213 |
package JSON::RPC2::Client;
use 5.010001;
use warnings;
use strict;
use utf8;
use Carp;
our $VERSION = 'v2.1.1';
use JSON::MaybeXS;
use Scalar::Util qw( weaken refaddr );
sub new {
my ($class) = @_;
my $self = {
next_id => 0,
free_id => [],
call => {},
id ... | lclc/perl-stratum | perl-JSON-RPC2/lib/JSON/RPC2/Client.pm | Perl | apache-2.0 | 12,811 |
package Google::Ads::AdWords::v201402::CampaignCriterionService::query;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('query');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_max... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/CampaignCriterionService/query.pm | Perl | apache-2.0 | 1,956 |
package Plack::Request;
use strict;
use warnings;
use 5.008_001;
our $VERSION = '1.0030';
use HTTP::Headers;
use Carp ();
use Hash::MultiValue;
use HTTP::Body;
use Plack::Request::Upload;
use Stream::Buffered;
use URI;
use URI::Escape ();
sub new {
my($class, $env) = @_;
Carp::croak(q{$env is required})
... | MorganCabral/cabralcc.com | app/cgi-bin/lib/Plack/Request.pm | Perl | apache-2.0 | 19,574 |
use strict;
package CPAN::Reporter::Config;
our $VERSION = '1.2011'; # VERSION
use Config::Tiny 2.08 ();
use File::Glob ();
use File::HomeDir 0.58 ();
use File::Path qw/mkpath/;
use File::Spec 3.19 ();
use IPC::Cmd 0.76 ();
use IO::File ();
use CPAN 1.9301 (); # for printing warnings
#--------------------------------... | gitpan/CPAN-Reporter | lib/CPAN/Reporter/Config.pm | Perl | apache-2.0 | 31,486 |
#
# 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 | storage/quantum/scalar/snmp/mode/components/resources.pm | Perl | apache-2.0 | 1,303 |
=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-compara/modules/Bio/EnsEMBL/Compara/RunnableDB/DumpMultiAlign/CreateSuperJobs.pm | Perl | apache-2.0 | 4,227 |
package Google::Ads::AdWords::v201402::AdwordsUserListService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201402' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACK... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/AdwordsUserListService/ResponseHeader.pm | Perl | apache-2.0 | 1,062 |
=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 obt... | willmclaren/ensembl-rest | lib/EnsEMBL/REST/Controller/ReturnError.pm | Perl | apache-2.0 | 2,929 |
#!/usr/bin/perl
# Copyright (c) 2010 Regents of the University of Minnesota
# This file is free software under the 3-clause BSD license.
# Last modified: 2010-02-24 22:29 CST
# See below for docs, or run with --help.
# NOTES:
#
# - Files and directories which are not owned by the running user but which
# have in... | lbouma/Cyclopath | scripts/util/fixperms.pl | Perl | apache-2.0 | 4,628 |
package Paws::WorkDocs::GetFolderPath;
use Moose;
has AuthenticationToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Authentication');
has Fields => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'fields');
has FolderId => (is => 'ro', isa => 'Str', traits ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/WorkDocs/GetFolderPath.pm | Perl | apache-2.0 | 2,644 |
package VMOMI::RecurrentTaskScheduler;
use parent 'VMOMI::TaskScheduler';
use strict;
use warnings;
our @class_ancestors = (
'TaskScheduler',
'DynamicData',
);
our @class_members = (
['interval', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $... | stumpr/p5-vmomi | lib/VMOMI/RecurrentTaskScheduler.pm | Perl | apache-2.0 | 446 |
package Paws::EC2::VpcCidrBlockAssociation;
use Moose;
has AssociationId => (is => 'ro', isa => 'Str', request_name => 'associationId', traits => ['NameInRequest']);
has CidrBlock => (is => 'ro', isa => 'Str', request_name => 'cidrBlock', traits => ['NameInRequest']);
has CidrBlockState => (is => 'ro', isa => '... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/VpcCidrBlockAssociation.pm | Perl | apache-2.0 | 1,781 |
## Create or update JMS Queue
use warnings;
use strict;
use JSON;
use ElectricCommander;
use ElectricCommander::PropMod qw(/myProject/modules);
use WebSphere::WebSphere;
use WebSphere::Util;
$| = 1;
# -------------------------------------------------------------------------
# Variables
# ---------------------------... | electric-cloud/EC-WebSphere | src/main/resources/project/server/JMS/createOrUpdateWMQJMSActivationSpec.pl | Perl | apache-2.0 | 4,130 |
=pod
=head1 NAME
Bio::EnsEMBL::EGPipeline::PostCompara::RunnableDB::GeneCoverageFactory
=cut
=head1 DESCRIPTION
=head1 AUTHOR
ckong
=cut
package Bio::EnsEMBL::EGPipeline::PostCompara::RunnableDB::GeneCoverageFactory;
use warnings;
use Data::Dumper;
use Bio::EnsEMBL::Registry;
use Bio::EnsEMBL::Utils::SqlHelpe... | navygit/ncRNA_Pipeline | modules/Bio/EnsEMBL/EGPipeline/PostCompara/RunnableDB/GeneCoverageFactory.pm | Perl | apache-2.0 | 2,297 |
package VMOMI::OvfNoSpaceOnController;
use parent 'VMOMI::OvfUnsupportedElement';
use strict;
use warnings;
our @class_ancestors = (
'OvfUnsupportedElement',
'OvfUnsupportedPackage',
'OvfFault',
'VimFault',
'MethodFault',
);
our @class_members = (
['parent', undef, 0, ],
);
sub get_class_a... | stumpr/p5-vmomi | lib/VMOMI/OvfNoSpaceOnController.pm | Perl | apache-2.0 | 521 |
package VMOMI::SessionTerminatedEvent;
use parent 'VMOMI::SessionEvent';
use strict;
use warnings;
our @class_ancestors = (
'SessionEvent',
'Event',
'DynamicData',
);
our @class_members = (
['sessionId', undef, 0, ],
['terminatedUsername', undef, 0, ],
);
sub get_class_ancestors {
return @... | stumpr/p5-vmomi | lib/VMOMI/SessionTerminatedEvent.pm | Perl | apache-2.0 | 498 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Temp qw(tempfile);
use Image::Checkerboard;
# Temporary file.
my (undef, $temp) = tempfile();
# Object.
my $obj = Image::Checkerboard->new;
# Create image.
my $type = $obj->create($temp);
# Print out type.
print $type."\n";
# Unlink file.
unlink $temp;
# O... | tupinek/Image-Checkerboard | examples/ex1.pl | Perl | bsd-2-clause | 332 |
package Geo::GoogleEarth::Pluggable::NetworkLink;
use base qw{Geo::GoogleEarth::Pluggable::Base};
use XML::LibXML::LazyBuilder qw{E};
use warnings;
use strict;
our $VERSION='0.14';
=head1 NAME
Geo::GoogleEarth::Pluggable::NetworkLink - Geo::GoogleEarth::Pluggable::NetworkLink
=head1 SYNOPSIS
use Geo::GoogleEarth... | gitpan/Geo-GoogleEarth-Pluggable | lib/Geo/GoogleEarth/Pluggable/NetworkLink.pm | Perl | bsd-3-clause | 2,368 |
Title: Hello
Tags: foo, bar, baz
Hello world!
[cut] Foobar
=head1 Hello!
| gitpan/Mojo-Twist | t/article/20110922T121212-hello-there.pod | Perl | mit | 76 |
class RNA_Transcription {
method to_rna ($dna) {
$dna.trans( 'A' => 'U',
'G' => 'C',
'C' => 'G',
'T' => 'A');
}
}
| yanick/xperl6 | rna-transcription/Example.pm | Perl | mit | 190 |
#
# 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 | apps/lync/2013/mssql/mode/poorcalls.pm | Perl | apache-2.0 | 4,219 |
package VASP::OUTCAR::IO;
use Moose::Role;
use MooseX::Types::Moose 'Str';
use namespace::autoclean;
with 'IO::Reader';
has 'slurped', (
is => 'ro',
isa => Str,
init_arg => undef,
lazy => 1,
default => sub { shift->slurp }
);
1
| vitduck/CPLAS | VASP/OUTCAR/IO.pm | Perl | bsd-3-clause | 289 |
# !!!!!!! 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/5.pl | Perl | mit | 1,723 |
#-----------------------------------------------------------
# xpedition.pl
# Determine the edition of XP (MediaCenter, TabletPC)
#
# History
# 20120722 - updated the %config hash
# 20090727 - created
#
# References
# http://windowsitpro.com/article/articleid/94531/
# how-can-a-script-determine-if-wi... | raman-bt/autopsy | RecentActivity/release/rr-full/plugins/xpedition.pl | Perl | apache-2.0 | 1,870 |
package JSON::PP;
# JSON-2.0
use 5.005;
use strict;
use base qw(Exporter);
use overload;
use Carp ();
use B ();
#use Devel::Peek;
$JSON::PP::VERSION = '2.27000';
@JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
# instead of hash-access, i tried index-access for speed.
# but this method is not fa... | MG-RAST/MG-RAST | src/WebApplication/JSON/PP.pm | Perl | bsd-2-clause | 57,819 |
# 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/rnClxBLdxJ/northamerica. Olson data version 2013a
#
# Do not edit this file directly.
#
package DateTim... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/TimeZone/America/Toronto.pm | Perl | mit | 54,257 |
+{
locale_version => 0.93,
entry => <<'ENTRY', # for DUCET v6.2.0
00E7 ; [.161E.0020.0002.00E7] # LATIN SMALL LETTER C WITH CEDILLA
0063 0327 ; [.161E.0020.0002.00E7] # LATIN SMALL LETTER C WITH CEDILLA
00C7 ; [.161E.0020.0008.00C7] # LATIN CAPITAL LETTER C WITH CEDILLA
0043 0327 ; [.161E.0020.0008.00C7... | Dokaponteam/ITF_Project | xampp/perl/lib/Unicode/Collate/Locale/tr.pl | Perl | mit | 3,531 |
# Copyright 2004 by Audrey Tang <cpan@audreyt.org>
package Win32::Exe::DataDirectory;
use strict;
use base 'Win32::Exe::Base';
use constant FORMAT => (
VirtualAddress => 'V',
Size => 'V',
);
1;
| Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Win32/Exe/DataDirectory.pm | Perl | mit | 210 |
package Module::Build::PPMMaker;
use strict;
use vars qw($VERSION);
$VERSION = '0.2808_01';
$VERSION = eval $VERSION;
# This code is mostly borrowed from ExtUtils::MM_Unix 6.10_03, with a
# few tweaks based on the PPD spec at
# http://www.xav.com/perl/site/lib/XML/PPD.html
# The PPD spec is based on <http://www.w3.o... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/Module/Build/PPMMaker.pm | Perl | bsd-3-clause | 4,970 |
#! /usr/bin/env perl
use warnings;
use 5.005;
use strict;
my %option;
my %directive;
my $scanner = `grep -i '"%[a-z]' $ARGV[0]`;
$scanner =~ s/"\[-_\]"/-/g;
while (<STDIN>)
{
if (/^\s* # Initial spaces.
(?:(-\w),\s+)? # $1: $short: Possible short option.
(--[-\w]+) # $2: $lon... | nanolith/luhnybin | src/contrib/bison/build-aux/cross-options.pl | Perl | apache-2.0 | 2,243 |
package #
Date::Manip::TZ::pakiri00;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata' i... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZ/pakiri00.pm | Perl | mit | 1,789 |
package O2::Model::Target::Test;
use strict;
use base 'O2::Model::Target';
use O2 qw($context);
#-----------------------------------------------------------------------------
sub generate {
my ($obj, $model) = @_;
$obj->say("Generate test-script");
my $testScript = $obj->generateTestScript($model);
$obj->s... | haakonsk/O2-Framework | lib/O2/Model/Target/Test.pm | Perl | mit | 8,196 |
package Acme::Nogizaka46::NojoAmi;
use strict;
use warnings;
use base qw(Acme::Nogizaka46::Base);
our $VERSION = 0.3;
sub info {
return (
first_name_ja => '愛未',
family_name_ja => '能條',
first_name_en => 'Ami',
family_name_en => 'Nojo',
nick => [qw(あみあみ ジョンソン じょ... | 2GMon/perl-acme-nogizaka46 | lib/Acme/Nogizaka46/NojoAmi.pm | Perl | mit | 610 |
package Seqplorer::Model::View;
use strict;
use warnings;
use Carp qw/croak/;
#use base qw/Mojo::Base/;
use Mojo::Base -base;
#use Mojo::Base;
use Mojo::Util qw(encode md5_sum);
use List::Util qw(first);
use Mango::BSON ':bson';
use Scalar::Util qw(looks_like_number);
has [qw/ app mongoDB /];
sub get {
my $self ... | brdwilde/Seqplorer | api/lib/Seqplorer/Model/View.pm | Perl | mit | 7,522 |
/** <module> BSON manipulation.
*
* BSON document manipulation and conversion to-and-from bytes.
*
* @see <http://bsonspec.org/>
*/
:- module(_, [
doc_bytes/2,
docs_bytes/2,
version/1,
spec_version/1
% And see reexports below.
]).
:- reexport([
bson_doc
]).
:- include(bson(include/comm... | khueue/prolog-bson | src/bson.pl | Perl | mit | 2,122 |
#!/usr/bin/perl
use File::Basename;
use Bio::SeqIO;
use Bio::PrimarySeq;
# create a directory
unless (-d "archaea") {
mkdir "archaea";
}
chdir "archaea";
# get the assembly file
if (-e "assembly_summary.txt") {
unlink("assembly_summary.txt");
}
system("wget -q ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/archaea/asse... | mw55309/Kraken_db_install_scripts | download_archaea.pl | Perl | mit | 2,052 |
#!/usr/bin/perl
# Author: Todd Larason <jtl@molehill.org>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $
# use the resources for colors 0-15 - usually more-or-less a
# reproduction of the standard ANSI colors, but possibly more
# pleasing shades
# colors 16-231 are a 6x6x6 ... | mikker/dotfiles | bin/256colors.pl | Perl | mit | 1,688 |
=pod
=head1 NAME
i2d_PKCS7_bio_stream - output PKCS7 structure in BER format.
=head1 SYNOPSIS
#include <openssl/pkcs7.h>
int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *data, int flags);
=head1 DESCRIPTION
i2d_PKCS7_bio_stream() outputs a PKCS7 structure in BER format.
It is otherwise identical to the func... | vbloodv/blood | extern/openssl.orig/doc/crypto/i2d_PKCS7_bio_stream.pod | Perl | mit | 870 |
package Options_States;
use strict;
use warnings;
use Options_Base;
our @ISA = qw(Options_Base);
sub getOptions {
my %Options = ();
my $count = 0;
my %States = (
800 => 'NT',
2000 => 'NSW',
2600 => 'ACT',
3000 => 'VIC',
4000 => 'QLD',
5000 => 'SA',
... | facascante/slimerp | fifs/web/gendropdown/Options_States.pm | Perl | mit | 736 |
#!/usr/bin/perl -w
use strict;
my $genomeHisat2 = '/opt/index/hisat2_genome/hs/genome';
my $splices = '/opt/index/hisat2_genome/hs/splicesites.txt';
my $outdir = 'Hs4St';
my $cpu = 4;
opendir(DIR,'.') or die "$!\n";
while(my $subdir = readdir(DIR)) {
next unless -d $subdir;
next if $subdir eq '.';
next i... | cckim47/kimlab | rnaseq/alignAndModel/align_Hs4St.pl | Perl | mit | 667 |
#!/usr/bin/perl
package Saklient::Cloud::Resources::CommonServiceProvider;
use strict;
use warnings;
use Carp;
use Error qw(:try);
use Data::Dumper;
use Saklient::Errors::SaklientException;
use Saklient::Cloud::Client;
use Saklient::Cloud::Resources::Resource;
use base qw(Saklient::Cloud::Resources::Resource);
#** ... | sakura-internet/saklient.perl | lib/Saklient/Cloud/Resources/CommonServiceProvider.pm | Perl | mit | 5,722 |
#
package IO;
use XSLoader ();
use Carp;
use strict;
use warnings;
our $VERSION = "1.40";
XSLoader::load 'IO', $VERSION;
sub import {
shift;
warnings::warnif('deprecated', qq{Parameterless "use IO" deprecated})
if @_ == 0 ;
my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir);
local... | operepo/ope | client_tools/svc/rc/usr/lib/perl5/core_perl/IO.pm | Perl | mit | 1,449 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V8/Common/TargetImpressionShareSimulationPointList.pm | Perl | apache-2.0 | 1,040 |
package Paws::EC2::InstanceIpv6Address;
use Moose;
has Ipv6Address => (is => 'ro', isa => 'Str', request_name => 'ipv6Address', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=head1 NAME
Paws::EC2::InstanceIpv6Address
=head1 USAGE
This class represents one of two things:
=head3 Argument... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/InstanceIpv6Address.pm | Perl | apache-2.0 | 1,322 |
package Paws::CodePipeline::ExecutionDetails;
use Moose;
has ExternalExecutionId => (is => 'ro', isa => 'Str', request_name => 'externalExecutionId', traits => ['NameInRequest']);
has PercentComplete => (is => 'ro', isa => 'Int', request_name => 'percentComplete', traits => ['NameInRequest']);
has Summary => (i... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CodePipeline/ExecutionDetails.pm | Perl | apache-2.0 | 2,019 |
package Google::Ads::AdWords::v201402::CustomerFeedService::get;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('get');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs();... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/CustomerFeedService/get.pm | Perl | apache-2.0 | 2,033 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | hardware/server/dell/openmanage/snmp/mode/components/battery.pm | Perl | apache-2.0 | 3,195 |
#
# 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 | centreon/common/violin/snmp/mode/components/lfc.pm | Perl | apache-2.0 | 2,592 |
#
# 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 | storage/netapp/ontap/restapi/custom/api.pm | Perl | apache-2.0 | 6,576 |
package Paws::AppStream::ListAssociatedStacks;
use Moose;
has FleetName => (is => 'ro', isa => 'Str', required => 1);
has NextToken => (is => 'ro', isa => 'Str');
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAssociatedStacks');
class_has _returns => (isa =... | ioanrogers/aws-sdk-perl | auto-lib/Paws/AppStream/ListAssociatedStacks.pm | Perl | apache-2.0 | 1,861 |
#
# 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/microsoft/office365/sharepoint/mode/siteusage.pm | Perl | apache-2.0 | 18,811 |
package VMOMI::ArrayOfVmfsConfigOption;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['VmfsConfigOption', 'VmfsConfigOption', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
m... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfVmfsConfigOption.pm | Perl | apache-2.0 | 426 |
package VMOMI::GhostDvsProxySwitchDetectedEvent;
use parent 'VMOMI::HostEvent';
use strict;
use warnings;
our @class_ancestors = (
'HostEvent',
'Event',
'DynamicData',
);
our @class_members = (
['switchUuid', undef, 1, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_m... | stumpr/p5-vmomi | lib/VMOMI/GhostDvsProxySwitchDetectedEvent.pm | Perl | apache-2.0 | 463 |
# Update the compset file and remove the vertex pairs with low counts.
# vertex pair to remove is the one which together have low counts, remove that pair from the set
# USAGE: perl update_compatible_set.pl -cs compatible_set -w writeoutputfile -t thresholdForPairedCounts -wg UpdatedGraph
use Getopt::Long;
$comp... | raunaq-m/MLEHaplo | update_compatible_set.pl | Perl | bsd-2-clause | 3,205 |
#
# CommonGrammar.pm : part of the Mace toolkit for building distributed systems
#
# Copyright (c) 2011, Charles Killian, James W. Anderson, Adolfo Rodriguez, Dejan Kostic
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the follow... | jojochuang/eventwave | perl5/Mace/Compiler/CommonGrammar.pm | Perl | bsd-3-clause | 57,473 |
package Resmon::Updater;
use strict;
use File::Find;
use IO::Socket;
my $assess;
my $newfiles;
my $changedfiles;
my %times;
my $debug;
my $resmondir;
sub update {
# Ignore a HUP, otherwise we will kill ourselves when we try to reload
# because we are called as 'resmon'
$SIG{'HUP'} = 'IGNORE';
# Debug... | omniti-labs/resmon | lib/Resmon/Updater.pm | Perl | bsd-3-clause | 4,792 |
#!/usr/bin/env perl
#Basically followed the instructions here to get this to work:
#https://groups.google.com/forum/#!topic/biomart-users/skO4zgqzGBA
use strict;
use warnings;
use lib "$ENV{HOME}/src/bioperl-1.6.1";
use lib "$ENV{HOME}/git/ensembl_v75_api/modules";
use Bio::EnsEMBL::Registry;
my $reg = "Bio::EnsE... | genome/civic-server | public/downloads/getEnsemblCanonicalTranscripts.pl | Perl | mit | 1,083 |
#!/usr/local/bin/perl
#------------------------------
# Version : 20060121
# Writer : Mico Cheng
# Use for : cut domain
# Host : x
#-------------------------------
$file = shift;
open FH,"$file" or die "$!\n";
while (<FH>) {
chomp;
if ($_ =~ /(\w|\d)*\.^.*$/) {
print "$_\n";
}
}
| TonyChengTW/TBCMail | cut_domain.pl | Perl | apache-2.0 | 304 |
#!/usr/bin/perl
#--------------------------------------------------------------------
#----- FSFW CLI library
#-----
#----- Copyright(C) 2014 The Trustees of Indiana University
#--------------------------------------------------------------------
#----- $HeadURL:
#----- $Id:
#-----
#----- Library that acts as a CLI fo... | ajragusa/FlowSpaceFirewall | src/main/perl/FSFW-CLI/lib/FSFW/CLI.pm | Perl | apache-2.0 | 19,512 |
%
% 08-pacman.pl
% marelle-deps
%
% installs_with_pacman(Pkg).
% Pkg installs with pacman package of same name on Arch Linux
:- multifile installs_with_pacman/1.
% installs_with_pacman(Pkg, PacName).
% Pkg installs with pacman package called PacName on Arch Linux
% PacName can also be a list of packages.
:- m... | pmoura/marelle | 08-pacman.pl | Perl | bsd-2-clause | 1,144 |
#!/usr/bin/perl
## --------------------------------------------------------------------------
##
## Copyright 1996-2009 The NASM Authors - All Rights Reserved
## See the file AUTHORS included with the NASM distribution for
## the specific copyright holders.
##
## Redistribution and use in source and b... | coapp-packages/nasm | doc/inslist.pl | Perl | bsd-2-clause | 3,211 |
package #
Date::Manip::TZ::amlos_00;
# 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/amlos_00.pm | Perl | bsd-2-clause | 57,088 |
package WebComponent::FormWizard;
# FormWizard - component for to create wizards for complex input forms
use strict;
use warnings;
use Data::Dumper;
use XML::Simple;
use WebComponent::FormWizard::DataStructures;
use Conf;
use base qw( WebComponent );
1;
=pod
=head1 NAME
FormWizard - component to create wizards... | paczian/MG-RAST | src/WebApplication/WebComponent/FormWizard.pm | Perl | bsd-2-clause | 49,578 |
# vim: ts=4 sts=4 sw=4 et:
package HTTP::Tiny;
use strict;
use warnings;
# ABSTRACT: A small, simple, correct HTTP/1.1 client
our $VERSION = '0.017'; # VERSION
use Carp ();
my @attributes;
BEGIN {
@attributes = qw(agent default_headers max_redirect max_size proxy timeout);
no strict 'refs';
for my $acces... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/HTTP/Tiny.pm | Perl | apache-2.0 | 35,004 |
package Locale::Codes::Country;
# Copyright (C) 2001 Canon Research Centre Europe (CRE).
# Copyright (C) 2002-2009 Neil Bowers
# Copyright (c) 2010-2013 Sullivan Beck
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
use strict;
require 5.006;
use war... | Dokaponteam/ITF_Project | xampp/perl/lib/Locale/Codes/Country.pm | Perl | mit | 2,714 |
#! /usr/bin/env perl
if ($ARGV[0]) {
print "Node A post script failed\n";
} else {
print "Node A post script succeeded\n";
}
exit($ARGV[0]);
| djw8605/htcondor | src/condor_tests/job_dagman_default_log-subdir/job_dagman_default_log-nodeA-post.pl | Perl | apache-2.0 | 145 |
#!/usr/bin/perl
#
# 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, software
# di... | mdb/incubator-trafficcontrol | test/traffic_ops_cfg/cfg_test.pl | Perl | apache-2.0 | 12,980 |
package Fixtures::Integration::Role;
# 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, Versio... | rscrimojr/incubator-trafficcontrol | traffic_ops/app/lib/Fixtures/Integration/Role.pm | Perl | apache-2.0 | 2,040 |
# 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... | eonezhang/avro | lang/perl/lib/Avro/DataFileReader.pm | Perl | apache-2.0 | 7,506 |
%Source: Ports of programs found in TPDB/C/AProVE_numeric
%query:test_fun(g,g).
% source: port of http://cl2-informatik.uibk.ac.at/mercurial.cgi/TPDB/file/72cccd64ec42/C/AProVE_numeric/svcomp_a.04.c
test_fun(X, Y) :- loop(X, Y, 0).
loop(X, Y, C) :- X > Y, Y1 is Y + 1, C1 is C + 1, loop(X, Y1, C1).
loop(X, Y, C) :- X =<... | ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Prolog/AProVE_numeric/svcomp-a-04-c.pl | Perl | mit | 324 |
package Bio::EnsEMBL::GlyphSet::corebinmarkers;
use strict;
use vars qw(@ISA);
use Bio::EnsEMBL::GlyphSet_simple;
@ISA = qw(Bio::EnsEMBL::GlyphSet_simple);
#sub my_label { return "Overgo Markers"; }
sub features {
my ($self) = @_;
my $slice = $self->{'container'};
warn $slice;
warn join ", ... | warelab/gramene-ensembl | maize/modules/Bio/EnsEMBL/GlyphSet/corebinmarkers.pm | Perl | mit | 649 |
#!/usr/bin/env perl
use 5.014; # do not lower; required for non-destructive substitution
use strict;
use warnings;
use autodie;
use File::Basename;
use File::Find;
use File::Copy qw(copy);
use File::Path qw(make_path remove_tree);
use IPC::System::Simple qw(system);
use Cwd qw(getcwd)... | sestaton/transposome-scripts | full_analysis_with_varying_coverage.pl | Perl | mit | 8,736 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
get_relationship_IsRealLocationOf
=head1 SYNOPSIS
get_relationship_IsRealLocationOf [-c N] [-a] [--fields field-list] < ids > table.with.fields.added
=head1 DESCRIPTION
This relationship connects a specific instance of a compound i... | kbase/kb_seed | scripts/get_relationship_IsRealLocationOf.pl | Perl | mit | 6,039 |
#!/usr/bin/perl
###############################################################################
# Copyright (C) 1994 - 2009, Performance Dynamics Company #
# #
# This software is licensed as described in the file COPYING, ... | peterlharding/PDQ | examples/ppa_1998/chap2/closed1.pl | Perl | mit | 2,623 |
package strict;
$strict::VERSION = "1.07";
# Verify that we're called correctly so that strictures will work.
unless ( __FILE__ =~ /(^|[\/\\])\Q${\__PACKAGE__}\E\.pmc?$/ ) {
# Can't use Carp, since Carp uses us!
my (undef, $f, $l) = caller;
die("Incorrect use of pragma '${\__PACKAGE__}' at $f line $l.\n")... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/strict.pm | Perl | mit | 1,006 |
=head1 NAME
Attean::API::AbbreviatingParser - Role for parsers that use construct absolute IRIs based on prefixed names or base IRIs
=head1 VERSION
This document describes Attean::API::AbbreviatingParser version 0.002
=head1 DESCRIPTION
The Attean::API::AbbreviatingParser role defines an API for parsers
of RDF and... | gitpan/Attean | lib/Attean/API/AbbreviatingParser.pod | Perl | mit | 1,266 |
#!/usr/bin/perl -w
use strict;
use Math::Int2Base qw( int2base );
my @words = (
"like", "just", "love", "know", "never", "want",
"time", "out", "there", "make", "look", "eye",
"down", "only", "think", "heart", "... | vstoykovbg/make-random-seed | Diceware-like-list-for-Electrum-1.pl | Perl | mit | 24,310 |
package BeerList::Schema;
use Moose;
use namespace::autoclean;
extends 'DBIx::Class::Schema';
__PACKAGE__->load_namespaces();
__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
| bentglasstube/beerlist | lib/BeerList/Schema.pm | Perl | mit | 194 |
# 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/licens... | mn1/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/Gsnap.pm | Perl | apache-2.0 | 4,504 |
#
# 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/fortinet/fortimanager/snmp/mode/memory.pm | Perl | apache-2.0 | 4,933 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | network/redback/snmp/plugin.pm | Perl | apache-2.0 | 1,707 |
#!/usr/bin/perl
use strict;
use warnings;
use CQS::FileUtils;
use CQS::SystemUtils;
use CQS::ConfigUtils;
use CQS::ClassFactory;
my $cqstools = "/home/shengq1/cqstools/CQS.Tools.exe";
my $hg19_mrna_gff = "/data/cqs/shengq1/reference/miRBase20/hsa.gff3";
my $hg19_trna_bed = "/data/cqs/guoy1/refere... | realizor/ngsperl | templates/miRNAseq-pipeline.pl | Perl | apache-2.0 | 10,662 |
# 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/FeedItemSetLink.pm | Perl | apache-2.0 | 1,117 |
=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/ZMenu/SupportingEvidenceAlignment.pm | Perl | apache-2.0 | 2,832 |
#
# 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/storage/storageaccount/mode/filesharecount.pm | Perl | apache-2.0 | 7,324 |
#
# 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/aruba/standard/snmp/plugin.pm | Perl | apache-2.0 | 1,942 |
#!/usr/bin/perl -w
my @lines;
chomp(@lines = <STDIN>);
my $width = shift @lines;
my $format = "%${width}s\n" x @lines;
my $ruler;
if ($width % 10 == 0) {
$ruler = "1234567890" x ($width / 10);
} else {
my $rem = $width % 10;
$width /= 10;
$ruler = "1234567890" x $width;
foreach (1..${rem}) {
... | alexhilton/miscellaneous | perl/exercise/ex0503.pl | Perl | apache-2.0 | 386 |
package Google::Ads::AdWords::v201809::CampaignGroupService::getResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('getResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->_... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/CampaignGroupService/getResponse.pm | Perl | apache-2.0 | 1,783 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.