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 |
|---|---|---|---|---|---|
use aliased 'My::App::Contact';
use aliased 'My::App::Type::Contact' => 'ContactType';
my $contact_type = ContactType->new();
my $contact = Contact->new({ type => $contact_type });
| jmcveigh/komodo-tools | scripts/perl/shorten_long_class_names/alias_to_another_name.pl | Perl | bsd-2-clause | 187 |
package Zonemaster::Test::Syntax v1.0.1;
use strict;
use warnings;
use 5.014002;
use Zonemaster;
use Zonemaster::Util;
use Zonemaster::Recursor;
use Zonemaster::DNSName;
use Zonemaster::TestMethods;
use Zonemaster::Constants qw[:name];
use Carp;
use List::MoreUtils qw[uniq none any];
use Mail::RFC822::Address qw[v... | dolmen/p5-Zonemaster | lib/Zonemaster/Test/Syntax.pm | Perl | bsd-2-clause | 15,719 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: jan@swi-prolog.org
WWW: http://www.swi-prolog.org
Copyright (c) 2021, SWI-Prolog Solutions b.v.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted... | josd/eye | eye-wasm/swipl-wasm/home/library/build/tools.pl | Perl | mit | 26,274 |
# 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 ... | kidaa/lucy | perl/lib/Lucy/Index/Posting/ScorePosting.pm | Perl | apache-2.0 | 904 |
package Venn::CLI::Command::add_container;
use v5.14;
use Venn::CLI::Dependencies;
use Pod::Usage;
use Mouse;
use Venn::CLI::Types qw( NoEmptyStr );
extends qw(Venn::CLI::Command);
with qw(
Venn::CLI::Role::GenericVerb
Venn::CLI::Role::Container
);
has 'organization' => (
is => 'ro'... | hlnguyen21/venn-cli | lib/Venn/CLI/Command/add_container.pm | Perl | apache-2.0 | 3,368 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | mjg17/ensembl | modules/Bio/EnsEMBL/DBSQL/GenomeContainer.pm | Perl | apache-2.0 | 39,307 |
package #
Date::Manip::TZ::eet00;
# Copyright (c) 2008-2014 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata' is r... | nriley/Pester | Source/Manip/TZ/eet00.pm | Perl | bsd-2-clause | 42,393 |
:- module(sdrt,[mergeSDRS/2]).
:- use_module(library(lists),[member/2,append/3]).
/* =========================================================================
Subordinate SDRT relations
========================================================================= */
subordinate(elaboration).
subordinate(instance).... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/candc/src/prolog/boxer/sdrt.pl | Perl | mit | 3,350 |
#
# Copyright 2017 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | nichols-356/centreon-plugins | network/hp/vc/snmp/mode/components/resources.pm | Perl | apache-2.0 | 3,813 |
=pod
=head1 NAME
OSSL_ENCODER,
OSSL_ENCODER_fetch,
OSSL_ENCODER_up_ref,
OSSL_ENCODER_free,
OSSL_ENCODER_get0_provider,
OSSL_ENCODER_get0_properties,
OSSL_ENCODER_is_a,
OSSL_ENCODER_get0_name,
OSSL_ENCODER_get0_description,
OSSL_ENCODER_do_all_provided,
OSSL_ENCODER_names_do_all,
OSSL_ENCODER_gettable_params,
OSSL_ENC... | jens-maus/amissl | openssl/doc/man3/OSSL_ENCODER.pod | Perl | bsd-3-clause | 5,323 |
package Carp;
our $VERSION = '1.09';
# this file is an utra-lightweight stub. The first time a function is
# called, Carp::Heavy is loaded, and the real short/longmessmess_jmp
# subs are installed
our $MaxEvalLen = 0;
our $Verbose = 0;
our $CarpLevel = 0;
our $MaxArgLen = 64; # How much of each argument to pri... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/Carp.pm | Perl | bsd-3-clause | 7,607 |
package DDG::Spice::Expatistan;
# ABSTRACT: Compare cities based on cost of living
use strict;
use DDG::Spice;
primary_example_queries "cost of living in Philadelphia";
secondary_example_queries "cost of living barcelona vs madrid";
description "See and compare costs of living via Expatistan";
name "Expatisan";
icon_... | dachinzo/zeroclickinfo-spice | lib/DDG/Spice/Expatistan.pm | Perl | apache-2.0 | 797 |
package DDG::Spice::Launchbug;
# ABSTRACT: Bug search on launchpad
use strict;
use DDG::Spice;
spice is_cached => 1;
name "Launchbug";
description "Returns infos about a given bug-id on Launchpad.net";
primary_example_queries "LP: 7", "LP: #2983", "(LP: #1234)", "launchbug 23", "bugid 234";
category "programming";
... | GrandpaCardigan/zeroclickinfo-spice | lib/DDG/Spice/Launchbug.pm | Perl | apache-2.0 | 778 |
use warnings;
use strict;
use Glib;
use Irssi;
use Net::DBus;
use Net::DBus::GLib;
use POSIX;
our %IRSSI = (
name => "sleep_disconnect",
description => "Disconnects when system goes to sleep",
contact => "Mantas Mikulėnas <grawity\@gmail.com>",
license => "MIT License <https://spdx.org/l... | grawity/hacks | irc/irssi/sleep_disconnect.pl | Perl | mit | 3,073 |
#!/usr/bin/perl
use strict;
use warnings;
use feature qw(say);
use JSON;
use LWP::UserAgent;
use HTTP::Request::Common;
# This sample will show all subscriptions from the given queuemanager.
my $qmgr = shift;
die("Please pass me the name of a queuemanager as argument")
unless defined($qmgr);
my $json = JSON->new;... | fbraem/mqweb | samples/perl/sub_inq.pl | Perl | mit | 1,024 |
#!/usr/bin/perl
=head1 NAME
unique_fastq_reads.pl - create a Fastq file with only unique examples of reads
=cut
use strict;
use warnings;
use Getopt::Long;
use Pod::Usage;
use File::Basename;
use IO::Uncompress::Gunzip qw(gunzip $GunzipError);
my $fastq;
my $out = 'unique.fastq';
my $VERBOSE = 1;
my $DEBUG = 0;
m... | bartongroup/profDGE48 | Mapping/unique_fastq_reads.pl | Perl | mit | 2,559 |
#
# $Header: svn://svn/SWM/trunk/web/Mail/ExternalMailer_BulkMail.pm 9569 2013-09-20 05:51:06Z tcourt $
#
package Mail::ExternalMailer_BulkMail;
use strict;
use lib ".", "..", "../..";
our @ISA =qw(Mail::ExternalMailer_BaseObj);
use Mail::ExternalMailer_BaseObj;
use Mail::Bulkmail;
use Mail::Bulkmail::Server;
sub ... | facascante/slimerp | fifs/web/Mail/ExternalMailer_BulkMail.pm | Perl | mit | 2,804 |
#!/bin/perl -w
# nonforker - server who multiplexes without forking
use POSIX;
use IO::Socket;
use IO::Select;
use Socket;
use Fcntl;
use Tie::RefHash;
$port = 1685; # change this at will
#listen to port
$server = IO::Socket::INET->new(
LocalPort => $port,
Listen => 10,
) or die "Can't make server socket: $@\... | jmcveigh/perl-cookbook-bins | nonforker.pl | Perl | mit | 3,843 |
#
# Copyright (c) 2003-2006 University of Chicago and Fellowship
# for Interpretations of Genomes. All Rights Reserved.
#
# This file is part of the SEED Toolkit.
#
# The SEED Toolkit is free software. You can redistribute
# it and/or modify it under the terms of the SEED Toolkit
# Public License.
#
# You should have r... | kbase/kb_seed | lib/SAP.pm | Perl | mit | 388,298 |
#! /usr/bin/perl
#
# MITObim - mitochondrial baiting and iterative mapping
# wrapper script version 1.6
# Author: Christoph Hahn, 2012-2013
# christoph.hahn@nhm.uio.no
#
use strict;
use warnings;
use Getopt::Long;
use Cwd qw(abs_path);
use File::Copy;
use List::Util qw< min max >;
use POSIX qw(strftime);
use POSIX qw(c... | chrishah/MITObim | old/MITObim_1.6.pl | Perl | mit | 32,002 |
#!/usr/bin/perl -w
use strict;
my $tests = 0;
my $out = '.';
my($prefix, $filename, $out_tests, $inline, $include, $tests_name, $header_guard, $lowercase_status, $no_usage);
my $usage = "usage: $0 [--out=<dir>] [--filename=<name>] [--out-tests=<dir>] [--with-tests=<testname>] [--without-usage] [--include=<include>] ... | ethomson/adopt | rename.pl | Perl | mit | 3,673 |
#!/usr/bin/env perl
use strict;
use warnings;
use v5.20;
say "do you respect the amanals";
while(1) {
print "huh do you? (type 'yes' or 'no'):";
my $name = <>;
chomp $name;
if ($name eq 'yes') {
say "ok hippy bro";
last;
} elsif ($name eq 'no') {
say 'im going to hunt yo... | neybar/seth_programming_meritbadge | perl_seth/example.pl | Perl | mit | 445 |
package ORDER::CSV;
use strict;
use Text::CSV_XS;
use Data::Dumper;
sub as_csv {
my ($O2) = @_;
my $OUT = '';
my ($csv) = Text::CSV_XS->new({});
## order header
my @header = ();
my $order_id = $O2->oid();
# supplier_order_id is usually the same as the source order id.
# but it COULD be something different, ... | CommerceRack/backend | lib/ORDER/CSV.pm | Perl | mit | 3,940 |
package SGN::Test::WWW::Mechanize;
=head1 NAME
SGN::Test::WWW::Mechanize - subclass of
L<Test::WWW::Mechanize::Catalyst> with some SGN-specific convenience
=head1 SYNOPSIS
use 't/lib';
# optional skip_cgi import argument, skips loading CGIs if you
# don't need them, speeding up your test.
use SGN::T... | solgenomics/sgn | t/lib/SGN/Test/WWW/Mechanize.pm | Perl | mit | 14,275 |
use lib '/';
use Handlers;
use Plex::Daemon;
use Plex::Log;
use YAML::Tiny;
use POSIX;
my $cfg = $ARGV[0] || '/etc/plex/plex.cfg';
my (%children, $children);
my $yaml = YAML::Tiny->new();
$yaml = YAML::Tiny->read( $cfg );
$yaml = $yaml->[0];
opendir(VHOSTS, $yaml->{common}->{document_root});
my @... | zulla/plex | src/httpd.pl | Perl | mit | 5,395 |
# =========================================================================
# Formatting: Expand tabs, 4 spaces per indent level.
# =========================================================================
=pod
=head1 NAME
Adobe::Codex2::Types::role - Define Codex type data.
=head1 DESCRIPTION
See POD from Adobe::... | brycelelbach/asl | tools/adobe/Codex2/Types/role.pm | Perl | mit | 1,876 |
package Statistics::Basic::StdDev;
use strict;
use warnings;
use Carp;
use base 'Statistics::Basic::_OneVectorBase';
sub new {
my $class = shift;
warn "[new $class]\n" if $Statistics::Basic::DEBUG >= 2;
my $this = bless {}, $class;
my $variance = $this->{V} = eval { Statistics::Basic::Variance... | ppapasaikas/SANJUAN | perllib/Statistics/Basic/StdDev.pm | Perl | mit | 993 |
#!/usr/bin/perl
require 'quickies.pl'
($User,$Planet,$AuthCode)=split(/&/,$ENV{QUERY_STRING});
$PlanetDir = $MasterPath . "/se/Planets/$Planet";
$UserDir = "$PlanetDir/users/$User";
if (-e "$UserDir/Dead.txt") {
print "Location: http://www.bluewand.com/cgi-bin/classic/Dead.pl?$User&$Planet&$AuthCode\n\n";
die;
}
if... | cpraught/shattered-empires | war2.pl | Perl | mit | 6,574 |
package T2t::UserPreferencesCache;
use strict;
use warnings;
use T2t::Utilities;
our $instance = undef;
sub _new
{
my $package = shift;
my $self = {};
$self->{skipFields} = 'zz';
$self->{header} = 0;
$self->{debug} = 0;
$self->{emptyRowCellAtts} = ""... | scholnicks/t2t | T2t/UserPreferencesCache.pm | Perl | mit | 9,435 |
# See bottom of file for license and copyright information
package VisDoc::XMLOutputFormatterAllMethods;
use base 'VisDoc::XMLOutputFormatterListingBase';
use strict;
use warnings;
use warnings;
use XML::Writer();
our $URI = 'all-methods';
=pod
=cut
sub _uri {
my ($this) = @_;
return $URI;
}
sub _title ... | ArthurClemens/VisDoc | code/perl/lib/VisDoc/XMLOutputFormatterAllMethods.pm | Perl | mit | 5,293 |
package GAL::Parser::bed;
use strict;
use vars qw($VERSION);
$VERSION = 0.2.0;
use base qw(GAL::Parser);
use GAL::Reader::DelimitedLine;
=head1 NAME
GAL::Parser::bed - Parse BED files
=head1 VERSION
This document describes GAL::Parser::bed version 0.2.0
=head1 SYNOPSIS
my $parser = GAL::Parser::bed->new(fi... | 4ureliek/TEanalysis | Lib/GAL/Parser/bed.pm | Perl | mit | 7,473 |
#!/usr/bin/perl
=head1 NAME
experimental_design.pl
Controller for experimental design mason components
=cut
=head1 DESCRIPTION
This is the script to show the web_page using MASON
=cut
=head1 AUTHORS
Aureliano Bombarely Gomez
(ab782@cornell.edu)
=cut
use strict;
use warnings;
use HTML::Mason;
use CX... | solgenomics/sgn | cgi-bin/gem/experimental_design.pl | Perl | mit | 2,043 |
#!/usr/bin/perl -w
##############################################################################
#
# File: disk_usage.pl
#
# Function: Traverse a Directory and get the disk usage of
# items in the folder(s)
# additional functionality :
# threshold (only show items > threshold val)
# recurse fro... | mjelks/disk-usage | du.pl | Perl | mit | 4,703 |
##**************************************************************
##
## Copyright (C) 1990-2011, Condor Team, Computer Sciences Department,
## University of Wisconsin-Madison, WI.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this file except in compliance with the License. Y... | bbockelm/condor-network-accounting | src/condor_scripts/CondorPersonal.pm | Perl | apache-2.0 | 60,287 |
package Model::R::ToPay::ContractorApiAccess;
use strict;
use base qw(Model::R::ToPay);
__PACKAGE__->meta->setup(
table => 'contractor_api_access',
columns => [
id => { type => 'integer', not_null => 1, sequence => 'gate_sequence' },
name => ... | ant-i/db-crud | dbs/Model/R/ToPay/ContractorApiAccess.pm | Perl | apache-2.0 | 2,299 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | james-monkeyshines/ensembl | modules/Bio/EnsEMBL/TopLevelAssemblyMapper.pm | Perl | apache-2.0 | 14,050 |
use 5.10.0;
use strict;
use warnings;
package Seq::Tracks::Score;
our $VERSION = '0.001';
# ABSTRACT: The getter for any score track
# VERSION
use Mouse 2;
use namespace::autoclean;
extends 'Seq::Tracks::Get';
has scalingFactor => (is => 'ro', isa => 'Int', default => 100);
sub BUILD {
my $self = shift;
# p... | akotlar/bystro | lib/Seq/Tracks/Score.pm | Perl | apache-2.0 | 1,129 |
#!/usr/bin/perl
# Ex.
# ./glubix_voltype.pl --volume_name vol0
#
# options:
# --volume_name vol1
# return value type: String
# return value list: Unknown ... Can't parse result of gluster command
# Blank ... --volume_name is not set
# Distribute
# ... | fuel-infra/puppet-manifests | modules/fuel_project/files/glusterfs/zabbix/glubix/glubix_voltype.pl | Perl | apache-2.0 | 1,072 |
#
# 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 | storage/netapp/snmp/mode/components/communication.pm | Perl | apache-2.0 | 2,614 |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | dbolser-ebi/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/Projection/FakeXrefHolder.pm | Perl | apache-2.0 | 7,856 |
new7(A,B,C,D,E) :- A=0.
new7(A,B,C,D,E) :- F= -1+D, G=1+E, A=< -1, new5(B,C,F,G).
new7(A,B,C,D,E) :- F= -1+D, G=1+E, A>=1, new5(B,C,F,G).
new6(A,B,C,D) :- E=1, C>=1, new7(E,A,B,C,D).
new6(A,B,C,D) :- E=0, C=<0, new7(E,A,B,C,D).
new5(A,B,C,D) :- A-D>=1, new6(A,B,C,D).
new3(A,B,C,D) :- E=1+B, F=1+C, A-B>=1, new3(A,E,F,D)... | bishoksan/RAHFT | benchmarks_scp/misc/programs-clp/INVGEN-up.map.c.map.pl | Perl | apache-2.0 | 429 |
#
# 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 | storage/hp/p2000/xmlapi/mode/components/fru.pm | Perl | apache-2.0 | 2,385 |
#
# 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 | cloud/aws/cloudfront/mode/requests.pm | Perl | apache-2.0 | 9,488 |
package Paws::S3::AbortIncompleteMultipartUpload;
use Moose;
has DaysAfterInitiation => (is => 'ro', isa => 'Int');
1;
### main pod documentation begin ###
=head1 NAME
Paws::S3::AbortIncompleteMultipartUpload
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use th... | ioanrogers/aws-sdk-perl | auto-lib/Paws/S3/AbortIncompleteMultipartUpload.pm | Perl | apache-2.0 | 1,562 |
=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 | misc-scripts/xref_mapping/Xref/Test/TestDB.pm | Perl | apache-2.0 | 2,261 |
package VMOMI::GatewayOperationRefused;
use parent 'VMOMI::GatewayConnectFault';
use strict;
use warnings;
our @class_ancestors = (
'GatewayConnectFault',
'HostConnectFault',
'VimFault',
'MethodFault',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_cl... | stumpr/p5-vmomi | lib/VMOMI/GatewayOperationRefused.pm | Perl | apache-2.0 | 468 |
#
# 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/omniswitch/snmp/mode/hardware.pm | Perl | apache-2.0 | 4,031 |
package VMOMI::OvfConsumerOvfSection;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['lineNumber', undef, 0, ],
['xml', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
m... | stumpr/p5-vmomi | lib/VMOMI/OvfConsumerOvfSection.pm | Perl | apache-2.0 | 449 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/Map/DBSQL/DitagFeatureAdaptor.pm | Perl | apache-2.0 | 26,453 |
#
# Copyright 2014 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | kainwinterheart/mongo-perl-driver | lib/MongoDB/Op/_GetMore.pm | Perl | apache-2.0 | 1,645 |
## OpenXPKI::Workflow::Config
##
package OpenXPKI::Workflow::Context;
use strict;
use warnings;
use English;
use Encode;
use Data::Dumper;
use Workflow 1.39;
use OpenXPKI::Debug;
use OpenXPKI::Exception;
use OpenXPKI::Serialization::Simple;
use OpenXPKI::Server::Context qw( CTX );
use base qw( Workflow::Context );
... | openxpki/openxpki | core/server/OpenXPKI/Workflow/Context.pm | Perl | apache-2.0 | 2,490 |
# 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/AdService/MutateAdResult.pm | Perl | apache-2.0 | 1,077 |
% CVS: $Id: bryant.pl,v 1.3 1998/10/19 06:35:06 pets Exp $
% File : bryant
% Authors: Peter Schachte
% Purpose: Manipulate ordered binary decision diagrams
%
% Abstract
%
% This code manipulates ordered binary decision graphs using variations on
% Bryant's algorithms. I've concentrated on being efficient her... | pschachte/groundness | benchmarks/bryant.pl | Perl | apache-2.0 | 21,927 |
%% :- module(modules, [], [assertions]).
:- use_package([assertions]).
:- comment(title, "The module system").
:- comment(author,"Daniel Cabeza").
:- comment(usage, "Modules are an intrinsic feature of CIAO, so nothing
special has to be done to use them.").
:- comment(module, "Modularity is a basic notion in a ... | leuschel/ecce | www/CiaoDE/ciao/lib/assertions/test/modules_user.pl | Perl | apache-2.0 | 8,134 |
package API::DeliveryService;
#
# Copyright 2015 Comcast Cable Communications Management, 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.... | cjqian/traffic_control | traffic_ops/app/lib/API/DeliveryService.pm | Perl | apache-2.0 | 15,024 |
use IO::Scalar;
my $dump_str;
my $io = IO::Scalar->new(\$dump_str);
my $oio = select($io);
print '<pre>',"\n"; # goes to $dump_str
$d->dumpvalue(\$someref); # as does this
print '</pre>'; # and this too
select($oio); # old filehandle
print $dump_str; # stdout again when you want... | jmcveigh/komodo-tools | scripts/perl/inspect_your_data_structures/dump_to_string.pl | Perl | bsd-2-clause | 327 |
#
# Copyright (c) 1997-2012 The Protein Laboratory, University of Copenhagen
# 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 copyr... | run4flat/Primo | Prima.pm | Perl | bsd-2-clause | 13,143 |
# ABSTRACT: Allows reviewers to select a commit for auditing
package Git::Code::Review::Command::pick;
use strict;
use warnings;
use CLI::Helpers qw(:all);
use Git::Code::Review::Utilities qw(:all);
use Git::Code::Review -command;
use Git::Code::Review::Notify qw(notify_enabled);
# Globals
my $AUDITDIR = gcr_dir();
m... | gitpan/Git-Code-Review | lib/Git/Code/Review/Command/pick.pm | Perl | bsd-3-clause | 8,452 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2010-2021, VU University Amsterdam
CWI, Amsterdam
SWI-Prolog Solutions b.v.
All rights reserved.... | josd/eye | eye-wasm/swipl-wasm/home/library/ansi_term.pl | Perl | mit | 18,693 |
#!/usr/bin/perl
# Copyright 2010-2011 Microsoft Corporation
# 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
#
# THIS CODE IS PROVIDED *AS IS* BA... | chagge/Kaldi-timit | s5/utils/utt2spk_to_spk2utt.pl | Perl | apache-2.0 | 1,234 |
package #
Date::Manip::Offset::off487;
# Copyright (c) 2008-2013 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'... | nriley/Pester | Source/Manip/Offset/off487.pm | Perl | bsd-2-clause | 852 |
# !!!!!!! 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/Ccc/CCC18.pl | Perl | mit | 437 |
#!/usr/bin/env perl
use Net::SNMP::Security::USM 4.0;
use warnings;
use strict;
sub myHelp() {
printf "\n _____ _____ _____ _____ _____ \n";
printf "| __| | | | _ |_ _ ___| | |\n";
printf "|__ | | | | | | | __| | | | -|\n";
printf "|_____|_|___|_|_|_|__| |___|_|_|__|__| Key List G... | AnyMaster/Ctoollhu | snmpunk/snmpunk-klg.pl | Perl | mit | 1,379 |
#! /usr/bin/perl -w
#
# Copyright 2005-2016 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
use strict;
use warnings;
use Carp;
use POSIX;
m... | SuperNascher/mumble | scripts/release.pl | Perl | bsd-3-clause | 2,467 |
#!/usr/bin/env perl
use strict;
use warnings;
use FindBin;
use File::Basename;
use Cwd;
use Carp;
use Getopt::Long qw(:config no_ignore_case bundling pass_through);
my $usage = <<__EOUSAGE__;
######################################################################
#
# Required:
# --genome <string> targe... | HPCHub/trinityrnaseq | util/misc/process_GMAP_alignments_gff3_chimeras_ok.pl | Perl | bsd-3-clause | 2,420 |
#############################################################################
# Pod/InputObjects.pm -- package which defines objects for input streams
# and paragraphs and commands when parsing POD docs.
#
# Copyright (C) 1996-2000 by Bradford Appleton. All rights reserved.
# This file is part of "PodParser". PodParser... | leighpauls/k2cro4 | third_party/perl/perl/lib/Pod/InputObjects.pm | Perl | bsd-3-clause | 27,347 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/Locale/root.pm | Perl | mit | 15,529 |
# Pintos helper subroutines.
# Number of bytes available for the loader at the beginning of the MBR.
# Kernel command-line arguments follow the loader.
our $LOADER_SIZE = 314;
# Partition types.
my (%role2type) = (KERNEL => 0x20,
FILESYS => 0x21,
SCRATCH => 0x22,
SWAP => 0x23);
my (%type2role) = revers... | pindexis/pintos-tn | src/utils/Pintos.pm | Perl | apache-2.0 | 14,562 |
# $Id: Number.pm 709 2008-01-29 21:01:32Z pajas $
package XML::LibXML::Number;
use XML::LibXML::Boolean;
use XML::LibXML::Literal;
use strict;
use vars qw ($VERSION);
$VERSION = "1.66"; # VERSION TEMPLATE: DO NOT CHANGE
use overload
'""' => \&value,
'0+' => \&value,
'<=>' => \&cmp;
sub new {... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/i686-cygwin/XML/LibXML/Number.pm | Perl | bsd-3-clause | 1,752 |
package AutoSsl;
use strict;
use warnings;
use Cwd qw(abs_path);
use Expect;
use File::Basename;
use File::Find qw(finddepth);
use File::Spec::Functions qw(canonpath);
use File::stat;
sub setup {
our $ngrok = Expect->spawn("ngrok http 9080 --log stdout --log-format logfmt --log-level debug") or die "failed to spawn ... | UseFedora/lua-resty-auto-ssl | t/inc/setup.pl | Perl | mit | 2,640 |
#!/usr/bin/perl
#
# ***** BEGIN LICENSE BLOCK *****
# Zimbra Collaboration Suite Server
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Zimbra, Inc.
#
# The contents of this file are subject to the Zimbra Public License
# Version 1.3 ("License"); you may not use this file except in
# compliance with the License. You ma... | nico01f/z-pec | ZimbraServer/src/db/migration/migrate20061101-IMFolder.pl | Perl | mit | 4,071 |
use utf8;
package CSN::Schema::Result::Profilefieldoption;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
CSN::Schema::Result::Profilefieldoption
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 COMPONENTS LOADED
=over 4
=item * L<DBIx::Class... | CodingMinds/CSN | lib/CSN/Schema/Result/Profilefieldoption.pm | Perl | mit | 1,828 |
=pod
=head1 NAME
SSL_get_ex_data_X509_STORE_CTX_idx,
SSL_CTX_set_verify, SSL_set_verify,
SSL_CTX_set_verify_depth, SSL_set_verify_depth,
SSL_verify_cb,
SSL_verify_client_post_handshake,
SSL_set_post_handshake_auth,
SSL_CTX_set_post_handshake_auth
- set various SSL/TLS parameters for peer certificate verification
=he... | kipid/blog | nodejs/openssl-master/doc/man3/SSL_CTX_set_verify.pod | Perl | mit | 14,179 |
#!/usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use Bio::KBase::PROM::Client;
use Bio::KBase::PROM::Util qw(get_prom_client get_auth_token);
use Bio::KBase::workspace::ScriptHelpers qw(workspace);
my $DESCRIPTION =
"
NAME
prom-create-constraints -- create fba constraints from data
SYNOPSIS
... | kbase/prom_service | scripts/prom-create-constraints.pl | Perl | mit | 5,787 |
#!/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... | CommonAccord/Cmacc-Source | vendor/cmacc-app/openedit-parser.pl | Perl | mit | 2,642 |
# This file was created by configpm when Perl was built. Any changes
# made to this file will be lost the next time perl is built.
# for a description of the variables, please have a look at the
# Glossary file, as written in the Porting folder, or use the url:
# http://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/G... | liuyangning/WX_web | xampp/perl/lib/Config.pm | Perl | mit | 3,303 |
package DeviewSched::ScheduleCrawler::2015;
use 5.010;
use utf8;
use strict;
use warnings;
use DateTime;
use LWP::UserAgent;
use JSON qw/decode_json/;
use Data::Dumper;
use Moose;
with 'DeviewSched::ScheduleCrawler';
sub URL_TIMETABLE () { 'http://deview.kr/2015/timetable' }
sub YEAR () { 2015 }
sub DEFAUL... | GDG-SSU/deviewsched-backend | lib/DeviewSched/ScheduleCrawler/2015.pm | Perl | mit | 5,004 |
package O2Plugin::Shop::Obj::Product::Variant::Option;
use strict;
use base 'O2::Obj::Object';
#-----------------------------------------------------------------------------
sub setPriceModifierExVat {
my ($obj, $priceModifier) = @_;
$obj->_validatePriceModifier($priceModifier);
return $obj->setModelValue('pric... | haakonsk/O2-CMS | plugins/shop/lib/O2Plugin/Shop/Obj/Product/Variant/Option.pm | Perl | mit | 1,819 |
#!/usr/bin/perl
require 'quickies.pl'
$user_information = $MasterPath . "/User Information";
$worlddir = $MasterPath . "/se/Planets/";
if($ENV{'REMOTE_HOST'} =~ /209.156/) {die;}
if($ENV{'REMOTE_HOST'} =~ /209.252/) {die;}
if($ENV{'REMOTE_HOST'} =~ /216.70/) {die;}
&parse_form;
$data{'cname'} =~ tr/ /_/;
if ($data{... | cpraught/shattered-empires | countryreset.pl | Perl | mit | 3,168 |
#!/u01/app/oracle/product/11.1.0.7/perl -w
use strict;
use DBI;
$SIG{INT} = \&cleanup;
# WatchLongops.pl
# This program runs continuously to show current Long Operations on
# an Oracle Instance.
# David Mann
# http://ba6.us
# dmann99@gmail.com
die "\nWatchInstanceLongops.pl\n\n" .
"This procedure watches long ... | dmann99/oscripts | longops-perl/longops.pl | Perl | mit | 3,732 |
#!/usr/bin/perl -w
#
use strict;
#
use MongoDB;
#
use Try::Tiny;
use Safe::Isa;
#
if (scalar(@ARGV) == 0)
{
printf "usage: $0 db host [port [user [passwd]]]\n", ;
exit 0;
}
#
my $db_to_drop = undef;
my $host_name = undef;
my $port = undef;
my $user_name = undef;
my $password = undef;
#
die "missing host or db: ... | ombt/analytics | apex/testbin/mongo/mongo.drop.db.pl | Perl | mit | 1,336 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | hardware/server/hp/ilo/xmlapi/mode/components/ctrl.pm | Perl | apache-2.0 | 2,892 |
=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-variation | modules/Bio/EnsEMBL/Variation/Pipeline/ProteinFunction/RunSift.pm | Perl | apache-2.0 | 8,881 |
=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/Component/Gene/RegulationImage.pm | Perl | apache-2.0 | 2,026 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V8/Enums/ValueRuleSetDimensionEnum.pm | Perl | apache-2.0 | 865 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | james-monkeyshines/ensembl | misc-scripts/xref_mapping/XrefParser/EntrezGeneParser.pm | Perl | apache-2.0 | 5,728 |
#
# 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 | cloud/aws/ec2/mode/status.pm | Perl | apache-2.0 | 7,334 |
#!/usr/bin/perl -w
#
# Copyright 2019, 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 a... | googleads/google-ads-perl | examples/hotel_ads/add_hotel_ad.pl | Perl | apache-2.0 | 11,404 |
=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/Component/Help/Contact.pm | Perl | apache-2.0 | 3,135 |
#
# Copyright 2021 Electric Cloud, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | electric-cloud/EC-WebLogic | src/main/resources/project/ec_setup.pl | Perl | apache-2.0 | 37,003 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/license... | dbolser/ensembl-variation | scripts/misc/create_attrib_sql.pl | Perl | apache-2.0 | 8,002 |
=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/Runnable/ExonerateCloneEnds.pm | Perl | apache-2.0 | 5,222 |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | andrewyatz/public-plugins | openid/modules/EnsEMBL/Web/Configuration/Account.pm | Perl | apache-2.0 | 3,813 |
package VMOMI::ArrayOfAnyURI;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['anyURI', undef, 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->SUPER:... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfAnyURI.pm | Perl | apache-2.0 | 393 |
package Mojo::Webqq::Recent::Discuss;
use strict;
use Mojo::Webqq::Base 'Mojo::Webqq::Model::Base';
has [qw(
did
type
)];
sub update{
my $self = shift;
my $hash = shift;
for(keys %$self){
$self->{$_} = $hash->{$_} if exists $hash->{$_} ;
}
$self;
}
1;
| sjdy521/Mojo-Webqq | lib/Mojo/Webqq/Recent/Discuss.pm | Perl | bsd-2-clause | 289 |
use strict;
open( INFILE, "<", $ARGV[0] )
or die("Cannot open file $ARGV[0] for reading: $!");
while ( my $line = <INFILE> ) {
next if ( $line =~ m/^\s$/ );
chomp($line);
my $up = 1;
my @r = map {
if ( $_ =~ /^[[:alpha:]]/ )
{
$up = !$up;
if ($up) {
... | nikai3d/ce-challenges | easy/roller_coaster.pl | Perl | bsd-3-clause | 534 |
#!/usr/bin/perl
use Getopt::Long;
use File::Basename;
my $DIR="/opt/convey/examples/cnymemcached/mcd-benchmark";
my $MCHAMMR="";
my $MEMCACHED="/opt/convey/cnymemcached/bin/memcached";
my $CTRL="";
my $DEBUG=1;
my $server_mem=16384;
my $server_conns=4096;
my $server_threads=16;
my $delay_max=225000;
my $conns_per_th... | TonyBrewer/OpenHT | apps/memcached/contrib/mcd-benchmark/benchmark_scripts/bench.pl | Perl | bsd-3-clause | 10,706 |
#!/usr/bin/env perl
use JEvent;
use Config::IniFiles;
my $ini = Config::IniFiles->new(-file=>$ENV{JEVENTINI} || '/etc/jevent.ini');
my $je = JEvent->new(Config => $ini)
or die "Unable to create JEvent interface";
$je->Connect();
my $node = "/some/random/node";
my $content = "<some random=\"1\"><data/></some>... | stockholmuniversity/JEvent | cmds/sample-one-shot.pl | Perl | bsd-3-clause | 381 |
#!/usr/bin/perl
require "subparseform.lib";
&Parse_Form;
@numbers = split(/,/, $formdata{'number'});
print "Content-type: text/html\n\n";
print "The numbers you entered were:";
foreach $number (@numbers) {
print "<LI>$number";
}
foreach $number(@numbers) {
$number = sqrt($number);
}
print "<P>The square roots... | devjin24/howtomcatworks | bookrefer/jakarta-tomcat-5.0.18-src/jakarta-tomcat-catalina/tester/web/WEB-INF/cgi/modifyall.pl | Perl | apache-2.0 | 399 |
#!/usr/bin/perl
require "/perfstat/build/serialize/create/ServiceConfig.pl";
#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 => "mem",
);
#add metric 0
$obj = Metric-... | ktenzer/perfstat | misc/serialize/create/Linux/120304/mem.pl | Perl | apache-2.0 | 10,545 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.