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/local/ensembl/bin/perl -w
=pod
=head1 NAME
check_genetree_data.pl - QCs the Compara GeneTree data
=head1 SYNOPSIS
perl check_genetree_data.pl [options]
Options:
-h|--help Show brief help and exit.
-m|--man Show detailed help
-u|--url URL-style connection params to compara DB.
-l|--long Run ext... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/pipeline/check_genetree_data.pl | Perl | apache-2.0 | 12,305 |
package Paws::CloudDirectory::TypedLinkAttributeDefinition;
use Moose;
has DefaultValue => (is => 'ro', isa => 'Paws::CloudDirectory::TypedAttributeValue');
has IsImmutable => (is => 'ro', isa => 'Bool');
has Name => (is => 'ro', isa => 'Str', required => 1);
has RequiredBehavior => (is => 'ro', isa => 'Str',... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/TypedLinkAttributeDefinition.pm | Perl | apache-2.0 | 2,216 |
#!/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/fasta/create_probe_fasta.pl | Perl | apache-2.0 | 6,583 |
package VMOMI::HostInternetScsiHbaDigestType;
use parent 'VMOMI::SimpleType';
use strict;
use warnings;
1;
| stumpr/p5-vmomi | lib/VMOMI/HostInternetScsiHbaDigestType.pm | Perl | apache-2.0 | 109 |
package CoGe::Builder::Export::Gff;
use Moose;
extends 'CoGe::Builder::Buildable';
use CoGe::Accessory::IRODS qw(irods_get_base_path);
use CoGe::Accessory::Utils qw(sanitize_name);
use CoGe::Accessory::Web qw(download_url_for);
use CoGe::Core::Genome qw(get_irods_metadata);
use CoGe::Core::Storage qw(get_genome_cache... | LyonsLab/coge | modules/Pipelines/lib/CoGe/Builder/Export/Gff.pm | Perl | bsd-2-clause | 4,014 |
#!/usr/bin/env perl
use strict;
use warnings;
use Encode qw(decode_utf8 encode_utf8);
use Graph::Reader::UnicodeTree;
use IO::Barf qw(barf);
use File::Temp qw(tempfile);
# Example data.
my $data = decode_utf8(<<'END');
1ββ¬β2
ββ3βββ4
ββ5
ββ6ββ¬β7
β ββ8
β ββ9
ββ10
END
# Temporary file.
my (undef, $temp... | tupinek/Graph-Reader-UnicodeTree | examples/ex1.pl | Perl | bsd-2-clause | 699 |
#!perl
use v5.20;
use warnings;
use SVG;
require 'svg_creators.pl';
use lib './svg_creators';
use constant WIDTH_MM => 6.6;
use constant HEIGHT_MM => 6.6;
my $svg = SVG->new(
width => mm_to_px( WIDTH_MM ),
height => mm_to_px( HEIGHT_MM ),
);
my $draw = $svg->group(
id => 'draw',
style => {
... | frezik/race_record | svg_creators/button.pl | Perl | bsd-2-clause | 554 |
package Zonemaster::LDNS::RR;
use strict;
use warnings;
use Zonemaster::LDNS::RR::A;
use Zonemaster::LDNS::RR::A6;
use Zonemaster::LDNS::RR::AAAA;
use Zonemaster::LDNS::RR::AFSDB;
use Zonemaster::LDNS::RR::APL;
use Zonemaster::LDNS::RR::ATMA;
use Zonemaster::LDNS::RR::CAA;
use Zonemaster::LDNS::RR::CDS;
use Zonemaste... | dotse/net-ldns | lib/Zonemaster/LDNS/RR.pm | Perl | bsd-2-clause | 4,279 |
#
# This file is part of MooseX-Types-ElasticSearch
#
# This software is Copyright (c) 2014 by Moritz Onken.
#
# This is free software, licensed under:
#
# The (three-clause) BSD License
#
package MooseX::Types::ElasticSearch;
$MooseX::Types::ElasticSearch::VERSION = '0.0.4';
# ABSTRACT: Useful types for ElasticSearc... | gitpan/MooseX-Types-ElasticSearch | lib/MooseX/Types/ElasticSearch.pm | Perl | bsd-3-clause | 3,221 |
use utf8;
package Billy::Schema::Result::Transaction;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Billy::Schema::Result::Transaction
=cut
use strict;
use warnings;
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::... | evbogdanov/billy | lib/Billy/Schema/Result/Transaction.pm | Perl | bsd-3-clause | 2,568 |
#!/bin/perl
# ======================================================
# Writer : Mico Cheng
# Version : 2004080601
# Use for : lookup http access log to delete big size file
# Host : x
# ======================================================
if ($#ARGV != 1)
{
print "\n".'usage: pwp-bigsize-kill.pl'... | TonyChengTW/TBCMail | pwp-kill/pwp-bigsize-kill.pl | Perl | apache-2.0 | 1,070 |
package Google::Ads::AdWords::v201409::CampaignFeedError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/CampaignFeedError/Reason.pm | Perl | apache-2.0 | 1,102 |
=head1 AmiGO::Worker::Visualize
TODO: Return a blob that visualizes the ontology.
TODO: Rationalize visual (so it's just an intelligent web wrapper) and
add in QuickGO resource.
variables:
simple_terms,
complex_terms,
format,
source
=cut
package AmiGO::Worker::Visualize;
## Use a slightly different base...
use ba... | geneontology/amigo | perl/lib/AmiGO/Worker/Visualize.pm | Perl | bsd-3-clause | 2,635 |
#!/usr/bin/env perl
use strict;
use warnings;
use LWP::UserAgent;
use JSON;
use Data::Dumper;
# initialize json, the user agent and the cdmi url
my $json = new JSON;
my $ua = LWP::UserAgent->new;
my $cdmi_url = "https://www.kbase.us/services/cdmi_api";
# get all subsystem names / ids (which is the same thing)
print... | teharrison/MG-RAST | src/Babel/bin/seed_from_cdmi.pl | Perl | bsd-2-clause | 14,321 |
#!/usr/bin/perl
use strict;
use warnings;
my ( $encname ) = $ARGV[0] =~ m{/([^/.]+).tbl}
or die "Cannot parse encoding name out of $ARGV[0]\n";
print <<"EOF";
static const struct StaticTableEncoding encoding_$encname = {
{ .decode = &decode_table },
{
EOF
while( <> ) {
s/\s*#.*//; # strip comment
s{^(... | ajh/libvterm-rs | vendor/libvterm/tbl2inc_c.pl | Perl | mit | 622 |
#!/usr/bin/perl
use strict;
use warnings;
$ENV{PATH} = "/usr/bin:/bin:/usr/local/bin";
sub get_remote_concurrency {
my $cur = `pgrep qmail-remote | wc -l`;
$cur=~ s/\s+//g;
return $cur;
}
my $max = `cat /var/qmail/control/concurrencyremote`;
chomp $max;
my $cur = get_remote_concurrency() or exit 1;
exi... | chtyim/infrastructure-puppet | modules/rootbin_asf/files/bin/check_qmail_concurrency.pl | Perl | apache-2.0 | 797 |
#!/usr/bin/perl
use Getopt::Long qw(:config pass_through no_ignore_case permute);
my $poll_target = undef;
my $working_dir = undef;
GetOptions('poll-target=s'=> \$poll_target,
'working-dir'=> \$working_dir
) or exit(1);
if (defined $working_dir) {
chdir($working_dir);
}
my $cnt = 1;
print STDERR... | shyamjvs/cs626_project | stat_moses/tools/moses/contrib/mert-sge-nosync/training/sge-nosync/poll-decoder.pl | Perl | apache-2.0 | 494 |
package HTTP::Config;
use strict;
use warnings;
use URI;
our $VERSION = "6.11";
sub new {
my $class = shift;
return bless [], $class;
}
sub entries {
my $self = shift;
@$self;
}
sub empty {
my $self = shift;
not @$self;
}
sub add {
if (@_ == 2) {
my $self = shift;
push... | jkb78/extrajnm | local/lib/perl5/HTTP/Config.pm | Perl | mit | 11,432 |
#!/usr/bin/perl
#
# Regenerate (overwriting only if changed):
#
# regnodes.h
#
# from information stored in
#
# regcomp.sym
# regexp.h
#
# Accepts the standard regen_lib -q and -v args.
#
# This script is normally invoked from regen.pl.
BEGIN {
# Get function prototypes
require 'regen_lib.pl';
}
#use... | Lh4cKg/sl4a | perl/src/regcomp.pl | Perl | apache-2.0 | 5,609 |
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# ***********************************************************************
# * COPYRIGHT:
# * Copyright (c) 2004-2006, International Business Machines Corporation
# * and others. All Rights Reser... | endlessm/chromium-browser | third_party/icu/source/tools/memcheck/ICUMemCheck.pl | Perl | bsd-3-clause | 2,473 |
#!/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... | srajko/nodegit | vendor/openssl/openssl/crypto/bn/asm/armv4-gf2m.pl | Perl | mit | 7,341 |
#!/usr/bin/perl
use Getopt::Long;
use CGI qw/param/;
my $HOME = "/Users/peng";
my $in_text = param ('in_text');
my $out_pdf = param ('out_pdf');
my $result = qx{$HOME/anaconda/bin/python $HOME/MIT-BroadFoundry/dnaplotlib/quick.py -input '$in_text' -output ../results/$out_pdf};
| VoigtLab/dnaplotlib | other/web/cgi-bin/run_quick.pl | Perl | mit | 285 |
use MooseX::Declare;
=head2
PURPOSE
Run tasks on worker nodes using task queue
Use queues to communicate between master and nodes:
WORKERS: REPORT STATUS TO MASTER
MASTER: DIRECT WORKERS TO:
- DEPLOY APPS
- PROVIDE WORKFLOW STATUS
- STOP/START WORKFLOWS
=cut
use strict;
use warnings;... | aguadev/aguadev | lib/Queue/Listener.pm | Perl | mit | 15,200 |
#!/usr/bin/perl
print "Content-type: text/html\n\n";
($User,$Planet,$AuthCode,$TCount,$Mode,$InType)=split(/&/,$ENV{QUERY_STRING});
$user_information = "/home/admin/classic/se/User Information";
dbmopen(%authcode, "$user_information/accesscode", 0777);
if(($AuthCode ne $authcode{$User}) || ($AuthCode eq "")){
print "... | cpraught/shattered-empires | SENNRequest.pl | Perl | mit | 2,375 |
#! /usr/bin/perl -w
#
# See bottom of file for license and copyright information
use strict;
use warnings;
use Cwd 'getcwd';
BEGIN {
my $here = Cwd::abs_path;
my $root = $here;
push @INC, "$root/lib";
}
eval "use CSS::Minifier";
if ($@) {
print STDOUT $@;
die;
}
sub minifyFile {
my ($inSourceDi... | ArthurClemens/VisDoc | code/perl/tools/minify_css.pl | Perl | mit | 2,115 |
#!/usr/bin/env perl
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
use warnings;
use strict;
package Languages::python3;
use parent 'Languages::_default';
sub initialize {
my ($self, %conf) = @_;
$self->{sourcefile} = 'prog.py3';
$self->{execfile} ... | pragma-/pbot | applets/pbot-vm/host/lib/Languages/python3.pm | Perl | mit | 786 |
package Dancer::Session::Simple;
use strict;
use warnings;
use base 'Dancer::Session::Abstract';
my %sessions;
# create a new session and return the newborn object
# representing that session
sub create {
my ($class) = @_;
my $self = Dancer::Session::Simple->new;
$self->flush;
return $self;
}
# Ret... | dimpu/AravindCom | api/perl/MAP/Modules/Dancer-1.3124/lib/Dancer/Session/Simple.pm | Perl | mit | 1,481 |
######################################################################
#
# This is the first cos_list page to take advantage of the new
# SGN database. It offers reduced functionality from its
# predecessor because much of this functionality is now of
# increased complexity and is folded into the individual EST
#... | solgenomics/sgn | cgi-bin/search/markers/cos_list.pl | Perl | mit | 2,741 |
package #
Date::Manip::Offset::off355;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off355.pm | Perl | mit | 856 |
package SimpleBot::Plugin::Topic;
##
# Topic.pm
# SimpleBot Plugin
# Based on an original design by TMFKsoft and also used in the popular Techie-Bot,
# these commands allow you set the room topic in pieces, so you can maintain
# an overall persistent topic with several "columns" that you can set individually.
#
# !t... | jhuckaby/simplebot | lib/Plugins/Topic.pm | Perl | mit | 1,936 |
#!/usr/bin/perl
use CGI qw(:standard);
print header, start_html;
sub findSum {
$sum = 0;
$size = @_;
$i=0;
while ($i < $size)
{
$sum += $_[$i];
$i++; }
$sum; }
print findSum(23, 17), "<br>";
print findSum(7, 5, 8, 3, 2), "<br>";
print findSum(11, 4, 17, 6, 25, 19), "<br>";
print hr;
sub Add {
my($x, $y, $z)=... | nertwork/cypresspl | labs/lab8_1.pl | Perl | mit | 773 |
# Copyright (c) 2010 - Action Without Borders
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | quile/if-framework | framework/lib/IF/Components.pm | Perl | mit | 2,155 |
sent('switch on the light').
sent('switch on the light in the kitchen').
sent('switch the fan off').
sent('dim the light in the living room').
sent('is the light switched on').
sent('is the light in the kitchen switched off').
| TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Toy1/corpora/toy1_corpus.pl | Perl | mit | 228 |
#!/usr/bin/env perl
# File: Guest.pm
#
# Purpose: Collection of functions to interface with the PBot VM Guest and
# execute VM commands.
# SPDX-FileCopyrightText: 2022 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
package Guest;
use 5.020;
use warnings;
use strict;
use feature qw/signatur... | pragma-/pbot | applets/pbot-vm/guest/lib/Guest.pm | Perl | mit | 4,162 |
package Globus::GRAM::JobState;
=head1 NAME
Globus::GRAM::JobState - GRAM Protocol JobState Constants
=head1 DESCRIPTION
The Globus::GRAM::JobState module defines symbolic names for the
JobState constants in the GRAM Protocol.
=head2 Methods
=over 4
=item $value = Globus::GRAM::JobState::PENDING()
Return the ... | eunsungc/gt6-RAMSES_8_5 | gram/protocol/source/scripts/JobState.pm | Perl | apache-2.0 | 1,456 |
sub _get_raw_tests {
my $self = shift;
my $recurse = shift;
my @argv = @_;
my @tests;
# Do globbing on Win32.
@argv = map { glob "$_" } @argv if NEED_GLOB;
my $extensions = $self->{extensions};
for my $arg (@argv) {
if ( '-' eq $arg ) {
push @argv => <STDIN>;... | mishin/presentation | 4_trans/glob.pl | Perl | apache-2.0 | 790 |
use strict;
package CPAN::Reporter::PrereqCheck;
our $VERSION = '1.2011'; # VERSION
use ExtUtils::MakeMaker 6.36;
use File::Spec;
use CPAN::Version;
_run() if ! caller();
sub _run {
my %saw_mod;
# read module and prereq string from STDIN
local *DEVNULL;
open DEVNULL, ">" . File::Spec->devnull; ## no ... | gitpan/CPAN-Reporter | lib/CPAN/Reporter/PrereqCheck.pm | Perl | apache-2.0 | 7,822 |
=head1 LICENSE
# 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 License.
# ... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/SelenoBuilder.pm | Perl | apache-2.0 | 25,088 |
:- module(match, [match/2]).
%% Example match program
%% Matches Pattern Pat in string T
%%foo
match(Pat,T) :-
match1(Pat,T,Pat,T).
match1([],_Ts,_P,_T).
match1([A|_Ps],[B|_Ts],P,[_X|T]) :-
A\==B,
match1(P,T,P,T).
match1([A|Ps],[A|Ts],P,T) :-
match1(Ps,Ts,P,T).
| leuschel/logen | tests/match.pl | Perl | apache-2.0 | 317 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/quantum/dxi/ssh/mode/health.pm | Perl | apache-2.0 | 3,920 |
# 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/ChangeStatusService.pm | Perl | apache-2.0 | 1,039 |
=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/Draw/GlyphSet/fg_regulatory_features.pm | Perl | apache-2.0 | 9,378 |
#
# 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/kingdee/eas/mode/javaruntime.pm | Perl | apache-2.0 | 4,627 |
use 5.10.0;
use strict;
use warnings;
package Seq::Tracks::Base::Types;
our $VERSION = '0.001';
# ABSTRACT: Defines general track information: valid track "types",
# track casting (data) types
# VERSION
use Mouse 2;
use Mouse::Util::TypeConstraints;
use namespace::autoclean;
use Scalar::Util qw/looks_like_number/... | wingolab-org/seq2-annotator | lib/Seq/Tracks/Base/Types.pm | Perl | apache-2.0 | 3,467 |
use utf8;
package Netdisco::DB::Result::DeviceRoute;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->table("device_route");
__PACKAGE__->add_columns(
"ip",
{ data_type => "inet", is_nullable => 0 },
"netwo... | jeneric/netdisco-frontend-sandpit | Netdisco/lib/Netdisco/DB/Result/DeviceRoute.pm | Perl | bsd-3-clause | 1,088 |
%% TESTING directive include...
% #include('test_include.pl').
%% PROGRAM 1:
%% two models one for ?- p. and another for ?- q.
% p :- not q.
% q :- not p.
% ?- p.
% ?- q.
%% PROGRAM 1b:
%% Previous program with predicate ASP.
p(X) :- not q(X).
q(X) :- not p(X).
?- q(X).
%% PROGRAM 2:
%% three models (normal... | Xuaco/casp | src/server/test.pl | Perl | bsd-3-clause | 1,085 |
package AsposeImagingCloud::Object::TextEffect;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposeImagingCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto g... | aspose-imaging/Aspose.Imaging-for-Cloud | SDKs/Aspose.Imaging-Cloud-SDK-for-Perl/lib/AsposeImagingCloud/Object/TextEffect.pm | Perl | mit | 765 |
for $c (1..40) {
for $b (1..$c-1) {
for $a (1..$b-1) {
if ($a * $a + $b * $b == $c * $c) {
printf "%i, %i, %i\n", $a, $b, $c;
}
}
}
}
| rtoal/ple | perl/triple.pl | Perl | mit | 198 |
/*************************************************************************
name: godis-vcr-text
version:
description: GoDiS VCR application specification file, text, windows
author: Staffan Larsson
*************************************************************************
:-ensure_loaded(app... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis-apps/domain-vcr/godis-vcr-text.pl | Perl | mit | 3,587 |
package Google::Ads::AdWords::v201409::CriterionTypeGroup;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type cl... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/CriterionTypeGroup.pm | Perl | apache-2.0 | 1,115 |
#!/usr/bin/perl
# Only for APOL
if ($#ARGV != 1) {
print "Usage: ./migratesm_mail.pl <virtualuser file> <spool directory>\n";
print "Remember add a backslash \"\/\" at the end.\n";
print "eg: ./migratesm_mail.pl /etc/mail/virtualuser /var/spool/\n\n";
exit;
}
my ($ref, $path) = @ARGV;
my $TOTAL = $OK = 0;
my $log... | TonyChengTW/EZMail | migration/migratesm_mail.pl | Perl | apache-2.0 | 1,426 |
package Google::Ads::AdWords::v201406::AdGroupAd::ApprovalStatus;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/AdGroupAd/ApprovalStatus.pm | Perl | apache-2.0 | 1,130 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.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... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/Sc/Khmr.pl | Perl | mit | 463 |
#!/usr/bin/env perl
#
# Copyright 2014 Wei Shen (shenwei356#gmail.com). All rights reserved.
# Use of this source code is governed by a MIT-license
# that can be found in the LICENSE file.
# https://github.com/shenwei356/bio_scripts/
use strict;
use BioUtil::Misc;
die "usage: $0 embossre.enz\n"
unless @ARGV == 1;... | shenwei356/bio_scripts | enzyme/restrict_with_T_tail.pl | Perl | mit | 663 |
#!/usr/bin/perl
use strict;
my @dev_details = `ls -l /sys/block/ | grep sd | grep -v sda`;
my @dev_names;
while (@dev_details) {
my $item = shift(@dev_details);
if ($item =~ /sd([b-z])$/) {
my $dev = $1;
# get all devices
push(@dev_names, $dev);
print "dev: $dev\n";
}
}
my $scheduler = "noop";
my $num_d... | icoming/FlashGraph | conf/set_scheduler.pl | Perl | apache-2.0 | 739 |
package Devel::GlobalDestruction;
use strict;
use warnings;
our $VERSION = '0.13';
use Sub::Exporter::Progressive -setup => {
exports => [ qw(in_global_destruction) ],
groups => { default => [ -all ] },
};
# we run 5.14+ - everything is in core
#
if (defined ${^GLOBAL_PHASE}) {
eval 'sub in_global_destructio... | ashkanx/binary-mt | scripts/local/lib/perl5/Devel/GlobalDestruction.pm | Perl | apache-2.0 | 2,775 |
=pod
=for comment openssl_manual_section:7
=head1 NAME
SSL - OpenSSL SSL/TLS library
=head1 SYNOPSIS
See the individual manual pages for details.
=head1 DESCRIPTION
The OpenSSL B<ssl> library implements the Secure Sockets Layer (SSL v2/v3) and
Transport Layer Security (TLS v1) protocols. It provides a rich API w... | GaloisInc/hacrypto | src/C/openssl/openssl-1.1.0b/doc/ssl/ssl.pod | Perl | bsd-3-clause | 25,886 |
# 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... | saurabh3949/mxnet | perl-package/AI-MXNetCAPI/lib/AI/MXNetCAPI.pm | Perl | apache-2.0 | 1,355 |
package Digest::MD5;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
$VERSION = '2.36_01'; # $Date: 2005/11/30 13:46:47 $
require Exporter;
*import = \&Exporter::import;
@EXPORT_OK = qw(md5 md5_hex md5_base64);
eval {
require Digest::base;
push(@ISA, 'Digest::base');
};
if ($@) {
my $err = $@;
*... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/i686-cygwin/Digest/MD5.pm | Perl | bsd-3-clause | 10,594 |
=pod
=head1 NAME
d2i_X509_NAME, i2d_X509_NAME - X509_NAME encoding functions
=head1 SYNOPSIS
#include <openssl/x509.h>
X509_NAME *d2i_X509_NAME(X509_NAME **a, unsigned char **pp, long length);
int i2d_X509_NAME(X509_NAME *a, unsigned char **pp);
=head1 DESCRIPTION
These functions decode and encode an B<X509_N... | dkoontz/nodegit | vendor/openssl/openssl/doc/crypto/d2i_X509_NAME.pod | Perl | mit | 676 |
:- encoding(utf8).
:- module(
dcg,
[
'...'//0,
'...'//1, % -Codes
add_indent//1, % +Indent
alpha//1, % ?Code
alphanum//1, % ?Code
atom_phrase/2, % :Dcg_0, ?Atom
atom_phrase/3, % :Dcg_0, +Atom1, ?Atom2
dcg_a... | wouterbeek/Prolog_Library_Collection | prolog/dcg.pl | Perl | mit | 10,519 |
#lang pollen
β(require pollen/unstable/convert)
βh2{Table of contents}
βtoc[]
βheadappendix[
βlink[#:href "//cdn-images.mailchimp.com/embedcode/classic-10_7.css" #:rel "stylesheet" #:type "text/css"]
βstyle[#:type "text/css"]{#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }}
]
... | v-nys/programming-emu | index.html.pm | Perl | mit | 1,458 |
:- module(
ctriples_write_graph,
[
ctriples_write_graph/3 % +Write:or([atom,stream])
% ?Graph:atom
% +Options:list(compound)
]
).
/** <module> C-Triples write: graph
Writes the given graph (or all currently stored triples) to a source.
@author Wouter Be... | Anniepoo/plRdf | prolog/ctriples/ctriples_write_graph.pl | Perl | mit | 3,350 |
=head1 NAME
Mail::Header - manipulate MIME headers
=head1 INHERITANCE
=head1 SYNOPSIS
use Mail::Header;
my $head = Mail::Header->new;
my $head = Mail::Header->new( \*STDIN );
my $head = Mail::Header->new( [<>], Modify => 0);
=head1 DESCRIPTION
Read, write, create, and manipulate MIME headers, the leading... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Header.pod | Perl | mit | 8,027 |
#!/usr/bin/perl
use warnings;
use strict;
use feature 'say';
my $fname = shift;
open my $fh, "<", $fname
or die "Can't open $fname: $!";
my $input = <$fh>;
chomp $input;
my @digits = split //, $input;
my ( $w, $h ) = ( 25, 6 );
my @layers;
while (@digits) {
my @layer;
foreach my $y ( 0 .. $h - 1 ) {
... | bewuethr/advent_of_code | 2019/day08/day08b.pl | Perl | mit | 798 |
=head1 NAME
MIME::Type - Definition of one MIME type
=head1 INHERITANCE
=head1 SYNOPSIS
use MIME::Types;
my $mimetypes = MIME::Types->new;
my MIME::Type $plaintext = $mimetypes->type('text/plain');
print $plaintext->mediaType; # text
print $plaintext->subType; # plain
my @ext = $plaintext->extensions;
... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/MIME/Type.pod | Perl | mit | 6,115 |
:- module(entities,
[entity_type/2,
entity_prop/4
]).
:- use_module(library(semweb/rdf_db)).
%% entity_type(+Class, -Type).
%
% Type is the normalized type for an RDF Class.
entity_type(_, resource).
entity_type(C, work) :- rdf_equal(C, 'http://dbpedia.org/ontology/Work').
entity_type(C, television) :- r... | michielhildebrand/linkedtv_entity_proxy | lib/entities.pl | Perl | mit | 10,598 |
:- module(
prolog_to_rdf,
[
prolog_to_rdf/4 % +Graph:atom
% +Module:atom
% +Term:term
% -Individual:iri
]
).
/** <module> Prolog to RDF
Automated conversion from Prolog terms to RDF triples.
@author Wouter Beek
@version 2014/01, 2014/11
*/
:- use... | Anniepoo/plRdf | tmp/convert/prolog_to_rdf.pl | Perl | mit | 1,977 |
% vim: set ft=prolog:
%
% see: https://www.tutorialspoint.com/prolog/index.htm
female(pam).
female(liz).
female(pat).
female(ann).
male(jim).
male(bob).
male(tom).
male(peter).
parent(pam, bob).
parent(tom, bob).
parent(tom, liz).
parent(bob, ann).
parent(bob, pat).
parent(pat, jim).
parent(bob, peter).
parent(peter... | kkirstein/proglang-playground | Prolog/Tutorial/family_ext.pl | Perl | mit | 819 |
# Time-stamp: "Sat Jul 14 00:27:32 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0x73] = [
'Sha ', 'Li ', 'Han ', 'Xian ', 'Jing ', 'Pai ', 'Fei ', 'Yao ', 'Ba ', 'Qi ', 'Ni ', 'Biao ', 'Yin ', 'Lai ', 'Xi ', 'Jian ',
'Qiang ', 'Kun ', 'Yan ', 'Guo ', 'Zong ', 'Mi ', 'Chang ', 'Yi ',... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/x73.pm | Perl | mit | 2,212 |
use strict;
use lib "../lib";
use lib "../../lib";
use Test::More "no_plan";
use Data::Dumper;
use Eldhelm::Test::Mock::Worker;
use MIME::Base64 qw(encode_base64 decode_base64);
my $worker = Eldhelm::Test::Mock::Worker->new(
config => {
server => {
serverHome => ".."
}
}
);
$worker->{configPath} = "config_pa... | wastedabuser/eldhelm-platform | test/t/305_worker_external_script_async.pl | Perl | mit | 742 |
package Mojo::Twist::File;
use Mojo::Base -base;
use Mojo::Twist::Date;
use Encode ();
use File::stat;
use File::Basename ();
use constant FILE_SLURP => eval { require File::Slurp; 1 };
sub path {
my $self = shift;
return $self->{path};
}
sub created {
my $self = shift;
return $self->{created} if $self->... | gitpan/Mojo-Twist | lib/Mojo/Twist/File.pm | Perl | mit | 1,612 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or exist... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/Ea/Na.pl | Perl | mit | 554 |
=pod
=head1 NAME
EVP_KEYEXCH-ECDH - ECDH Key Exchange algorithm support
=head1 DESCRIPTION
Key exchange support for the B<ECDH> key type.
=head2 ECDH Key Exchange parameters
=over 4
=item "ecdh-cofactor-mode" (B<OSSL_EXCHANGE_PARAM_EC_ECDH_COFACTOR_MODE>) <integer>
Sets or gets the ECDH mode of operation for th... | openssl/openssl | doc/man7/EVP_KEYEXCH-ECDH.pod | Perl | apache-2.0 | 4,809 |
#!/usr/bin/perl
################################################################################
# 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 l... | mpercy/flume-load-gen | bin/sort_results.pl | Perl | apache-2.0 | 1,530 |
#!/usr/bin/perl -w
use strict;
use FileHandle;
my $DEBUG = 0;
if( $ARGV[0] eq '-d' ) {
$DEBUG = 1;
shift( @ARGV );
}
my $SOURCEFILE = $ARGV[0];
my $OUTFILE = $ARGV[1];
if( ! $SOURCEFILE ) {
die "ERROR: Must supply the output file name from Scrivener.\n\nUsage: splitHTMLBook.pl compiled-book.txt\n";
}
if( !... | jorhett/scrivener-htmlbook | markParagraphs.pl | Perl | apache-2.0 | 2,207 |
package VMOMI::BadUsernameSessionEvent;
use parent 'VMOMI::SessionEvent';
use strict;
use warnings;
our @class_ancestors = (
'SessionEvent',
'Event',
'DynamicData',
);
our @class_members = (
['ipAddress', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_membe... | stumpr/p5-vmomi | lib/VMOMI/BadUsernameSessionEvent.pm | Perl | apache-2.0 | 459 |
#
# 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/protocols/ssh/custom/api.pm | Perl | apache-2.0 | 6,496 |
package Moose::Exception::OverrideConflictInSummation;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
use Moose::Util 'find_meta';
has 'role_application' => (
is => 'ro',
isa => 'Moose::Meta::Role::Application::RoleSummation',
required => 1
);
has 'role_names' => (
traits... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/OverrideConflictInSummation.pm | Perl | apache-2.0 | 1,653 |
#!/usr/bin/env perl
# Copyright 2015 Frank Breedijk
#
# 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 agr... | vlamer/Seccubus_v2 | json/getAttachment.pl | Perl | apache-2.0 | 2,012 |
=head1 TITLE
Implicit counter in for statements, possibly $#.
=head1 VERSION
Maintainer: John McNamara <jmcnamara@cpan.org>
Date: 16 Aug 2000
Last Modified: 27 Sep 2000
Mailing List: perl6-language-flow@perl.org
Number: 120
Version: 5
Status: Frozen
Frozen since: v3
=head1 ABSTRACT
The syntax of th... | autarch/perlweb | docs/dev/perl6/rfc/120.pod | Perl | apache-2.0 | 4,575 |
#
# 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 | snmp_standard/mode/isdnusage.pm | Perl | apache-2.0 | 6,261 |
package GraphSummarizer;
use strict;
use warnings;
use HTML::TokeParser;
use HTML::TreeBuilder;
use JSON;
use Text::Trim;
use utf8;
# chunkify HTML content
sub _chunkify_content {
my $raw_content = shift;
my $chunks = shift;
# TODO: should this logic (how to transform a modality prior to its tokenizat... | ypetinot/web-summarization | src/perl/GraphSummarizer.pm | Perl | apache-2.0 | 4,143 |
% Example from "regular directional types" paper
gen([0,1]).
gen([0|X]) :- gen(X).
trans(X,Y) :-
trans1(X,Y).
trans([1|X],[0|Y]) :-
trans2(X,Y).
trans1([0,1|T],[1,0|T]).
trans1([H|T],[H|T1]) :-
trans1(T,T1).
trans2([0],[1]).
trans2([H|T],[H|T1]) :-
trans2(T,T1).
reachable(X) :-
gen(X).
reachable(X) :-
... | leuschel/logen | old_logen/filter_prop/Tests/podelski.pl | Perl | apache-2.0 | 348 |
=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 | ensembl/modules/EnsEMBL/Web/Component/Variation/LOVD.pm | Perl | apache-2.0 | 4,278 |
#
# 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/alcatel/isam/snmp/mode/cpu.pm | Perl | apache-2.0 | 3,549 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/netapp/ontap/oncommandapi/mode/listsnapmirrors.pm | Perl | apache-2.0 | 4,049 |
#!/usr/bin/perl
# Copyright {2017} INRA (Institut National de Recherche Agronomique - FRANCE)
#
# 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-... | inralpgp/fishandchips | Dataset_Insertion_Process/0-selection_20000/0-selection_20000.pl | Perl | apache-2.0 | 4,296 |
:- use_package(remote).
:- include(port1).
:- include(port2).
main :-
port1(Port),
set_connection(Port, Connection),
serve_connection(Connection).
r(X):-
port2(Port),
p(X) @ a(localhost, Port).
q(a).
| leuschel/ecce | www/CiaoDE/ciao/library/p2p/test/test1/test1.pl | Perl | apache-2.0 | 209 |
#!/usr/bin/perl -w
# POK header
#
# The following file is a part of the POK project. Any modification should
# be made according to the POK licence. You CANNOT use this file or a part
# of a file for your own project.
#
# For more information on the POK licence, please see our LICENCE FI... | phipse/pok | misc/update-headers.pl | Perl | bsd-2-clause | 8,695 |
###########################################################################
#
# This file is partially auto-generated by the DateTime::Locale generator
# tools (v0.10). This code generator comes with the DateTime::Locale
# distribution in the tools/ directory, and is called generate-modules.
#
# This file was generated... | jkb78/extrajnm | local/lib/perl5/DateTime/Locale/luo.pod | Perl | mit | 9,969 |
=pod
=head1 NAME
SSL_CTX_set_session_id_context, SSL_set_session_id_context - set context within which session can be reused (server side only)
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx,
unsigned int ... | openilabs/crypto | bernstein/openssl-1.0.1f/doc/ssl/SSL_CTX_set_session_id_context.pod | Perl | mit | 2,729 |
#ExStart:1
use lib 'lib';
use strict;
use warnings;
use utf8;
use File::Slurp; # From CPAN
use JSON;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;
use AsposeWordsCloud::WordsApi;
use AsposeWordsCloud::ApiClient;
use AsposeWordsCloud::Configuration;
my $c... | aspose-words/Aspose.Words-for-Cloud | Examples/Perl/Watermark/RemoveWatermark.pl | Perl | mit | 1,810 |
###########################################################################
## Export of Script: PS Get IP Helpers with Network
## Script-Level: 3
## Script-Category:
## Script-Language: Perl
###########################################################################
# BEGIN-INTERNAL-SCRIPT-BLOCK
# Script:
#... | infobloxopen/netmri-toolkit | Perl/PS Get IP Helpers with Network.pl | Perl | mit | 4,215 |
package CoGe::Accessory::dialign_report::anchors;
use strict;
use warnings;
#use File::Temp;
use CoGe::Accessory::bl2seq_report;
use CoGe::Accessory::chaos_report;
use CoGe::Accessory::blastz_report;
use CoGe::Accessory::dialign_report;
use base qw(Class::Accessor);
#use Data::Dumper;
BEGIN
{
use vars qw($VERSION... | asherkhb/coge | modules/Accessory/lib/CoGe/Accessory/dialign_report/anchors.pm | Perl | bsd-2-clause | 5,009 |
package Bio::DB::Sam;
our $VERSION = '1.41';
=head1 NAME
Bio::DB::Sam -- Read SAM/BAM database files
=head1 SYNOPSIS
use Bio::DB::Sam;
# high level API
my $sam = Bio::DB::Sam->new(-bam =>"data/ex1.bam",
-fasta=>"data/ex1.fa",
);
my @targets = $sam->seq_ids;
my @align... | irusri/GenIECMS | plugins/jbrowse/extlib/lib/perl5/x86_64-linux-gnu-thread-multi/Bio/DB/Sam.pm | Perl | bsd-3-clause | 77,872 |
#!/bin/env perl
######################################################################
# Copyright (c) 2012, Yahoo! Inc. All rights reserved.
#
# This program is free software. You may copy or redistribute it under
# the same terms as Perl itself. Please see the LICENSE.Artistic file
# included with this project for t... | yahoo/gearbox | common/build/gen_handler_table.pl | Perl | bsd-3-clause | 1,389 |
#!/usr/bin/perl
# Generate ZSH completion
use strict;
use warnings;
my $curl = $ARGV[0] || 'curl';
my $regex = '\s+(?:(-[^\s]+),\s)?(--[^\s]+)\s([^\s.]+)?\s+(.*)';
my @opts = parse_main_opts('--help', $regex);
my $opts_str;
$opts_str .= qq{ $_ \\\n} foreach (@opts);
chomp $opts_str;
my $tmpl = <<"EOS";
#compdef... | chrismaeda/ChatScript | SRC/curl/curl-7.56.1/scripts/zsh.pl | Perl | mit | 1,953 |
package TryUser;
use Try::Tiny;
sub test_try { try { } }
sub test_catch { try { } catch { } }
sub test_finally { try { } finally { } }
1;
| gitpan/Try-Tiny | t/lib/TryUser.pm | Perl | mit | 141 |
# $Id: RFC1035.pm,v 2.102 2008/05/23 21:30:10 abigail Exp $
package Regexp::Common::URI::RFC1035;
use strict;
local $^W = 1;
use Regexp::Common qw /pattern clean no_defaults/;
use vars qw /$VERSION @EXPORT @EXPORT_OK %EXPORT_TAGS @ISA/;
use Exporter ();
@ISA = qw /Exporter/;
($VERSION) = q $Revision: 2.102 $ =~ /... | schwern/Regexp-Common | lib/Regexp/Common/URI/RFC1035.pm | Perl | mit | 2,356 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.