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 |
|---|---|---|---|---|---|
#!/pkg/gnu/bin//perl5
#
# write new values from form to $wd/conf/testbed, and run WebStone
#
push(@INC, "$wd/bin");
require('WebStone-common.pl');
html_begin("Current Configuration");
&show_model();
&write_data();
print CLIENT <<EOF
<HR>
<FORM METHOD="POST" ACTION="$wd/bin/runbench.pl">
<P><INPUT TYPE="SUBMIT" VALU... | wfnex/openbras | src/ace/ACE_wrappers/apps/JAWS/clients/WebSTONE/bin/write-testbed.pl | Perl | bsd-3-clause | 788 |
#!/usr/bin/perl
use strict;
use warnings 'all';
use YAML qw();
use lib '/sysbuilder/lib';
use Yahoo::SysBuilder::Utils qw(run_local notify_boothost);
my $cfg = YAML::LoadFile( '/sysbuilder/etc/config.yaml' );
my $dhclient = YAML::LoadFile( '/sysbuilder/etc/dhclient.yaml' );
my $ybiipinfo = {
installdate ... | eam/ysysbuilder | steps/std-esxi/900_finish.pl | Perl | bsd-3-clause | 1,081 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Slurp qw/read_file/;
use Data::Dumper;
my @lines = read_file('input');
my $res;
my $i = 0;
my @one = ();
my @two = ();
my @three = ();
foreach my $line (@lines){
chomp $line;
my ($a, $b, $c) = $line =~ m/(\d+)\s+(\d+)\s+(\d+)/;
push @one, $a;
push @two, $... | Aneurysm9/advent | 2016/day3/day3.pl | Perl | bsd-3-clause | 842 |
package LWP::UserAgent;
use unmocked 'Moose';
use unmocked 'HTTP::Response';
use unmocked 'HTTP::Request';
our $AGENT_STRING;
sub agent {
my ($self, $string) = @_;
$AGENT_STRING = $string;
}
our $TIMEOUT;
sub timeout {
my ($self, $timeout) = @_;
$TIMEOUT = $timeout;
}
our $RESPONSE;
our $REQUEST;
su... | sanyaade-mobiledev/smart-platform | t/Mock/LWP/UserAgent.pm | Perl | mit | 450 |
require 5;
package Pod::Simple::Progress;
$VERSION = '3.32';
use strict;
# Objects of this class are used for noting progress of an
# operation every so often. Messages delivered more often than that
# are suppressed.
#
# There's actually nothing in here that's specific to Pod processing;
# but it's ad-hoc enough... | operepo/ope | bin/usr/share/perl5/core_perl/Pod/Simple/Progress.pm | Perl | mit | 2,412 |
package YAML::Dumper;
use YAML::Mo;
extends 'YAML::Dumper::Base';
our $VERSION = '0.81';
use YAML::Dumper::Base;
use YAML::Node;
use YAML::Types;
# Context constants
use constant KEY => 3;
use constant BLESSED => 4;
use constant FROMARRAY => 5;
use constant VALUE => "\x07YAML\x07VALUE\x07";
# Common YAM... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/YAML/Dumper.pm | Perl | bsd-3-clause | 17,194 |
# install_check.pl
do 'mon-lib.pl';
# is_installed(mode)
# For mode 1, returns 2 if the server is installed and configured for use by
# Webmin, 1 if installed but not configured, or 0 otherwise.
# For mode 0, returns 1 if installed, 0 if not
sub is_installed
{
if (-r $mon_config_file) {
return $_[0] ? 2 : 1;
}
retu... | rcuvgd/Webmin22.01.2016 | mon/install_check.pl | Perl | bsd-3-clause | 329 |
#!/usr/bin/env perl
##############################################################################
# #
# Copyright 2014 Intel Corporation #
# ... | jdgarcia/nodegit | vendor/openssl/openssl/crypto/ec/asm/ecp_nistz256-x86_64.pl | Perl | mit | 68,125 |
% | ————————————————————————————————————————————————————————————————————————————
% | # 1 - xreverse
% |
% | ## References
% | http://learnprolognow.org/lpnpage.php?pagetype=html&pageid=lpn-htmlse25
% |
% | ## Notes
% | Common pattern used in solution, detailed comments included to
% | demonstrate thorough understandin... | commande/cmput325 | asn3/1255891.pl | Perl | mit | 1,238 |
# $Id: Cipher.pm,v 1.12 2008/09/24 19:21:20 turnstep Exp $
package Net::SSH::Perl::Cipher;
use strict;
use Carp qw( croak );
use vars qw( %CIPHERS %CIPHERS_SSH2 %CIPH_REVERSE %SUPPORTED );
BEGIN {
%CIPHERS = (
None => 0,
IDEA => 1,
DES => 2,
DES3 => 3,
RC4 => 5,
B... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/SSH/Perl/Cipher.pm | Perl | mit | 6,006 |
#!/usr/bin/env perl
=head1 NAME
UpdateMetadataMdImageTableCharacterLength.pm
=head1 SYNOPSIS
mx-run UpdateMetadataMdImageTableCharacterLength [options] -H hostname -D dbname -u username [-F]
this is a subclass of L<CXGN::Metadata::Dbpatch>
see the perldoc of parent class for more details.
=head1 DESCRIPTION
... | solgenomics/sgn | db/00144/UpdateMetadataMdImageTableCharacterLength.pm | Perl | mit | 1,554 |
#
# $Header: svn://svn/SWM/trunk/web/PMSHold.pm 8251 2013-04-08 09:00:53Z rlee $
#
package PMSHold;
require Exporter;
@ISA = qw(Exporter);
@EXPORT=qw(checkForPMSHolds createPMSMassPayHold updatePMSHolds releasePMSHold finaliseRelease);
@EXPORT_OK=qw(checkForPMSHolds createPMSMassPayHold updatePMSHolds releasePMSHold f... | facascante/slimerp | fifs/web/PMSHold.pm | Perl | mit | 7,560 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
## Author: Qiang Gong <qgong@coh.org>
my $file = shift or &usage;
my ( $help, $ext, $int_file );
$ext = 10;
GetOptions(
'extension=i' => \$ext,
'interval=s' => \$int_file,
'help!' => \$help,
);
&usage if $help;
&usage unless $int_file;
&u... | littlegq/PerlPrograms | probe_pos.pl | Perl | mit | 1,260 |
#!/usr/bin/perl
# ********************************************************************
# * Copyright (C) 2016 and later: Unicode, Inc. and others.
# * License & terms of use: http://www.unicode.org/copyright.html#License
# ********************************************************************
# *********************... | quyse/flaw | flaw-font-icu/src/icu/source/test/perf/charperf/CharPerf.pl | Perl | mit | 2,368 |
#!/usr/bin/perl -w
# ***************************************************************************************
# FUNCTION: Upload, check and process cytogenetics Sample Report files to produce a
# tab separated values (tsv) file in a user defined format (see example file).
#
# ARGUMENTS: Cytogenetics Sample Rep... | LauraCarreto/CytoReport | cytoReport_tsv.pl | Perl | mit | 21,891 |
#!/usr/bin/perl
#### UNSTABLE (unsolicited)
# todo:
# -make spam/talk limiters channel-specific
# -affection meters per person
# -timer
# -nickname randomizer
# -config parsing
# -20 questions: lose state
# -trigger word stripper
package Bot;
use base qw(Bot::BasicBot);
use POE;
use Switch;
use Time::localtime;
use ... | modgethanc/kvincent | dep/_kvincent.pl | Perl | mit | 18,200 |
% random_generate.pl
%---------------------------------------------------------------
:- module(random_generate,
[random_generate_words/2,
random_generate_atom_list/3,
random_generate_and_print_atom_list/3]
).
%---------------------------------------------------------------
:- use_module('$REGULUS... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Prolog/random_generate.pl | Perl | mit | 4,356 |
use utf8;
package eduity::Schema::Userskill;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
eduity::Schema::Userskill
=cut
use strict;
use warnings;
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';
=head1 COM... | vendion/Eduity | lib/eduity/Schema/Userskill.pm | Perl | mit | 1,702 |
package Paws::SQS::SetQueueAttributes;
use Moose;
has Attributes => (is => 'ro', isa => 'Paws::SQS::QueueAttributeMap', traits => ['NameInRequest'], request_name => 'Attribute' , required => 1);
has QueueUrl => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (i... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SQS/SetQueueAttributes.pm | Perl | apache-2.0 | 6,865 |
# 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/CampaignFeedService/GetCampaignFeedRequest.pm | Perl | apache-2.0 | 1,057 |
#!/software/bin/perl -w
# Copyright [1999-2014] EMBL-European Bioinformatics Institute
# and Wellcome Trust Sanger 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://... | navygit/ncRNA_Pipeline | scripts/xrefs_pipeline/make_EGs_xref_db.pl | Perl | apache-2.0 | 5,234 |
#
# 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 | apps/microsoft/sccm/local/plugin.pm | Perl | apache-2.0 | 1,373 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/ensembl | modules/Bio/EnsEMBL/Gene.pm | Perl | apache-2.0 | 45,424 |
split(L,L1,L2) :- append(L1,L2,L), L1 = [_|_], L2 = [_|_].
%?- split([a,b,c,d,e],A,B)
% A=[a]
% B=[b,c,d,e]
% A=[a,b]
% B=[c,d,e]
% A=[a,b,c]
% B=[d,e]
% A=[a,b,c,d]
% B=[e]
%NO
| s-webber/projog | src/test/prolog/miscellaneous/55.pl | Perl | apache-2.0 | 179 |
=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/Document/Image/R2R.pm | Perl | apache-2.0 | 8,919 |
package Google::Ads::AdWords::v201402::PendingInvitation;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/mcm/v201402' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
u... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/PendingInvitation.pm | Perl | apache-2.0 | 2,070 |
#
# 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/informix/sql/mode/globalcache.pm | Perl | apache-2.0 | 9,867 |
package Paws::CloudFront::UpdateStreamingDistributionResult;
use Moose;
has ETag => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'ETag');
has StreamingDistribution => (is => 'ro', isa => 'Paws::CloudFront::StreamingDistribution');
use MooseX::ClassAttribute;
class_has _payload => (... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudFront/UpdateStreamingDistributionResult.pm | Perl | apache-2.0 | 771 |
package VMOMI::VirtualDiskSparseVer1BackingInfo;
use parent 'VMOMI::VirtualDeviceFileBackingInfo';
use strict;
use warnings;
our @class_ancestors = (
'VirtualDeviceFileBackingInfo',
'VirtualDeviceBackingInfo',
'DynamicData',
);
our @class_members = (
['diskMode', undef, 0, ],
['split', 'boolean... | stumpr/p5-vmomi | lib/VMOMI/VirtualDiskSparseVer1BackingInfo.pm | Perl | apache-2.0 | 715 |
=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/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/PipeConfig/Parts/PrepareMasterDatabaseForRelease.pm | Perl | apache-2.0 | 14,214 |
package VMOMI::ArrayOfHostTpmEventLogEntry;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostTpmEventLogEntry', 'HostTpmEventLogEntry', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = ... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostTpmEventLogEntry.pm | Perl | apache-2.0 | 438 |
use strict;
use warnings;
package CPAN::Testers::Metabase::AWS;
# ABSTRACT: Metabase backend on Amazon Web Services
our $VERSION = '1.999002'; # VERSION
use Moose;
use Metabase::Archive::S3 1.000;
use Metabase::Index::SimpleDB 1.000;
use Metabase::Librarian 1.000;
use Net::Amazon::Config;
use namespace::autoclean;
wi... | gitpan/CPAN-Testers-Metabase-AWS | lib/CPAN/Testers/Metabase/AWS.pm | Perl | apache-2.0 | 5,918 |
package VMOMI::ArrayOfHostSystemResourceInfo;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostSystemResourceInfo', 'HostSystemResourceInfo', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $cl... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostSystemResourceInfo.pm | Perl | apache-2.0 | 444 |
#
# This file is part of HTML-FormFu-ExtJS
#
# This software is Copyright (c) 2011 by Moritz Onken.
#
# This is free software, licensed under:
#
# The (three-clause) BSD License
#
package HTML::FormFu::ExtJS::Element::Repeatable;
BEGIN {
$HTML::FormFu::ExtJS::Element::Repeatable::VERSION = '0.090';
}
use strict;
... | gitpan/HTML-FormFu-ExtJS | lib/HTML/FormFu/ExtJS/Element/Repeatable.pm | Perl | bsd-3-clause | 762 |
#!/usr/bin/env perl
use strict;
die "USAGE: $0 KEGGftp/ligand/compound/compound" unless $#ARGV == 1;
$/ = '///';
open COMPOUND, $ARGV[0] || die $!;
while(<COMPOUND>) {
/^ENTRY\s+ (?<CPD>C\d{5}).*
^NAME\s+ (?<NAME> .*?)\n.*
/xsm;
my $cpd = $+{CPD};
my $name = $+{NAME};
my $exact = ... | etheleon/keggParser | kegg.0200.cpd_nodedetails.pl | Perl | mit | 1,275 |
#!/usr/bin/perl
print "Content-type: text/html \n\n";
print "Hello, World.";
| rbowen/presentations | big_tent/first.pl | Perl | apache-2.0 | 78 |
package Paws::CloudDirectory::DetachFromIndexResponse;
use Moose;
has DetachedObjectIdentifier => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudDirectory::DetachFromIndexResponse
=head1 ATTRIBUTES
=head2 DetachedOb... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/DetachFromIndexResponse.pm | Perl | apache-2.0 | 451 |
# ${license-info}
# ${developer-info}
# ${author-info}
# ${build-info}
package Test::Quattor::TextRender::Suite;
use strict;
use warnings;
use Test::More;
use Cwd qw(abs_path);
use File::Basename;
use File::Find;
use Test::Quattor::ProfileCache qw(prepare_profile_cache set_profile_cache_options);
use Test::Quattor... | quattor/maven-tools | build-scripts/src/main/perl/Test/Quattor/TextRender/Suite.pm | Perl | apache-2.0 | 7,602 |
package Google::Ads::AdWords::v201406::TrafficEstimatorService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201406' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACK... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/TrafficEstimatorService/ResponseHeader.pm | Perl | apache-2.0 | 1,063 |
#------------------------------------------------------------------------------
# File: PICT.pm
#
# Description: Read PICT meta information
#
# Revisions: 10/10/2005 - P. Harvey Created
#
# Notes: Extraction of PICT opcodes is still experimental
#
# - size difference in PixPat color table?? (imagemag... | opf-attic/ref | tools/fits/0.5.0/tools/exiftool/perl/lib/Image/ExifTool/PICT.pm | Perl | apache-2.0 | 34,147 |
=head1 Artistic License 2.0 Notes
The heart of the Artistic license is the idea that artists, people who create
things, should be able to have ongoing artistic involvement in their work. The
goal of the Artistic 2.0 revision is to make the terms of the original Artistic
License clearer and more readable. In some cases... | autarch/perlweb | docs/foundation/legal/licenses/artistic-2_0-notes.pod | Perl | apache-2.0 | 8,153 |
#!/usr/bin/perl
require "/perfstat/build/serialize/create/ServiceConfig.pl";
#add create new service
$service = Service->new( RRA => "RRA:AVERAGE:0.5:1:288 RRA:AVERAGE:0.5:7:288 RRA:AVERAGE:0.5:30:288 RRA:AVERAGE:0.5:365:288",
rrdStep => "300",
serviceName => "procs",
);
#add metric 0
$obj = Me... | ktenzer/perfstat | misc/serialize/create/Linux/63004/procs.pl | Perl | apache-2.0 | 6,448 |
=pod
=head1 NAME
DERlib - internal OpenSSL DER library
=head1 DESCRIPTION
OpenSSL contains an internal small DER reading and writing library,
as an alternative to the publicly known i2d and d2i functions. It's
solely constituted of functions that work as building blocks to create
more similar functions to encode a... | jens-maus/amissl | openssl/doc/internal/man7/DERlib.pod | Perl | bsd-3-clause | 5,007 |
#!/usr/bin/perl
# 'Copyright 1994, Animorphic Systems. $Revision: 1.3 $
sub dirname {
local($name) = @_;
$name =~ s/\\/\//g;
$name =~ tr/A-Z/a-z/;
return $name;
}
$Delta = do dirname($ENV{'DeltaDir'});
$Directory = "$Delta/vm/prims";
opendir(DIR,$Directory) || die "Can't open vm/prims!\n";
@filenames = read... | talksmall/Strongtalk | tools/primDefFilter.pl | Perl | bsd-3-clause | 1,053 |
#------------------------------------------------------------------------------
# File: WriteIPTC.pl
#
# Description: Write IPTC meta information
#
# Revisions: 12/15/2004 - P. Harvey Created
#------------------------------------------------------------------------------
package Image::ExifTool::IPTC;
use... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/WriteIPTC.pl | Perl | apache-2.0 | 30,306 |
=head1 cron-lib.pl
Functions for listing, creating and managing Unix users' cron jobs.
foreign_require("cron", "cron-lib.pl");
@jobs = cron::list_cron_jobs();
$job = { 'user' => 'root',
'active' => 1,
'command' => 'ls -l >/dev/null',
'special' => 'hourly' };
cron::create_cron_job($jo... | rcuvgd/Webmin22.01.2016 | cron/cron-lib.pl | Perl | bsd-3-clause | 42,244 |
#!/usr/bin/perl
# The MIT License
# Copyright (c) 2014 Genome Research Ltd.
# Author: Rob Davies <rmd+sam@sanger.ac.uk>
# 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,... | ENCODE-DCC/chip-seq-pipeline | dnanexus/shell/resources/usr/local/bin/samtools-1.0/bin/seq_cache_populate.pl | Perl | mit | 10,785 |
package DDG::GoodieRole::NumberStyle;
# ABSTRACT: An object representing a particular numerical notation.
use strict;
use warnings;
use Moo;
use Math::BigFloat;
has [qw(id decimal thousands)] => (
is => 'ro',
);
has exponential => (
is => 'ro',
default => sub { 'e' },
);
has number_regex => (
... | lights0123/zeroclickinfo-goodies | lib/DDG/GoodieRole/NumberStyle.pm | Perl | apache-2.0 | 5,998 |
#!/usr/bin/perl
# Script to generate a Refresh header HTTP redirect
print "Status: 200 ok\r\n";
print "Refresh: 0; url=resources/redirect-target.html#1\r\n";
print "Content-type: text/html\r\n";
print "\r\n";
print <<HERE_DOC_END
<html>
<head>
<title>200 Refresh Redirect</title>
<script>
if (window.testRunner) {
... | nwjs/chromium.src | third_party/blink/web_tests/http/tests/history/redirect-200-refresh-0-seconds.pl | Perl | bsd-3-clause | 491 |
package CGI::Push;
use if $] >= 5.019, 'deprecate';
$CGI::Push::VERSION='4.22';
use CGI;
use CGI::Util 'rearrange';
@ISA = ('CGI');
$CGI::DefaultClass = 'CGI::Push';
# add do_push() and push_delay() to exported tags
push(@{$CGI::EXPORT_TAGS{':standard'}},'do_push','push_delay');
sub do_push {
my ($self,@p) = CG... | rosiro/wasarabi | local/lib/perl5/CGI/Push.pm | Perl | mit | 10,086 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from debian/tzdata/europe. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Europe/Zurich.pm | Perl | mit | 9,351 |
package Lojban::Valsi;
use warnings;
use strict;
use overload '<=>' => 'karbi', 'cmp' => 'karbi', '""' => 'valsi';
use Carp;
use Lojban::Vlatai (':lerpoi', '@klesi');
use Lojban::Vlasisku ('getGismu', 'getValsiByRafsi', ':stodi');
our $VERSION = v2.0;
our @CARP_NOT = ('Lojban::Vlasisku', 'Lojban::Vlatai', 'Lojban::Vla... | jwodder/jbobaf | perl/Lojban/Valsi.pm | Perl | mit | 13,679 |
#!/usr/bin/perl
use strict;
use Test::More 'no_plan'; # tests => 10;
BEGIN {
use lib '../../../';
#TEST 1
use_ok('GAL::Parser::annovar_exonic');
}
my $path = $0;
$path =~ s/[^\/]+$//;
$path ||= '.';
chdir($path);
my $parser = GAL::Parser::annovar_exonic->new(file => '../data/NA12878.annovar_input_short.exonic_va... | 4ureliek/TEanalysis | Lib/GAL/t/devel_scripts/parser_annovar_exonic.pl | Perl | mit | 1,324 |
package Aspk::FileCharIterator;
use Aspk::Debug;
sub new {
my ($class, $file)= @_;
# dbgm $class $file;
my $self={};
bless $self, $class;
open my $fh, "<", $file or die "can't open file $file";
local $/;
binmode $fh;
$self->prop(content, <$fh>);
# $self->prop(index) = 0;
retu... | astropeak/aspk-code-base | perl/Aspk/FileCharIterator.pm | Perl | mit | 974 |
# -*- perl -*-
# !!! DO NOT EDIT !!!
# This file was automatically generated.
package Net::Amazon::Validate::ItemSearch::jp::MusicLabel;
use 5.006;
use strict;
use warnings;
sub new {
my ($class , %options) = @_;
my $self = {
'_default' => 'Music',
%options,
};
push @{$self->{_options... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Amazon/Validate/ItemSearch/jp/MusicLabel.pm | Perl | mit | 1,064 |
package Plucene::Index::SegmentsTermEnum;
=head1 NAME
Plucene::Index::SegmentsTermEnum
=head1 METHODS
=head2 new / term / doc_freq / next
as per TermEnum
=cut
# This only appears to be used with doing wildcard searches.
use strict;
use warnings;
use Tie::Array::Sorted;
use Plucene::Index::SegmentMergeInfo;
s... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Plucene/Index/SegmentsTermEnum.pm | Perl | mit | 1,638 |
# File: SQLite.pm
#
# Purpose: SQLite backend for storing and retreiving quotegrabs.
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
package PBot::Plugin::Quotegrabs::Storage::SQLite;
use PBot::Imports;
use DBI;
use Carp qw(shortmess);
sub new {
if (ref($_[... | pragma-/pbot | lib/PBot/Plugin/Quotegrabs/Storage/SQLite.pm | Perl | mit | 4,289 |
#!/usr/bin/perl -w
package ERDBLoad;
use strict;
use Tracer;
use PageBuilder;
use ERDB;
use Stats;
=head1 ERDB Table Load Utility Object
=head2 Introduction
This object is designed to assist with creating the load file for an ERDB
data relation. The user constructs the object by specifying an E... | kbase/kb_seed | lib/ERDBLoad.pm | Perl | mit | 9,410 |
#!/usr/bin/perl
use strict;
use warnings;
use Digest::CRC qw();
use Getopt::Long;
# Subroutine prototypes
sub SYNC ();
sub type2UCD_GUI();
sub Version1_MAP();
sub RNG_REQ();
sub RNG_RSP_GUI();
sub UCC_REQ();
sub UCC_RSP();
sub DSD_RSP();
sub DCC_REQ_GUI();
sub DCC_RSP_GUI();
sub DCC_ACK_GUI();
sub type29UCD_GUI();
s... | AdrianSimionov/docsis-generator | gen-capture.pl | Perl | mit | 149,402 |
#! /usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use POSIX qw/strftime/;
my $verbose;
my $backup_dir = '.';
my $ts;
my $db;
my $file;
GetOptions(
"database=s" => \$db, # string
"backup_dir=s" => \$backup_dir, # string
"verbose" => \$verbose # flag
) ... | guisea/mysql-backup-manager | bin/concisebackup.pl | Perl | mit | 3,727 |
#!usr/bin/perl
#!/usr/local/bin/perl
#Title: Normalize each time data
#Auther: Naoto Imamachi
#ver: 1.0.0
#Date: 2014-09-01
use warnings;
use strict;
my $input = $ARGV[0];
my @list=(
"mRNA",
"ncRNA",
);
#MAIN####################################
foreach my $filename(@list){
my $r2;
my $half;
my $a... | Naoto-Imamachi/NGS_data_analysis_pipeline | cuffnorm_BRIC-seq/F_model_selection_for_fig_model1_only.pl | Perl | mit | 3,012 |
use Stream ':all';
my $s = iterate {
my ($a, $b) = @{$_[0]};
$b++ if (rand() < 0.2);
$a = rand() * 5 - 2 + $b * 10;
[$a, $b];
} [0, 0];
my $t = cut_sort($s, sub {$_[0][0] <=> $_[1][0]}, sub { $_[1]->[1] > $_[0]->[1] + 5 });
$t = transform {"$_[0][0]\t$_[0][1]"} $t;
{
local $"= "\n";
show($t, 500);
}
| rcm/hop | Streams/ex_cut_sort.pl | Perl | apache-2.0 | 310 |
#!/usr/bin/env perl
# 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
#
# htt... | Ensembl/ensembl-compara | scripts/examples/homology_getAllParalogues.pl | Perl | apache-2.0 | 3,620 |
package DMOZ::Weighter;
use strict;
use warnings;
use MooseX::Role::Parameterized;
parameter field => (
isa => 'Str',
required => 1
);
role {
# weighter
has 'weighter' => ( is => 'ro' , isa => 'CodeRef' , builder => '_weighter_builder' );
method _weighter_builder => sub {
my $this = shif... | ypetinot/web-summarization | src/perl/DMOZ/Weighter.pm | Perl | apache-2.0 | 941 |
#!/usr/bin/env perl
#
# $Id: scaledb_plugin_diag.pl,v 1.1 2015-12-18 00:18:18 igor Exp $
#
#
# to analyze MySQL configuration with respect to file system layout,
# network and memory
#
use strict;
use warnings;
use Getopt::Long;
my $ERRORS =0;
my %mysql_config=();
my %config =();
my $my_cnf=undef;
my $verbose=unde... | igbelousov/scaledb-deb-package | debian/usr/bin/scaledb_plugin_diag.pl | Perl | apache-2.0 | 17,805 |
package PerlOrg::Control::Search;
use strict;
use base qw(Combust::Control);
use Yahoo::Search;
use Combust::Constant qw(OK);
use LWP::Simple qw(get);
use XML::Simple qw(XMLin);
my $yahoo = Yahoo::Search->new(AppId => 'perl.org-search');
sub handler {
my $self = shift;
my $query = $self->req_param('q');
my $p... | autarch/perlweb | lib/PerlOrg/Control/Search.pm | Perl | apache-2.0 | 1,841 |
#!/usr/bin/env perl
# Copyright 2014 European Molecular Biology Laboratory - 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.... | EMBL-EBI-GCA/EpiRR | web/epirr.pl | Perl | apache-2.0 | 10,754 |
#
# 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/juniper/ggsn/mode/globalstats.pm | Perl | apache-2.0 | 11,784 |
package Paws::RDS::DescribeDBClusterParameterGroups;
use Moose;
has DBClusterParameterGroupName => (is => 'ro', isa => 'Str');
has Filters => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Filter]');
has Marker => (is => 'ro', isa => 'Str');
has MaxRecords => (is => 'ro', isa => 'Int');
use MooseX::ClassAttribu... | ioanrogers/aws-sdk-perl | auto-lib/Paws/RDS/DescribeDBClusterParameterGroups.pm | Perl | apache-2.0 | 2,877 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2018] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/public-plugins | tools_hive/modules/EnsEMBL/Web/ToolsPipeConfig/FileChameleon.pm | Perl | apache-2.0 | 1,380 |
%------------------------------------------------------------------------------
%
% Functional goodies
%
% Martin Dvorak
% 1999
%------------------------------------------------------------------------------
/** Module:
Text: Aplikace programování vy¹¹ího øádu z... | dvorka/parser-combinators | src/prolog/pc/library/fun.pl | Perl | apache-2.0 | 6,715 |
#
# 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/vmware/connector/mode/datastoreusage.pm | Perl | apache-2.0 | 4,311 |
#
# 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 | storage/hitachi/hnas/snmp/plugin.pm | Perl | apache-2.0 | 1,666 |
#
# Ensembl module for Bio::EnsEMBL::Funcgen::DBSQL::ProbeSetAdaptor
#
=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.... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-functgenomics/modules/Bio/EnsEMBL/Funcgen/DBSQL/ProbeSetAdaptor.pm | Perl | apache-2.0 | 11,992 |
#!/usr/bin/perl
#
# 10:39 2008/10/4
# Jonathan Tsai
# Ver 1.00
#
# auto dns file and restart dns server
#
# 1.00 (2008/10/4) First release version
$g_prgname = substr($0, rindex($0,"/")+1);
$g_ver = "1.00 (2008/10/4)";
$p_config = !defined($ARGV[0])?"/opt/trysrvtool/upddnsfile.conf":$ARGV[0];
@arr_config=();
if (-e ... | tryweb/trysrvtool | upddnsfile.pl | Perl | apache-2.0 | 2,746 |
package DDG::Goodie::LoremIpsum;
# ABSTRACT: generates random latin
use strict;
use warnings;
use DDG::Goodie;
use utf8;
use Text::Lorem::More;
use Lingua::EN::Numericalize;
triggers any => 'lorem ipsum', 'lipsum', 'latin';
zci is_cached => 0;
zci answer_type => 'lorem_ipsum';
sub pluralise {
my ($amount, $t... | mohan08p/zeroclickinfo-goodies | lib/DDG/Goodie/LoremIpsum.pm | Perl | apache-2.0 | 3,476 |
package Oneliners::Controller::Root;
use Moose;
use Oneliners::Form::Oneliner;
use namespace::autoclean;
BEGIN { extends 'Catalyst::Controller' }
__PACKAGE__->config(namespace => '');
sub oneliners_form {
my ($self, $c) = @_;
my $form = Oneliners::Form::Oneliner->new;
my $oneliners = $c->model('O... | jmcveigh/komodo-tools | templates/Perl/Catalyst/Ufimisms/Oneliners/Controller/Root.pm | Perl | bsd-2-clause | 1,210 |
package Log::FreeSWITCH::Line::Data;
# Pragmas.
use strict;
use warnings;
# Modules.
use English;
use Error::Pure::Always;
use Error::Pure qw(err);
use Mo qw(builder is required);
# Version.
our $VERSION = 0.02;
has date => (
'is' => 'ro',
'required' => 1,
);
has datetime_obj => (
'is' => 'ro',
'builder' => '_d... | gitpan/Log-FreeSWITCH-Line | Line/Data.pm | Perl | bsd-2-clause | 3,995 |
package CoGe::Builder::Methylation::Metaplot;
use v5.14;
use strict;
use warnings;
use Data::Dumper qw(Dumper);
use File::Spec::Functions qw(catfile);
use CoGe::Accessory::Web qw(get_defaults);
use CoGe::Core::Storage qw(get_workflow_paths);
use CoGe::Builder::CommonTasks qw(create_gff_generation_job add_metadata_to_... | asherkhb/coge | modules/Pipelines/lib/CoGe/Builder/Methylation/Metaplot.pm | Perl | bsd-2-clause | 4,806 |
package Dicom::File::Detect;
# Pragmas.
use base qw(Exporter);
use strict;
use warnings;
# Modules.
use Error::Pure qw(err);
use Readonly;
# Constants.
Readonly::Array our @EXPORT => qw(dicom_detect_file);
Readonly::Scalar our $DCM_MAGIC => qw{DICM};
# Version.
our $VERSION = 0.04;
# Detect DICOM file.
sub dicom_d... | tupinek/Dicom-File-Detect | Detect.pm | Perl | bsd-2-clause | 3,110 |
/* $Id$
Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: wielemak@science.uva.nl
WWW: http://www.swi-prolog.org
Copyright (C): 2004-2006, University of Amsterdam
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Ge... | nunolopes/anql | src/anql/sparql_runtime.pl | Perl | bsd-3-clause | 18,969 |
package Net::Braintree::ErrorCodes::MerchantAccount::Individual;
use strict;
use constant FirstNameIsRequired => "82637";
use constant LastNameIsRequired => "82638";
use constant DateOfBirthIsRequired => "82639";
use constant SsnIsInvalid => "82642";
use constant EmailIsInvalid => "82643";
us... | braintree/braintree_perl | lib/Net/Braintree/ErrorCodes/MerchantAccount/Individual.pm | Perl | mit | 562 |
=head1 AmiGO::WebApp::FacetMatrix
...
=cut
package AmiGO::WebApp::FacetMatrix;
use base 'AmiGO::WebApp';
use Clone;
use Data::Dumper;
use CGI::Application::Plugin::Session;
use CGI::Application::Plugin::TT;
use AmiGO::Input;
use AmiGO::External::HTML::Wiki::BBOPJS;
##
sub setup {
my $self = shift;
# ## Confi... | geneontology/amigo | perl/lib/AmiGO/WebApp/FacetMatrix.pm | Perl | bsd-3-clause | 2,866 |
#! /usr/local/bin/perl -w
# $Id: m68k-iset-expand.pl,v 1.5 2007/08/25 21:14:29 fredette Exp $
# m68k-inst-expand.pl - expands the m68k instruction templates into
# full instruction word patterns and their decodings:
#
# Copyright (c) 2002, 2003 Matt Fredette
# All rights reserved.
#
# Redistribution and use in sourc... | DavidGriffith/tme | ic/m68k/m68k-iset-expand.pl | Perl | bsd-3-clause | 16,532 |
# !!!!!!! 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/Dt/Med.pl | Perl | mit | 1,139 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | Distrotech/mod_perl | lib/ModPerl/BuildMM.pm | Perl | apache-2.0 | 11,752 |
package Smolder::Upgrade;
use warnings;
use strict;
use File::Spec::Functions qw(catfile);
use Smolder;
use Smolder::Conf qw(SQLDir);
use Smolder::DB;
=head1 NAME
Smolder::Upgrade - Base class for Smolder upgrade modules
=head1 SYNOPSIS
use base 'Smolder::Upgrade';
sub pre_db_upgrade {....}
sub post_db... | mpeters/smolder | lib/Smolder/Upgrade.pm | Perl | bsd-3-clause | 5,036 |
#!/usr/bin/env perl
print "Content-Type: text/html\r\n\r\n";
print $ENV{'REMOTE_ADDR'};
if ($ENV{'QUERY_STRING'} eq 'info') {
print "\nF:",$ENV{'HTTP_X_FORWARDED_FOR'},"\n";
while (my($key, $value) = each %ENV) {
printf "%s => %s\n", $key, $value;
}
}
0;
| kaleb-himes/lighttpd1.4 | tests/docroot/www/ip.pl | Perl | bsd-3-clause | 263 |
=pod
=head1 NAME
SSL_get_client_CA_list, SSL_CTX_get_client_CA_list - get list of client CAs
=head1 SYNOPSIS
#include <openssl/ssl.h>
STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
=head1 DESCRIPTION
SSL_CTX_get_client_CA_list() ... | openweave/openweave-core | third_party/openssl/openssl/doc/ssl/SSL_get_client_CA_list.pod | Perl | apache-2.0 | 1,636 |
#!/usr/bin/perl
# Copyright (C) 2000-2004 Carsten Haitzler, Geoff Harrison and various contributors
#
# 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 ... | burzumishi/e16 | sample-scripts/shade-pagers.pl | Perl | mit | 2,137 |
% Empty with aleph loaded
:- use_module(library(aleph)).
:- aleph.
% Settings
% Language Bias and Definitions
:-begin_bg.
% Background knowledge here
:- end_bg.
:-begin_in_pos.
% Positive individuals here
:-end_in_pos.
:-begin_in_neg.
% Negative individuals here
:-end_in_neg.
:-aleph_read_all.
/** <exam... | TeamSPoon/logicmoo_workspace | packs_web/swish/profiles/40-ALEPH.pl | Perl | mit | 386 |
/*
% ===================================================================
% File 'mpred_userkb.pl'
% Purpose: Emulation of OpenCyc for SWI-Prolog
% Maintainer: Douglas Miles
% Contact: $Author: dmiles $@users.sourceforge.net ;
% Version: 'interface.pl' 1.0.0
% Revision: $Revision: 1.9 $
% Revised At: $Date: 2002/06... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_base/prolog/logicmoo/typesystem/mpred_userkb.pl | Perl | mit | 11,040 |
#!/usr/bin/perl -wl
# CommonAccord - bringing the world to agreement
# Written in 2014 by Primavera De Filippi To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warran... | antoinekraska/Cmacc-Paris2 | vendor/cmacc-app/openedit-parser.pl | Perl | mit | 2,405 |
sub run {
my $options = shift;
my $filename = $options;
$filename =~ tr/[\-\ ]/_/s;
$cmd_line = "cc4x86.exe $options --output-file-name ..\\..\\tests\\visual\\rasterizer\\rasterizer_$filename.asm ..\\..\\tests\\visual\\rasterizer\\rasterizer.c";
print "running '$cmd_line'...\n";
syst... | artyompal/C-compiler | scripts/make_rasterizer_test.pl | Perl | mit | 1,314 |
#!/usr/local/bin/swipl
:- module(logicmoo_swish_unit,
[ unit_test_file/1
]).
unit_test_file(O):-source_file_property(Source, modified(_)),unit_from_source(Source,O).
unit_from_source(Source,O):- atom_concat(Source,t,O),exists_file(O).
unit_from_source(Source,O):- member(T,[test,t]),atom_subst(So... | TeamSPoon/logicmoo_workspace | packs_web/logicmoo_webui/prolog/logicmoo_swish_unit.pl | Perl | mit | 6,502 |
use Dancer2;
get '/' => sub { 'Hello' };
__PACKAGE__->to_app;
| xsawyerx/dancer-training-notes | 03-syntax/02-to_app.pl | Perl | mit | 64 |
#
# 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 | centreon/common/broadcom/fastpath/snmp/mode/components/fan.pm | Perl | apache-2.0 | 4,032 |
package Paws::ElasticTranscoder::DeletePreset;
use Moose;
has Id => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'Id', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeletePreset');
class_has _api_uri => (isa => 'Str', is => 'r... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ElasticTranscoder/DeletePreset.pm | Perl | apache-2.0 | 1,873 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2017] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | danstaines/ensembl-compara | modules/Bio/EnsEMBL/Compara/PipeConfig/ImportAltAlleGroupsAsHomologies_conf.pm | Perl | apache-2.0 | 7,104 |
use Test::More;
use Test::Deep;
use Test::Exception;
use Search::Elasticsearch::Async;
our $JSON_BACKEND;
my $utf8_bytes = "彈性搜索";
my $utf8_str = $utf8_bytes;
utf8::decode($utf8_str);
my $hash = { "foo" => "$utf8_str" };
my $arr = [$hash];
my $json_hash = <<JSON;
{
"foo" : "$utf8_bytes"
}
JSON
my $jso... | adjust/elasticsearch-perl | t/20_Serializer_Async/encode_pretty.pl | Perl | apache-2.0 | 1,497 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.