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 |
|---|---|---|---|---|---|
=pod
=encoding utf8
=head1 Test
A minimal testing framework
=head1 SYNOPSIS
Private Sub test_all()
gStart "basic tests"
test_arithmetics
test_moreStuff
gStop
End Sub
Private Sub test_arithmetics()
gStart "arithmetics"
Dim i As ... | HALTEC/VBA-commons-lib | doc/Test.pod | Perl | apache-2.0 | 3,273 |
#!/usr/bin/perl -w
# Creation Date: Dec 5th PST 2007
use strict;
use warnings;
($#ARGV == 0) or die "Usage: $0 <plot_data>\n";
my $infile = shift;
# Some Gnuplot notes:
#set terminal postscript eps color "Helvetica" 22
#set output "average_degree.eps"
#1 + 7 (f) circle
#2 cross 8 (o)... | imarios/gnuplot-helper | plot_data.pl | Perl | apache-2.0 | 6,216 |
package CorpusCheck;
use Test::Roo;
use MooX::Types::MooseLike::Base qw/ArrayRef/;
use Path::Tiny;
has corpus => (
is => 'ro',
isa => sub { -f shift },
required => 1,
);
has lines => (
is => 'lazy',
isa => ArrayRef,
);
sub _build_lines {
my ($self) = @_;
return [ map { lc } p... | gitpan/Test-Roo | examples/cookbook/lib/CorpusCheck.pm | Perl | apache-2.0 | 666 |
#!/usr/bin/perl
use strict;
my $port_prefix = $ENV{C4PORT_PREFIX} || 8000;
my $http_port = $port_prefix+67;
my $sse_port = $port_prefix+68;
my $zoo_port = $port_prefix+81;
my $plain_kafka_port = $port_prefix+92;
my $ssl_kafka_port = $port_prefix+93;
my $build_dir = "./client/build/test";
my $inbox_prefix = '';
my $... | wregs/c4proto | do.pl | Perl | apache-2.0 | 10,203 |
#
# 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 | database/mysql/mode/myisamkeycachehitrate.pm | Perl | apache-2.0 | 6,846 |
package VMOMI::ArrayOfServiceProfile;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['ServiceProfile', 'ServiceProfile', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @sup... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfServiceProfile.pm | Perl | apache-2.0 | 420 |
%%---------------------------------------------------------------------
%%
%% TCL CANVAS WIDGET
%%
%%---------------------------------------------------------------------
:- module(canvas_class_doc,[],[objects,assertions,isomodes,regtypes]).
:- use_class(library('tcltk/examples/class/shape_class')).
:- use_module(li... | leuschel/ecce | www/CiaoDE/ciao/library/tcltk/examples_with_problems/class/canvas_class_doc.pl | Perl | apache-2.0 | 8,403 |
package VMOMI::VirtualMachineFileLayoutExSnapshotLayout;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['key', 'ManagedObjectReference', 0, ],
['dataKey', undef, 0, ],
['memoryKey', undef, 0, 1],
['disk', 'VirtualMac... | stumpr/p5-vmomi | lib/VMOMI/VirtualMachineFileLayoutExSnapshotLayout.pm | Perl | apache-2.0 | 576 |
package Tapper::TestSuite::AutoTest;
# ABSTRACT: Tapper - Complete OS testing in a box via autotest
use warnings;
use strict;
use 5.010;
use Cwd;
use Moose;
use Getopt::Long qw/GetOptions/;
use Sys::Hostname qw/hostname/;
use YAML::Syck;
use Archive::Tar;
use IO::Socket::INET;
use File::Slurp qw/slurp/;
use File::Spe... | tapper/Tapper-TestSuite-AutoTest | lib/Tapper/TestSuite/AutoTest.pm | Perl | bsd-2-clause | 17,301 |
% count_correct(+Sudoku, +Field, -Count)
% outputs Count of correct posibilities for Field in scope of Sudoku
count_correct1(_, _, _, 0, []).
count_correct1(RowValues, ColumnValues, AreaValues, MaxPossible, [MaxPossible|Out]) :-
\+ member(MaxPossible, RowValues),
\+ member(MaxPossible, ColumnValues),
\+ member(MaxPo... | lovasko/NoveZamky | src/adhoc.pl | Perl | bsd-2-clause | 1,867 |
#!/usr/bin/env perl
use strict;
use warnings;
my $previus_uid=-1;
my @positives=();
my @negatives=();
my %seen = ();
our $keepall=0;
my $usage = "echo \"DV DV_UID|namespace feature\" | $0 [keepall]";
sub finalize_user($$)
{
my ($positives, $negatives) = @_;
# only if both +/- examples for this user
if(0 < (sca... | petricek/datatools | bin/twin.pl | Perl | bsd-2-clause | 1,198 |
# Copyright (c) 2009, 2010 Oleksandr Tymoshenko <gonzo@bluezbox.com>
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notic... | melmothx/EBook-EPUB-Lite | lib/EBook/EPUB/Lite/Metadata/DCItem.pm | Perl | bsd-2-clause | 2,201 |
package Sisimai::Bite::Email::AmazonSES;
use parent 'Sisimai::Bite::Email';
use feature ':5.10';
use strict;
use warnings;
# http://aws.amazon.com/ses/
my $Indicators = __PACKAGE__->INDICATORS;
my $StartingOf = {
'message' => ['The following message to <', 'An error occurred while trying to deliver the mail '],
... | azumakuniyuki/p5-Sisimai | lib/Sisimai/Bite/Email/AmazonSES.pm | Perl | bsd-2-clause | 8,672 |
package AiMdle::Config;
require Exporter;
BEGIN { push @ISA, "Exporter"; }
@EXPORT = qw(
$SN
$PWD
$VER
$ADMIN_PWD
$WELCOME_MSG
@LVL_TIMES
);
our $SN = 'AiMdleBot';
our $PWD = '';
our $VER = 0.07;
our $ADMIN_PWD = 'bad_pass';
our $WELCOME_MSG = "Hello there... | rpj/aimdle | AiMdle/Config.pm | Perl | bsd-3-clause | 482 |
<?php
include 'CommonSaveInit.lang.pl';
$SESSION_REFERENCE_IS_WRONG = 'Brak referencji do modułu [app::$session].';
$PASS_VALID_REFERENCE = 'Przekaż prawidłową referencje do modułu [app::$session]. Aktualnie przekazujesz <b>%s</b>.';
$HERE_CONFIG_IS_WRONG = 'Popraw konfiguracje w tym miejscu.'; | charJKL/deArcane | src/Save/_Exception/Init/RequireSession.lang.pl | Perl | mit | 300 |
#!/usr/bin/perl
# The exclusive file contains class III protein-ORF pairs, and we need to
# separate class IV and V pairs from them.
use strict;
use warnings;
my %pairs;
my %cpairs;
open EXC, "BLASTp_exclusive.txt";
while (<EXC>) {
chomp;
my $line = $_;
my @block = split /\s/, $line;
if ($block[0] ne 'Query... | gtblack/DNA.analysis | scripts/non_match.pl | Perl | mit | 795 |
%% SIPC - Scheme In Prolog with Continuation Semantics
%% a simple implementation of Scheme in Prolog (w. continuation semantics)
%% Tim Finin, University of Pennsylvania, Mon Oct 6 10:11:18 1986
%% note: in order to handle side effects in a reasonable way,
%% environments are stored in the database. The result is ... | TeamSPoon/MUD_ScriptEngines | t/reference/sip2.pl | Perl | mit | 7,255 |
#!/usr/bin/perl -w
use strict;
my $configure_file=$ARGV[0] or die "no input configure files!\n";
my $sample_size=$ARGV[1] or die "no down sample size!\n";
my $configure_file_down_sampled=$ARGV[2] or die "no output downsampled configure file name!\n";
my $qrf_path=`echo \$QRF`;
chomp($qrf_path);
#get configure param... | dnaase/QRF_spark | src/main/perl/down_sample.for_matrixEQTL.pl | Perl | mit | 2,134 |
=head1 NAME
memcached_get, memcached_mget, memcached_fetch, memcached_mget_execute,
memcached_mget_execute_by_key - Get a value
=head1 LIBRARY
C Client Library for memcached (libmemcached, -lmemcached)
=head1 SYNOPSIS
#include <memcached.h>
memcached_result_st *
memcached_fetch_result (memcached_st *ptr,
... | simplegeo/libmemcached | docs/memcached_get.pod | Perl | bsd-3-clause | 7,817 |
=pod
=for comment openssl_manual_section:7
=head1 NAME
x509 - X.509 certificate handling
=head1 SYNOPSIS
#include <openssl/x509.h>
=head1 DESCRIPTION
A X.509 certificate is a structured grouping of information about
an individual, a device, or anything one can imagine. A X.509 CRL
(certificate revocation list)... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/x509.pod | Perl | apache-2.0 | 2,272 |
package B::Debug;
our $VERSION = '1.18';
use strict;
require 5.006;
use B qw(peekop class walkoptree walkoptree_exec
main_start main_root cstring sv_undef SVf_NOK SVf_IOK);
use Config;
my (@optype, @specialsv_name);
require B;
if ($] < 5.009) {
require B::Asmdata;
B::Asmdata->import (qw(@optype @specials... | Dokaponteam/ITF_Project | xampp/perl/lib/B/Debug.pm | Perl | mit | 10,532 |
package DDG::Spice::Songkick::Artists;
# ABSTRACT: Get similar artists for artist id of Songkick
use strict;
use warnings;
use DDG::Spice;
triggers any => "///***never_trigger***///";
spice to => 'http://api.songkick.com/api/3.0/artists/$1/similar_artists.json?apikey={{ENV{DDG_SPICE_SONGKICK_APIKEY}}}&per_page=10&js... | ppant/zeroclickinfo-spice | lib/DDG/Spice/Songkick/Artists.pm | Perl | apache-2.0 | 410 |
name(arouter).
version('1.0.0').
title('Alternative HTTP path router').
author('Raivo Laanemets', 'http://rlaanemets.com/').
home('https://github.com/rla/alternative-router').
| segmond/alternative-router | pack.pl | Perl | mit | 176 |
package Statistics::Descriptive;
use strict;
use warnings;
##This module draws heavily from perltoot v0.4 from Tom Christiansen.
use 5.006;
use vars (qw($VERSION $Tolerance $Min_samples_number));
$VERSION = '3.0607';
$Tolerance = 0.0;
$Min_samples_number = 4;
package Statistics::Descriptive::Sparse;
use vars qw... | lskatz/lskScripts | lib/Statistics/Descriptive.pm | Perl | mit | 38,498 |
# 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/africa. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime::Tim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Africa/Accra.pm | Perl | mit | 12,437 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
get_relationship_IsRepresentedBy
=head1 SYNOPSIS
get_relationship_IsRepresentedBy [-c N] [-a] [--fields field-list] < ids > table.with.fields.added
=head1 DESCRIPTION
This relationship associates observational units with a genus,
s... | kbase/kb_seed | scripts/get_relationship_IsRepresentedBy.pl | Perl | mit | 6,111 |
#!/usr/bin/env perl
# SuperRead pipeline
# Copyright (C) 2012 Genome group at University of Maryland.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (a... | gpertea/stringtie | SuperReads_RNA/global-1/SuperReadsR/src2/getLengthStatisticsForKUnitigsFile.perl | Perl | mit | 2,171 |
package CSN::Controller::Account;
use Mojo::Base 'Mojolicious::Controller';
use String::Random;
use Crypt::PBKDF2;
use Text::Trim qw(trim);
use HTML::Escape;
use JSON;
use Try::Tiny;
sub dashboard {
my $c = shift;
my $page = $c->param('page') || 1;
my $activities_rs = $c->model('Recentactivityperobserver')->sea... | CodingMinds/CSN | lib/CSN/Controller/Account.pm | Perl | mit | 11,584 |
package MarpaX::Languages::PowerBuilder;
use 5.006;
use strict;
use warnings FATAL => 'all';
=encoding utf8
=head1 NAME
MarpaX::Languages::PowerBuilder - PowerBuilder sources parsers based on Marpa::R2
=head1 VERSION
Version 0.01
=cut
our $VERSION = '0.02';
=head1 SYNOPSIS
Dummy module, used to maintain vers... | sebkirche/MarpaX-Languages-PowerBuilder | lib/MarpaX/Languages/PowerBuilder.pm | Perl | mit | 2,363 |
package selenoprotein_ref_seq;
#
# This is a SAS component
#
# The proteins in this package are a representative subset of selenocysteine-
# containing proteins.
#
# Updates:
#
# 2010-01-05
# 2012-05-10 Add Hypothetical protein HNE_2485
#
use gjoseqlib;
our $ref_seqs = [ gjoseqlib::read_fasta( \*DATA ) ];
... | kbase/kb_seed | lib/selenoprotein_ref_seq.pm | Perl | mit | 33,460 |
use bigint;
use LWP::UserAgent;
use JSON -support_by_pp;
use Config::IniFiles;
use POSIX qw(strftime);
use IO::Socket::INET;
# required for --log-master
STDOUT->autoflush(1);
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
my $cfg = Config::IniFiles->new( -file => "/etc/uwsgi/local.ini" );
my $base_url = 'https://'.$cfg->val... | unbit/uwsgi.it | loopboxer.pl | Perl | mit | 5,724 |
%%% automatically generated by src/prolog/lib/verbnet2boxer.pl
%%%
:- module(verbnet,[verbnet/3,verbnet/4]).
:- use_module(boxer(slashes)).
%%% wrapper
%%%
verbnet(A,B,C):- verbnet(A,B,C,_).
%%% File: ext/VerbNet/accept-77.xml
%%% Primary: NP V how S (accept-77)
%%% Syntax: [np:Agent,v,s:Theme]
%%% CCG: (s:_\... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/pldata/verbnet_candc_boxer.pl | Perl | mit | 52,014 |
#!/usr/bin/perl -w
use strict;
my $sUsage = qq(
perl $0
</home/swang/90K_assay_design/final/blat_suvey_sequence/90K_SNP_mapped_chromosomes.out>
<synop_linkgrp_chr_summary_checked>
<mstmap_input_file>
<mstmap_output_file>
);
die $sUsage unless @ARGV == 4;
my ($snp_mapped_chr_file, $linkgrp_summary_file, $mstmap_input... | swang8/Perl_scripts_misc | get_snps_for_linkage_groups.pl | Perl | mit | 2,727 |
#!/usr/bin/perl
use strict;
use warnings;
use List::Permutor;
my $happiness = {};
while (<>) {
chomp;
if ($_ =~ /^(.+) would (gain|lose) (\d+) happiness units by sitting next to (.+)\.$/) {
$happiness->{$1}->{$4} = ($2 eq 'lose') ? -1 * $3 : int $3;
}
}
for my $guest (keys %{$happiness}) {
... | KenMGJ/advent-of-code | 2015/13/day13-2.pl | Perl | mit | 939 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite time locale
# generator (0.04). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate_from_cldr.
#
# This file as generat... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/Locale/es_ES.pm | Perl | mit | 1,090 |
#!/usr/local/bin/perl
#Title: make_RNA-seq_diff
#Auther: Naoto Imamachi
#ver: 1.0.0
#Date: 2014-08-28
=pod
=cut
use warnings;
use strict;
my $input = $ARGV[0];
#REF#################################
open(REF, "</home/akimitsu/custom_command/cuffnorm_Gencode/mRNA_lncRNA_list_gencode_vM4_mm10.txt") || die;
my %ref_li... | Naoto-Imamachi/NGS_data_analysis_pipeline | cuffnorm_Gencode/B_make_RNA-seq_diff_data_Gencode_vM4_mm10.pl | Perl | mit | 2,410 |
zip([],[],[]).
zip([H1|T1],[H2|T2],[[H1,H2]|T3]) :- zip(T1,T2,T3).
| itsWeller/CSE130FinalPractice | sp13/mk2/3-zip.pl | Perl | mit | 67 |
# 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/Services/CustomerUserAccessService/MutateCustomerUserAccessResponse.pm | Perl | apache-2.0 | 1,061 |
#
# 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 | database/postgres/mode/querytime.pm | Perl | apache-2.0 | 5,679 |
%------------------------------------------------------------------------------
%
% * Knihovna kombinatoru parseru *
%
% Zavadec knihovny kombinatoru parseru & podpory
% LPA Prolog
%
% Martin Dvorak
% 1999
%---------------------... | dvorka/parser-combinators | src/prolog/loadLPA-1.pl | Perl | apache-2.0 | 1,181 |
use Search::Kino03::KinoSearch;
1;
__END__
__XS__
MODULE = Search::Kino03::KinoSearch PACKAGE = Search::Kino03::KinoSearch::Index::IndexReader
void
set_race_condition_debug1(val_sv)
SV *val_sv;
PPCODE:
KINO_DECREF(kino_PolyReader_race_condition_debug1);
kino_PolyReader_race_condition_debug1 =
... | robertkrimen/Search-Kino03 | lib/Search/Kino03/KinoSearch/Index/IndexReader.pm | Perl | apache-2.0 | 2,544 |
package Scrabblicious::Plugin::Hooks;
use Mojo::Base 'Mojolicious::Plugin';
sub register {
my ($self, $app, $config) = @_;
$config //= {};
# Intercept JSON requests and add more useful information to the output.
$app->hook(
before_render => sub {
my ($c, $args) = @_;
# If client is requestin... | kwakwaversal/mojolicious-plugin-restify-example | lib/Scrabblicious/Plugin/Hooks.pm | Perl | apache-2.0 | 3,524 |
#
# Copyright 2015 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | s-duret/centreon-plugins | centreon/plugins/statefile.pm | Perl | apache-2.0 | 8,619 |
#!/usr/bin/env perl
# 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... | james-monkeyshines/ensembl | misc-scripts/xref_mapping/xref_mindmap/generate_xref_mindmap.pl | Perl | apache-2.0 | 16,874 |
package Google::Ads::AdWords::v201809::BiddingStrategyService::get;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('get');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/BiddingStrategyService/get.pm | Perl | apache-2.0 | 2,012 |
#
# 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/devices/video/axis/snmp/mode/components/fan.pm | Perl | apache-2.0 | 2,540 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | os/solaris/local/mode/lomv120components/voltage.pm | Perl | apache-2.0 | 2,380 |
package Bio::EnsEMBL::Funcgen::RunnableDB::PeakCalling::RemoveDuplicates;
use strict;
use base 'Bio::EnsEMBL::Hive::Process';
use Data::Dumper;
sub run {
my $self = shift;
my $bam_file_with_duplicates = $self->param_required('merged_bam');
my $full_path_to_deduplicated_bam = $self->param_required('dedu... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/RunnableDB/PeakCalling/RemoveDuplicates.pm | Perl | apache-2.0 | 1,702 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | apps/hddtemp/local/mode/temperature.pm | Perl | apache-2.0 | 6,751 |
package BS;
use strict;
use warnings;
use v5.10;
use base 'Exporter';
use Path::Tiny;
use JSON;
use YAML::XS;
use Mojo::URL;
use Template;
use Template::Stash;
use Format::Util::Numbers;
our @EXPORT_OK = qw/
root_path is_dev set_is_dev branch set_branch
localize set_lang all_languages lang_display_name
ge... | shuwnyuantee/binary-static | scripts/lib/BS.pm | Perl | apache-2.0 | 8,943 |
#!/usr/bin/env perl
BEGIN {
$ENV{CATALYST_SCRIPT_GEN} = 40;
}
use Catalyst::ScriptRunner;
Catalyst::ScriptRunner->run('ISC::BIND::Stats::UI', 'Server');
1;
=head1 NAME
isc_bind_stats_ui_server.pl - Catalyst Test Server
=head1 SYNOPSIS
isc_bind_stats_ui_server.pl [options]
-d --debug force debug... | isc-projects/bind9-stats | ISC-BIND-Stats-UI/script/isc_bind_stats_ui_server.pl | Perl | bsd-2-clause | 1,778 |
package Task::Tags;
# Pragmas.
use strict;
use warnings;
# Version.
our $VERSION = 0.07;
1;
__END__
=pod
=encoding utf8
=head1 NAME
Task::Tags - Install the Tags modules.
=head1 SYNOPSIS
cpanm Task::Tags
=head1 SEE ALSO
=over
=item L<Tags>
Structure oriented SGML/XML/HTML/etc. elements manipulation.
=it... | tupinek/Task-Tags | Tags.pm | Perl | bsd-2-clause | 1,230 |
package AsposeTasksCloud::Object::OrdinalNumber;
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 "AsposeTasksCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto ge... | asposetasks/Aspose_Tasks_Cloud | SDKs/Aspose.Tasks-Cloud-SDK-for-Perl/lib/AsposeTasksCloud/Object/OrdinalNumber.pm | Perl | mit | 764 |
#!/usr/bin/env perl
# 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://ww... | mjg17/ensembl | misc-scripts/ping_ensembl.pl | Perl | apache-2.0 | 7,678 |
## OpenXPKI::Config
##
## Written 2011 by Scott Hardin for the OpenXPKI project
## Copyright (C) 2010, 2011 by The OpenXPKI Project
##
## Based on the CPAN module App::Options
##
## vim: syntax=perl
use Config::Merge;
use OpenXPKI::Exception;
use OpenXPKI::XML::Cache;
package OpenXPKI::Config::Merge;
use base qw( Co... | mrscotty/openxpki | core/server/OpenXPKI/Config/Merge.pm | Perl | apache-2.0 | 4,630 |
package Paws::ES::ListTagsResponse;
use Moose;
has TagList => (is => 'ro', isa => 'ArrayRef[Paws::ES::Tag]');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ES::ListTagsResponse
=head1 ATTRIBUTES
=head2 TagList => ArrayRef[L<Paws::ES::Tag>]
List o... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ES/ListTagsResponse.pm | Perl | apache-2.0 | 405 |
# 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... | eric-haibin-lin/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/Base.pm | Perl | apache-2.0 | 11,885 |
#!/usr/bin/perl -w
# This perl script removes duplicate include paths left to the right
use strict;
my @all_incl_paths = @ARGV;
my @cleaned_up_incl_paths;
foreach( @all_incl_paths ) {
$_ = remove_rel_paths($_);
if( !($_=~/-I/) ) {
push @cleaned_up_incl_paths, $_;
}
elsif( !entry_exists($_,\@cleaned_up_incl_paths)... | nschloe/seacas | packages/zoltan/config/strip_dup_incl_paths.pl | Perl | bsd-3-clause | 879 |
package Moose::Meta::Class::Immutable::Trait;
BEGIN {
$Moose::Meta::Class::Immutable::Trait::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Class::Immutable::Trait::VERSION = '2.0604';
}
use strict;
use warnings;
use Class::MOP;
use Scalar::Util qw( blessed );
use base 'Class::MOP::Class::Immutable::Trait';
sub a... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Moose/Meta/Class/Immutable/Trait.pm | Perl | mit | 1,853 |
do 'iscsi-client-lib.pl';
# backup_config_files()
# Returns files and directories that can be backed up
sub backup_config_files
{
return ( $config{'config_file'}, $config{'initiator_file'},
$config{'ifaces_dir'} );
}
# pre_backup(&files)
# Called before the files are actually read
sub pre_backup
{
return undef;
}
... | BangL/webmin | iscsi-client/backup_config.pl | Perl | bsd-3-clause | 646 |
=head1 This Week on perl5-porters (7-13 April 2003)
This week : MacOS X problems, big and small patch proposals,
cross-compilation and unknown errors.
=head2 use base and import
Casey West proposed a patch to call the import() method of a module
referenced through the C<use base> pragma. Graham Barr disagrees,
sayin... | rjbs/perlweb | docs/dev/perl5/list-summaries/2003/p5p-200304-2.pod | Perl | apache-2.0 | 5,369 |
package UI::Status;
#
#
# 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, softwar... | alficles/incubator-trafficcontrol | traffic_ops/app/lib/UI/Status.pm | Perl | apache-2.0 | 3,355 |
package MAP::API;
use Dancer ':syntax';
use MAP::auth::Auth;
use MAP::dataStores::ClientListing;
use MAP::MASTERDATA::RELIGIONS;
use MAP::LibraryFields::Fields;
use MAP::LibraryFields::Category;
use MAP::LibraryFields::SubCategory;
use MAP::LibraryFields::Options;
use MAP::LibraryFields::Groups;
use MAP::LibraryField... | dimpu/AravindCom | MAP-API/lib/MAP/API.pm | Perl | mit | 5,514 |
#!/usr/bin/perl
# I used this to convert my data from http://www.runningahead.com/ into
# the plaintext format used by the activity log code. (This reads the
# tab-separated RA format, not the XML format.)
use strict;
use warnings;
use diagnostics;
use File::Basename qw(dirname basename);
use File::Path qw(mkpath);
... | jsh1/activity_log | misc/import-ra-log.pl | Perl | mit | 7,048 |
########################################################################
# Bio::KBase::ObjectAPI::BaseObject - This is a base object that serves as a foundation for all other objects
# Author: Christopher Henry
# Author email: chenry@mcs.anl.gov
# Author affiliation: Mathematics and Computer Science Division, Argonne N... | kbase/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/BaseObject.pm | Perl | mit | 23,666 |
#
# The contents of this file are subject to the 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 of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basi... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/RDF/Core/NodeFactory.pm | Perl | mit | 5,013 |
:- ensure_loaded('$REGULUS/PrologLib/compatibility').
%---------------------------------------------------------------
:- module(random_subcorpus,
[random_subcorpus/4,
random_sub_bicorpus/7,
subcorpus/3,
test_random_subcorpus/1
]
).
%----------------------------------------------------... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/PrologLib/CorpusTools/random_subcorpus.pl | Perl | mit | 5,770 |
# pod source for openjazz man page
# pod2man -s6 -r160214 --stderr -cSlackBuilds.org openjazz.pod > openjazz.6
=pod
=head1 NAME
B<openjazz> - free/open-source game engine for Jazz Jackrabbit
=head1 SYNOPSIS
B<openjazz> I<[-f]> I<[dir] ...>
=head1 DESCRIPTION
OpenJazz is a free, open-source version of the classic... | panosmdma/SlackOnly-SlackBuilds | games/openjazz/openjazz.pod | Perl | mit | 2,039 |
package Yogafire::Regions;
use strict;
use warnings;
use Mouse;
has 'out_columns' => (is => 'rw', default => sub { [qw/region_id region_name/] }, );
has 'out_format' => (is => 'rw');
has 'regions' => (is => 'rw');
no Mouse;
my @meta_regions = (
{ id => 'us-east-1', oid => 'us-east-1', name => 'US Ea... | toritori0318/p5-Yogafire | lib/Yogafire/Regions.pm | Perl | mit | 3,080 |
=pod
=head1 NAME
EVP_SignInit, EVP_SignUpdate, EVP_SignFinal - EVP signing functions
=head1 SYNOPSIS
#include <openssl/evp.h>
int EVP_SignInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl);
int EVP_SignUpdate(EVP_MD_CTX *ctx, const void *d, unsigned int cnt);
int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned ... | vbloodv/blood | extern/openssl.orig/doc/crypto/EVP_SignInit.pod | Perl | mit | 3,685 |
package Module::Build::Platform::aix;
use strict;
use warnings;
our $VERSION = '0.4216';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
our @ISA = qw(Module::Build::Platform::Unix);
# This class isn't necessary anymore, but we can't delete it, because
# some people might still have the old copy in thei... | jkb78/extrajnm | local/lib/perl5/Module/Build/Platform/aix.pm | Perl | mit | 810 |
#!/usr/bin/perl
use lib "/httpd/modules";
my $USERNAME = "heirloom";
my $ucUSERNAME = uc($USERNAME);
system("create database $ucUSERNAME");
system("mysql $ucUSERNAME < /backend/patches/schema.sql");
| CommerceRack/backend | scripts/account/provision.pl | Perl | mit | 207 |
# 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/BU3Xn7v6Kb/australasia. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTime... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/Australia/Lord_Howe.pm | Perl | mit | 25,351 |
# TTT::UserAgent
#
# $Id$ $Revision$
# $Source$ $Author$ $Date$
#
# A derivative of LWP::UserAgent to be used for fetching stuff.
#
#
package App::TTT::UserAgent;
use base qw(LWP::UserAgent);
# Pragma
use warnings;
use strict;
# Modules
use autodie;
## no critic
our ($VERSION) = ( '\$Revision: 1 \$' =~ m{ \$Revisio... | hissohathair/mumpsimus | exp/perl/lib/App/TTT/UserAgent.pm | Perl | mit | 360 |
:- module(bc_mail, [
bc_mail_send/4, % +Goal, +From, +Subject, +To
bc_mail_send_text/4, % +Text, +From, +Subject, +To
bc_mail_test/3 % +User, +Params, -Result
]).
/** <module> Helper module to send mail notifications */
:- use_module(library(smtp)).
:- use_module(library(error)).
:- use_module(... | rla/blog-core | prolog/bc/bc_mail.pl | Perl | mit | 2,916 |
package wasarabi::Web::Plugin::Session;
use strict;
use warnings;
use utf8;
use Amon2::Util;
use HTTP::Session2::ClientStore2;
use Crypt::CBC;
sub init {
my ($class, $c) = @_;
# Validate XSRF Token.
$c->add_trigger(
BEFORE_DISPATCH => sub {
my ( $c ) = @_;
if ($c->req->met... | rosiro/wasarabi | lib/wasarabi/Web/Plugin/Session.pm | Perl | mit | 1,607 |
package Weather::PWS::DataType::Coordinates;
use strict;
use parent qw( Weather::PWS::DataType::Base );
# lat / long cordinates
sub decimal_latitude
{
my ($self, $latitude) = @_;
if (defined($latitude))
{
$self->{_latitude} = $latitude;
}
return $self->{_latitude};
}
sub decimal_longitu... | console0/pi-weather-station | Weather-PWS/lib/Weather/PWS/DataType/Coordinates.pm | Perl | mit | 4,863 |
#!/usr/bin/perl
require 'quickies.pl'
print "Content-type: text/html\n\n";
$user_information = $MasterPath . "/User Information";
$Planet = $ENV{QUERY_STRING};
&parse_form;
use File::Find;
foreach $key(keys(%data)){
$key =~ tr/"%27"/\'/;
print $key;
$userdir = $MasterPath . "/se/Planets/$Planet/users/$key";
chdi... | cpraught/shattered-empires | deleteusr.pl | Perl | mit | 1,651 |
#!/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 licenses this file to You under the Apache License, Version 2.0
# (the "Licen... | apache/lenya | tools/bin/complete-ant-cmd.pl | Perl | apache-2.0 | 3,199 |
# 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/MobileApplicationInfo.pm | Perl | apache-2.0 | 1,052 |
#
# 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/nokia/timos/snmp/plugin.pm | Perl | apache-2.0 | 2,691 |
## OpenXPKI::Crypto::Tool::PKCS7::API
## Written 2006 by Alexander Klink for the OpenXPKI project
## (C) Copyright 2006 by The OpenXPKI Project
use strict;
use warnings;
package OpenXPKI::Crypto::Tool::PKCS7::API;
use base qw(OpenXPKI::Crypto::API);
use Class::Std;
use English;
use OpenXPKI::Debug;
## scalar value... | durko/openxpki | core/server/OpenXPKI/Crypto/Tool/PKCS7/API.pm | Perl | apache-2.0 | 1,305 |
#
# 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/network/frontdoor/mode/discovery.pm | Perl | apache-2.0 | 1,302 |
## OpenXPKI::Service::Default.pm
##
## Written 2005-2006 by Michael Bell and Martin Bartosch for the OpenXPKI project
## Polished to use a state-machine like interface 2007 by Alexander Klink
## for the OpenXPKI project
## (C) Copyright 2005-2007 by The OpenXPKI Project
package OpenXPKI::Service::Default;
use base qw... | oliwel/openxpki | core/server/OpenXPKI/Service/Default.pm | Perl | apache-2.0 | 36,525 |
package VMOMI::ToolsConfigInfoToolsLastInstallInfo;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['counter', undef, 0, ],
['fault', 'LocalizedMethodFault', 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}... | stumpr/p5-vmomi | lib/VMOMI/ToolsConfigInfoToolsLastInstallInfo.pm | Perl | apache-2.0 | 480 |
:- module(dictionary, [dictionary/6],
[assertions,basicmodes,regtypes]).
:- include(library(iso)).
:- use_module(library(iso_byte_char)).
:- use_module(library(basicprops)).
:- use_module(library(lists)).
:- use_module(internal_types).
:- comment(module,"This module contains the fixed dictionary. All... | leuschel/ecce | www/CiaoDE/ciao/library.development/vrml/dictionary.pl | Perl | apache-2.0 | 27,273 |
###########################################$
# Copyright 2008-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License.
# A copy of the License is located at
#
# http://aws.a... | electric-cloud/EC-EC2 | src/main/resources/project/lib/Amazon/EC2/Model/RequestSpotInstancesRequest.pm | Perl | apache-2.0 | 6,136 |
package VMOMI::MultipleCertificatesVerifyFaultThumbprintData;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['port', undef, 0, ],
['thumbprint', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub ... | stumpr/p5-vmomi | lib/VMOMI/MultipleCertificatesVerifyFaultThumbprintData.pm | Perl | apache-2.0 | 474 |
# Copyright (c) 2014 Timm Murray
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditio... | gitpan/UAV-Pilot-WumpusRover | lib/UAV/Pilot/WumpusRover/Video.pm | Perl | bsd-2-clause | 8,643 |
package Zonemaster::Logger::Entry v1.0.0;
use 5.14.2;
use Time::HiRes qw[time];
use JSON;
use Moose;
use Zonemaster;
use overload '""' => \&string;
our %numeric = (
DEBUG3 => -2,
DEBUG2 => -1,
DEBUG => 0,
INFO => 1,
NOTICE => 2,
WARNING => 3,
ERROR => 4,
CRITICAL => 5... | dolmen/p5-Zonemaster | lib/Zonemaster/Logger/Entry.pm | Perl | bsd-2-clause | 4,464 |
#! /usr/bin/env perl
# Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | youtube/cobalt | third_party/boringssl/src/crypto/fipsmodule/bn/asm/co-586.pl | Perl | bsd-3-clause | 6,008 |
#!/usr/bin/perl -w
use strict;
my $classpath = "$ENV{CLASSPATH}:antlr-2.7.5.jar:stringtemplate.jar:jung-1.7.1.jar:commons-collections-3.1.jar:colt.jar:$ENV{MAPLE}/java/jopenmaple.jar:$ENV{MAPLE}/java/externalcall.jar";
unless (@ARGV) {
@ARGV = ('../../src/LAPACK/BLAS/SRC/caxpy.f');}
system($ENV{JAVARUN}, "-cp", $c... | dacmot/RevEngTools | rev.pl | Perl | bsd-3-clause | 402 |
package Lingua::YALI::LanguageIdentifier;
# ABSTRACT: Module for language identification.
use strict;
use warnings;
use File::ShareDir;
use File::Glob;
use Carp;
use Moose;
our $VERSION = '0.015'; # VERSION
extends 'Lingua::YALI::Identifier';
has '_languages' => (is => 'rw', isa => 'ArrayRef');
has '_language_model... | gitpan/Lingua-YALI | lib/Lingua/YALI/LanguageIdentifier.pm | Perl | bsd-3-clause | 8,599 |
use strict;
use warnings;
package Net::Amazon::SignatureVersion4;
{
$Net::Amazon::SignatureVersion4::VERSION = '0.006';
}
use MooseX::App qw(Config);
use Digest::SHA qw(sha256_hex hmac_sha256_hex hmac_sha256 hmac_sha256_base64);
use POSIX qw(strftime);
use URI::Encode;
use HTTP::Date;
use 5.010;
# ABSTRACT: Signs re... | gitpan/Net-Amazon-SignatureVersion4 | lib/Net/Amazon/SignatureVersion4.pm | Perl | bsd-3-clause | 10,122 |
# SNMP::Info::MAU - Media Access Unit - RFC 2668
# $Id$
#
# Copyright (c) 2008 Max Baker changes from version 0.8 and beyond.
#
# Copyright (c) 2002,2003 Regents of the University of California
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted pr... | lucwillems/SNMP-INFO | Info/MAU.pm | Perl | bsd-3-clause | 18,528 |
#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 AsposePdfCloud::PdfApi;
use AsposePdfCloud::ApiClient;
use AsposePdfCloud::Configuration;
use AsposePdf... | asposepdf/Aspose_Pdf_Cloud | Examples/Perl/Document-Properties/SetSingleDocumentProperty.pl | Perl | mit | 1,758 |
#!/usr/bin/perl -w
######################################################################
#
# process LNB data files, u01, u03, mpr and write data
# out as csv files.
#
# NOTES:
#
# z_cass or feeder table no = FADD/10000
#
######################################################################
#
use strict;
#
use Getop... | ombt/analytics | sql/1504241859-lnb-file-audit/lnb2csv.pl | Perl | mit | 272,002 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestFilter::out_str_req_eos;
# here we test how EOS is passed from one streaming filter to another,
# making sure that it's not lost
use strict;
use warnings FATAL =... | dreamhost/dpkg-ndn-perl-mod-perl | t/filter/TestFilter/out_str_req_eos.pm | Perl | apache-2.0 | 1,789 |
package NP::Model::VendorZone;
use strict;
use NP::Util qw();
my %reserved_zone_names = map { $_ => 1 } qw(
europe
north-america
south-america
america
asia
africa
root
ntppool
vendor
);
sub validate {
my $vz = shift;
my $errors = {};
unless ($vz->zone_name) {
$errors->{zone_... | punitvara/ntppool | lib/NP/Model/VendorZone.pm | Perl | apache-2.0 | 1,868 |
#
# 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 | hardware/server/cisco/ucs/mode/components/localdisk.pm | Perl | apache-2.0 | 4,292 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.