code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#
# Copyright 2018 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/storagetek/sl/snmp/mode/components/psu.pm | Perl | apache-2.0 | 2,835 |
#
# 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/common/radlan/mode/cpu.pm | Perl | apache-2.0 | 6,957 |
package Paws::Pinpoint::UpdateApnsChannel;
use Moose;
has APNSChannelRequest => (is => 'ro', isa => 'Paws::Pinpoint::APNSChannelRequest', required => 1);
has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'application-id', required => 1);
use MooseX::ClassAttribute;
class_... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/UpdateApnsChannel.pm | Perl | apache-2.0 | 2,099 |
=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/Utils/Collector.pm | Perl | apache-2.0 | 54,184 |
#!/usr/bin/perl
#
# 14:13 2009/6/12
# Jonathan Tsai
# Ver 1.02
#
# monitor service and restart it
# Usage : mon_service.pl <config_file>
# * <config_file> : default is mon_service.conf
#
# 1.00 (2008/10/24) First Version Release
#
$prgname = substr($0, rindex($0,'/')+1);
$prgpath = substr($0, 0, rindex($0,'/'));
$ver... | tryweb/trysrvtool | mon_service.pl | Perl | apache-2.0 | 1,229 |
use strict;
use warnings;
package Grace::Toolset;
use File::Spec;
use Carp;
use Grace::Util;
my %_drivers;
sub register ($$$) {
my ($drv, $chn, $new) = @_;
my $old;
if ($old = $_drivers{$drv}{toolchain}{$chn}) {
carp(__PACKAGE__.": Driver '$drv' already registered '$chn'");
carp(__PAC... | coreybrenner/grace | Grace/Toolset.pm | Perl | bsd-2-clause | 2,965 |
package Tapper::Schema::TestrunDB::ResultSet::Precondition;
BEGIN {
$Tapper::Schema::TestrunDB::ResultSet::Precondition::AUTHORITY = 'cpan:TAPPER';
}
{
$Tapper::Schema::TestrunDB::ResultSet::Precondition::VERSION = '4.1.3';
}
use strict;
use warnings;
use parent 'DBIx::Class::ResultSet';
use YAML::Syck;
sub add... | gitpan/Tapper-Schema | lib/Tapper/Schema/TestrunDB/ResultSet/Precondition.pm | Perl | bsd-2-clause | 1,625 |
#!/usr/bin/perl -w
# MGEL
# Surya Saha 3/15/07
# reading cmd line input .out file which is sorted on the start position
# and finds the relationship among images and families
# Relationship types:
# Upstream: u1 (0-500 bases),u2 (500-1000 bases),u3 (1000-5000 bases), u4 (5000-10000 bases), u5 (10000-15000 bases)
# Dow... | suryasaha/ProxMiner | archive/miner.out2f_itemsets.v11.pl | Perl | bsd-2-clause | 97,224 |
# Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC
#
# 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 notice,
# this li... | BRCDcomm/perlbsc | Brocade-BSC/lib/Brocade/BSC/Node.pm | Perl | bsd-3-clause | 4,002 |
#!/usr/local/bin/perl
# VC-32.pl - unified script for Microsoft Visual C++, covering Win32,
# Win64 and WinCE [follow $FLAVOR variable to trace the differences].
#
$ssl= "ssleay32";
if ($fips && !$shlib)
{
$crypto="libeayfips32";
$crypto_compat = "libeaycompat32.lib";
}
else
{
$crypto="libeay32";
}
if ($fipsc... | GaloisInc/hacrypto | src/C/openssl/openssl-0.9.8zh/util/pl/VC-32.pl | Perl | bsd-3-clause | 14,335 |
name(smtp).
title('An (E)SMTP client for sending mail').
version('1.0.0').
keywords([smtp, mail, sendmail]).
author('Jan Wielemaker', 'J.Wielemaker@vu.nl').
home('https://github.com/JanWielemaker/smtp').
download('https://github.com/JanWielemaker/smtp/releases/*.zip').
| TeamSPoon/logicmoo_workspace | packs_web/swish/pack/smtp/pack.pl | Perl | mit | 270 |
#
# 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... | Shini31/centreon-plugins | network/dlink/dgs3100/snmp/mode/components/psu.pm | Perl | apache-2.0 | 3,112 |
package AnyDBM_File;
use warnings;
use strict;
use 5.006_001;
our $VERSION = '1.01';
our @ISA = qw(NDBM_File DB_File GDBM_File SDBM_File ODBM_File) unless @ISA;
my $mod;
for $mod (@ISA) {
if (eval "require $mod") {
@ISA = ($mod); # if we leave @ISA alone, warnings abound
return 1;
}
}
die "No DBM package w... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/AnyDBM_File.pm | Perl | mit | 2,611 |
#!/usr/bin/env perl
########################################################################
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematics and Computer Science Division, Argonne National Lab
############################################... | kbase/KBaseFBAModeling | scripts/fba-phenosensitivity.pl | Perl | mit | 5,501 |
=head1 NAME
Apache2::FilterRec - Perl API for manipulating the Apache filter record
=head1 Synopsis
use Apache2::Filter ();
use Apache2::FilterRec ();
my $frec = $filter->frec;
print "filter name is:", $frec->name;
=head1 Description
C<Apache2::FilterRec> provides an access to the filter record
st... | Distrotech/mod_perl | docs/src/docs/2.0/api/Apache2/FilterRec.pod | Perl | apache-2.0 | 1,679 |
=head1 foobar-lib.pl
Functions for the Foobar Web Server. This is an example Webmin module for a
simple fictional webserver.
=cut
use WebminCore;
init_config();
=head2 list_foobar_websites()
Returns a list of all websites served by the Foobar webserver, as hash
references with C<domain> and C<directory> keys.
=cu... | BangL/webmin | foobar/foobar-lib.pl | Perl | bsd-3-clause | 1,949 |
#!/usr/bin/perl -w
# -*- Mode: Perl; tab-width: 4; indent-tabs-mode: nil; -*-
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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. Yo... | glycerine/vj | src/js-1.8.5/js/src/tests/pattern-expander.pl | Perl | apache-2.0 | 7,393 |
package IPC::Open2;
use strict;
our ($VERSION, @ISA, @EXPORT);
require 5.000;
require Exporter;
$VERSION = 1.04;
@ISA = qw(Exporter);
@EXPORT = qw(open2);
=head1 NAME
IPC::Open2 - open a process for both reading and writing using open2()
=head1 SYNOPSIS
use IPC::Open2;
$pid = open2(\*CHLD_OUT, \*CHLD_... | Dokaponteam/ITF_Project | xampp/perl/lib/IPC/Open2.pm | Perl | mit | 4,004 |
:- module(util, [
new_database/0,
set_default_username/1, % +Username
set_no_auth/0,
default_user_id/1, % -Id
request_get/2, % +Path, -Dict
request_put/3, % +Path, +DictIn, -DictOut
request_del/2, % +Path, -Dict
request_post/3, % +Path, +DictIn, -D... | kalatestimine/blog-core | tests/util/util.pl | Perl | mit | 3,341 |
#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
# This works for IMGUI 1.50 WIP and does not get all functions
#
# to use ./generate_imgui_bindings.pl <imgui.h >imgui_iterator.cpp
# and define macros properly as in example imgui_lua_bindings.cpp
#
# check imgui_iterator for explanations of why some functions... | slages/love-imgui | generate_imgui_bindings.pl | Perl | mit | 14,170 |
package Amazon::S3::Bucket;
use strict;
use warnings;
use Carp;
use File::stat;
use base qw(Class::Accessor::Fast);
__PACKAGE__->mk_accessors(qw(bucket creation_date account));
sub new {
my $class = shift;
my $self = $class->SUPER::new(@_);
croak "no bucket" unless $self->bucket;
croak "no account" u... | sharkhack/AmazonS3 | PERL/Amazon/S3/Bucket.pm | Perl | mit | 11,958 |
package TheOtherOne::Command::client;
use strict;
use warnings;
use feature ':5.14';
use List::Util qw(none);
use TheOtherOne -command;
use TheOtherOne::Client;
my $socket_key = lc TheOtherOne::Client::SOCKET;
my $http_key = lc TheOtherOne::Client::HTTP;
sub abstract {
'connect to too server';
}
sub opt_spec... | oogatta/TheOtherOne | lib/TheOtherOne/Command/client.pm | Perl | mit | 1,039 |
package MIP::Recipes::Analysis::Sv_combinevariantcallsets;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Basename qw{ dirname };
use File::Spec::Functions qw{ catfile splitpath };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
... | henrikstranneheim/MIP | lib/MIP/Recipes/Analysis/Sv_combinevariantcallsets.pm | Perl | mit | 30,538 |
#!/usr/bin/env perl
use v5.020;
use strict;
use warnings;
use utf8;
binmode STDOUT, ":utf8";
binmode STDERR, ":utf8";
binmode STDIN, ":encoding(UTF-8)";
use Data::Printer;
use FindBin;
use Getopt::Long;
use Template;
use Text::CSV_XS 'csv';
use lib "$FindBin::Bin/../lib";
use DartSense::Match;
use DartSense::Play... | basbloemsaat/dartsense | bin/old/genSite.pl | Perl | mit | 1,953 |
=head1 NAME
GeodSolve -- perform geodesic calculations
=head1 SYNOPSIS
B<GeodSolve> [ B<-i> | B<-l> I<lat1> I<lon1> I<azi1> ] [ B<-a> ]
[ B<-e> I<a> I<f> ] B<-u> ]
[ B<-d> | B<-:> ] [ B<-w> ] [ B<-b> ] [ B<-f> ] [ B<-p> I<prec> ] [ B<-E> ]
[ B<--comment-delimiter> I<commentdelim> ]
[ B<--version> | B<-h> | B<--help>... | ObjSal/GeographicLib | man/GeodSolve.pod | Perl | mit | 12,153 |
#!/usr/bin/env perl
######################################################
#Created by Sarah Schmedes
#Will run entire strainphlan workflow, including images
#Designate -clade flag
#designated clade when prompted in STDIN
#Date Released: 08/01/2017
#####################################################
use strict;
use w... | SESchmedes/HIDskinmicrobiome | strainID.pl | Perl | mit | 6,271 |
use strict;
use warnings;
use 5.018;
chomp(my @lines = <>);
foreach (@lines){
if(/\./){
say $_;
}
}
| moosan63/LearningPerl | chapter7/ex7-3.pl | Perl | mit | 118 |
#!/usr/bin/perl
#
# Convert erlang source into markdown
#
# 1/ non-comment lines become quoted blocks (github)
# 2/ comment lines are treated as straight markdown
#
# Pipe-only, usage:
# emdoc.pl < foo.erl > foo.erl.md
#
# The markdown can then be converted by other tools
# [Might be nice if we could do syntax colori... | thomasl/emdoc | bin/emdoc.pl | Perl | mit | 1,435 |
package Thingiverse::SizedImage;
use strict;
use warnings;
use Moose;
use Moose::Util::TypeConstraints;
use Data::Dumper;
use Carp;
use Thingiverse::Types;
extends('Thingiverse');
has url => ( isa => 'Str', is => 'ro', required => 0, );
has image_type => ( isa => 'ThingiverseImageType', is =... | perlygatekeeper/perlythingkeeper | lib/Thingiverse/SizedImage.pm | Perl | cc0-1.0 | 7,056 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Resources/QualityInfo.pm | Perl | apache-2.0 | 1,220 |
%% these imports are added to all gx files
:- if(current_prolog_flag(dialect, ciao)).
:- use_module(library(terms_vars)).
:- else.
varset(A,B) :- term_variables(A,B).
:- endif.
| leuschel/logen | gxmodules.pl | Perl | apache-2.0 | 177 |
=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/modules/EnsEMBL/Web/JSONServer/Tools/AlleleFrequency.pm | Perl | apache-2.0 | 888 |
=head1 NAME
History
=head1 Description
Since mod_perl's inception in 1996, many things have changed, and it's
interesting to look at mod_perl's evolution and related events during
the time from then to now.
Based on the mod_perl I<Changes> file and talks with mod_perl
developer's, we have here reconstructed the imp... | Distrotech/mod_perl | docs/src/about/history.pod | Perl | apache-2.0 | 12,251 |
#!/usr/bin/perl -w
## Raquel Norel (rnorel@us.ibm.com) 01/2015
#validate format of predictions for DREAM9.5 Olfactory Prediciton Challenge (sub challenge 1)
#not using gold standard here, hardcode or build needed info
use strict;
use Cwd qw(abs_path cwd);
## command line arguments
if (@ARGV != 3) {
print "\nUSA... | Sage-Bionetworks/OlfactionDREAMChallenge | src/main/resources/DREAM_Olfactory_S1_validation.pl | Perl | apache-2.0 | 7,965 |
#!/usr/bin/perl -w
#
# Copyright 2017, Google Inc. 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | googleads/googleads-perl-lib | examples/v201809/advanced_operations/use_portfolio_bidding_strategy.pl | Perl | apache-2.0 | 6,548 |
=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... | willmclaren/ensembl | modules/Bio/EnsEMBL/IdMapping/SyntenyRegion.pm | Perl | apache-2.0 | 14,970 |
=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/Query/GlyphSet/Marker.pm | Perl | apache-2.0 | 3,216 |
#
# 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/citrix/netscaler/snmp/mode/vserverstatus.pm | Perl | apache-2.0 | 12,826 |
package Paws::ElasticTranscoder::CreateJobOutput;
use Moose;
has AlbumArt => (is => 'ro', isa => 'Paws::ElasticTranscoder::JobAlbumArt');
has Captions => (is => 'ro', isa => 'Paws::ElasticTranscoder::Captions');
has Composition => (is => 'ro', isa => 'ArrayRef[Paws::ElasticTranscoder::Clip]');
has Encryption ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ElasticTranscoder/CreateJobOutput.pm | Perl | apache-2.0 | 9,105 |
package Web::Summarizer::Sequence::Featurizer;
use strict;
use warnings;
use Moose;
use namespace::autoclean;
# TODO : see parent class, is there a way to effectively recurse over all _id methods to build to the final id ?
sub _id {
my $this = shift;
return join( '::' , __PACKAGE__ );
}
sub run {
my $t... | ypetinot/web-summarization | src/perl/Web/Summarizer/Sequence/Featurizer.pm | Perl | apache-2.0 | 787 |
package Unison::Utilities::Cluster;
use CBT::debug;
CBT::debug::identify_file() if ($CBT::debug::trace_uses);
use strict;
use warnings;
use base 'Exporter';
our @EXPORT = ();
our @EXPORT_OK = qw( cluster_data);
use Algorithm::Cluster qw/kcluster/;
sub new {
my $self = {};
bless $self;
$self->{para... | unison/unison | perl5/Unison/Utilities/Cluster.pm | Perl | apache-2.0 | 3,268 |
package Paws::Pinpoint::GetCampaignVersions;
use Moose;
has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'application-id', required => 1);
has CampaignId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'campaign-id', required => 1);
has PageSize => (is =... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/GetCampaignVersions.pm | Perl | apache-2.0 | 2,461 |
package WordGraph::EdgeFeature;
use Moose;
use namespace::autoclean;
# id
has 'id' => ( is => 'ro' , isa => 'Str' , required => 1 );
with('Feature');
# params
has 'params' => ( is => 'ro' , isa => 'HashRef' , default => sub { {} } );
sub cache_key {
my $this = shift;
my $instance = shift;
my $edge = s... | ypetinot/web-summarization | summarizers/graph-summarizer-4/src/WordGraph/EdgeFeature.pm | Perl | apache-2.0 | 3,024 |
#!/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://www.... | dbolser/ensembl-variation | scripts/misc/test_chrom_coverage_in_cache_files.pl | Perl | apache-2.0 | 6,591 |
package VMOMI::HostRuntimeInfo;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['connectionState', 'HostSystemConnectionState', 0, ],
['powerState', 'HostSystemPowerState', 0, ],
['standbyMode', undef, 0, 1],
['inMain... | stumpr/p5-vmomi | lib/VMOMI/HostRuntimeInfo.pm | Perl | apache-2.0 | 1,143 |
:- use_package(persdb).
:- use_module(library('pillow/http_server')).
:- use_module(library(sockets)).
:- use_module(library('sockets/sockets_io'),[serve_socket/3]).
:- use_module(library(strings),[write_string/2]).
:- use_module(library(soap),[soap_message/2]).
:- use_module(library(write)).
% Predicados Persistente... | leuschel/ecce | www/CiaoDE/ciao/library/connections/soap/server2.pl | Perl | apache-2.0 | 2,624 |
#! /usr/bin/env perl
#
# Grep Crawl vault files for some string and output the match preceded by
# vault name. Don't search things like SUBST lines or the MAP.
#
use File::Find;
my $myname = $0;
$myname =~ s,.*/,,;
$myname =~ s/(.)\..*$/$1/;
# probably pointless extensibility...
my @path = ($ENV{HOME} . '/Sources/cr... | geekosaur/vaultgrep | vaultgrep.pl | Perl | bsd-2-clause | 6,218 |
# Copyright (c) 2015, Mitchell Cooper
package F::Operation;
use warnings;
use strict;
use 5.010;
use parent qw(F::NodeExpression);
use Scalar::Util 'blessed';
sub left_side { shift->first_child }
# handle signs.
sub adopt {
my ($op, $maybe) = (shift, @_);
my $before = $op->last_child;
# first element ... | cooper/ferret | lib/F/Operation.pm | Perl | bsd-3-clause | 4,498 |
package Bio::WGS2NCBI::MrnaFeature;
use Bio::WGS2NCBI::Logger;
use Bio::WGS2NCBI::StrandedFeature;
use base 'Bio::WGS2NCBI::StrandedFeature';
=head1 NAME
Bio::WGS2NCBI::MrnaFeature - mRNA feature
=head1 DESCRIPTION
Objects of this class represent an mRNA feature for a gene.
=head1 SEE ALSO
L<Bio::WGS2NCBI::Strand... | naturalis/wgs2ncbi | lib/Bio/WGS2NCBI/MrnaFeature.pm | Perl | bsd-3-clause | 1,414 |
=pod
=head1 NAME
BIO_s_accept, BIO_set_accept_port, BIO_get_accept_port,
BIO_set_nbio_accept, BIO_set_accept_bios, BIO_set_bind_mode,
BIO_get_bind_mode, BIO_do_accept - accept BIO
=head1 SYNOPSIS
#include <openssl/bio.h>
BIO_METHOD *BIO_s_accept(void);
long BIO_set_accept_port(BIO *b, char *name);
char *BIO_g... | GaloisInc/hacrypto | src/C/libssl/HEAD/src/doc/crypto/BIO_s_accept.pod | Perl | bsd-3-clause | 7,022 |
/*****************************************************************************
* This file is part of the Prolog Development Tool (PDT)
*
* WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start
* Mail: pdt@lists.iai.uni-bonn.de
* Copyright (C): 2004-2012, CS Dept. III, University of Bonn
*
* All rights reserve... | TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/pdt.builder/prolog-src/parse_util.pl | Perl | mit | 6,653 |
package Google::Ads::AdWords::v201406::IdeaType;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201406'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type class for the... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/IdeaType.pm | Perl | apache-2.0 | 1,150 |
package # hide package from pause
DBIx::Class::PK::Auto::Pg;
use strict;
use warnings;
use base qw/DBIx::Class/;
__PACKAGE__->load_components(qw/PK::Auto/);
1;
__END__
=head1 NAME
DBIx::Class::PK::Auto::Pg - (DEPRECATED) Automatic primary key class for Pg
=head1 SYNOPSIS
Just load PK::Auto instead; auto-inc ... | ray66rus/vndrv | local/lib/perl5/DBIx/Class/PK/Auto/Pg.pm | Perl | apache-2.0 | 748 |
package Paws::OpsWorks::ListTagsResult;
use Moose;
has NextToken => (is => 'ro', isa => 'Str');
has Tags => (is => 'ro', isa => 'Paws::OpsWorks::Tags');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::OpsWorks::ListTagsResult
=head1 ATTRIBUTES
=head2... | ioanrogers/aws-sdk-perl | auto-lib/Paws/OpsWorks/ListTagsResult.pm | Perl | apache-2.0 | 828 |
use v5.18;
$_ = <<'HERE';
Out "Top 'Middle "Bottom" Middle' Out"
HERE
my @matches;
say "Matched!" if m/
(?(DEFINE)
(?<QUOTE_MARK> ['"])
(?<NOT_QUOTE_MARK> [^'"])
(?<QUOTE>
(
(?<quote>(?"E_MARK))
... | mishin/presentation | regex_recursion/amelia_9.pl | Perl | apache-2.0 | 589 |
=pod
=head1 NAME
SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_set_session(SSL *ssl, SSL_SESSION *session);
=head1 DESCRIPTION
SSL_set_session() sets B<session> to be used when the TLS/SSL connection
is to be establishe... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/doc/ssl/SSL_set_session.pod | Perl | bsd-2-clause | 1,676 |
#! /usr/bin/env perl
# Copyright 2005-2021 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.... | jens-maus/amissl | openssl/crypto/bn/asm/sparcv9-mont.pl | Perl | bsd-3-clause | 14,168 |
package HTTP::Proxy::Engine::Threaded;
use strict;
use HTTP::Proxy;
use threads;
# A massive hack of Engine::Fork to use the threads stuff
# Basically created to work under win32 so that the filters
# can share global caches among themselves
# Angelos Karageorgiou angelos@unix.gr
our @ISA = qw( HTTP::Proxy::Engine );... | btovar/cvmfs | test/mock_services/HTTP/Proxy/Engine/Threaded.pm | Perl | bsd-3-clause | 2,285 |
=pod
=for comment openssl_manual_section:7
=head1 NAME
evp - high-level cryptographic functions
=head1 SYNOPSIS
#include <openssl/evp.h>
=head1 DESCRIPTION
The EVP library provides a high-level interface to cryptographic
functions.
L<B<EVP_Seal>I<...>|EVP_SealInit(3)> and L<B<EVP_Open>I<...>|EVP_OpenInit(3)>
p... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/evp.pod | Perl | apache-2.0 | 4,219 |
#------------------------------------------------------------------------------
# File: ASF.pm
#
# Description: Read ASF/WMA/WMV meta information
#
# Revisions: 12/23/2005 - P. Harvey Created
#
# References: 1) http://www.microsoft.com/windows/windowsmedia/format/asfspec.aspx
# 2) ht... | opf-attic/ref | tools/fits/0.6.1/tools/exiftool/perl/lib/Image/ExifTool/ASF.pm | Perl | apache-2.0 | 30,495 |
use strict;
package Test::Tester;
BEGIN
{
if (*Test::Builder::new{CODE})
{
warn "You should load Test::Tester before Test::Builder (or anything that loads Test::Builder)"
}
}
use Test::Builder;
use Test::Tester::CaptureRunner;
use Test::Tester::Delegate;
require Exporter;
use vars qw( @ISA @EXPORT $VERSION )... | liuyangning/WX_web | xampp/perl/vendor/lib/Test/Tester.pm | Perl | mit | 17,068 |
#line 1
package Module::Install::Base;
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
$VERSION = '1.12';
}
# Suspend handler for "redefined" warnings
BEGIN {
my $w = $SIG{__WARN__};
$SIG{__WARN__} = sub { $w };
}
#line 42
sub new {
my $class = shift;
unless ( defined &{"${class}::call"} ) {
*{"${class}::c... | gitpan/WWW-Search-KacurCZ | inc/Module/Install/Base.pm | Perl | bsd-2-clause | 1,127 |
package Env;
our $VERSION = '1.04';
=head1 NAME
Env - perl module that imports environment variables as scalars or arrays
=head1 SYNOPSIS
use Env;
use Env qw(PATH HOME TERM);
use Env qw($SHELL @LD_LIBRARY_PATH);
=head1 DESCRIPTION
Perl maintains environment variables in a special hash named C<%ENV>. ... | Dokaponteam/ITF_Project | xampp/perl/lib/Env.pm | Perl | mit | 5,524 |
#!/usr/bin/perl
# for example:
# ./add-require.pl `find . -name '*.js'`
#
# will iterate through all files passed in, open 'em up, read 'em, rewrite 'em, and write back to the same spot
# If it thinks it failed, it will not change them
local $/ = undef;
foreach my $file (@ARGV) {
open my $fh, '<', $file;
my ... | eapearson/ui-common-dos | tools/add-require.pl | Perl | mit | 1,775 |
s --> np,vp.
np --> det,n.
vp --> tv,np.
vp --> v.
det --> [the].
det --> [a].
det --> [every].
n --> [man].
n --> [woman].
n --> [park].
n --> [loves].
tv --> [loves].
tv --> [likes].
v --> [walks].
=(X,L,L) :-
member(X,L).
+(X,L,[X|L]).
++(X,L0,[X=Val|L]) :-
less1(L0,X=Val0,L),!,
Val is Val0 + 1.
++(X,L,[X=1... | timm/timmnix | pro/dcg.pl | Perl | mit | 750 |
#!/usr/bin/perl
#
# pwgen 1.4
#
# Usage: pwgen [length] [specials]
#
# length - an optional argument indicating the length of the password
# specials - use '1' to force use of special characters
#
# This will generate random passwords of the specified or default length.
# Requires the Perl package M... | ximenpo/simple-cpp | inc/simple/_third/pwgen/pwgen.pl | Perl | mit | 3,065 |
%Source: Ports of programs found in TPDB/C/AProVE_numeric
%query:test_fun(g,g).
% source: http://cl2-informatik.uibk.ac.at/mercurial.cgi/TPDB/file/72cccd64ec42/C/AProVE_numeric/svcomp_c.02.c
test_fun(X, Y) :- loop1(X, Y, 0).
loop1(X, Y, C) :- X >= 0, X1 is X + 1, Y1 is 1, loop2(X1, Y1, C).
loop1(X, Y, C) :- X < 0.
l... | ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Prolog/AProVE_numeric/svcomp-c-02-c.pl | Perl | mit | 444 |
/* * <module>
% This module defines the way we lay out 2-D grids into room
%
% Logicmoo Project PrologMUD: A MUD server written in Prolog
% Maintainer: Douglas Miles
% Dec 13,2035
%
*/
% :-swi_module(world_2d,[]).
:-export(((
check_for_fall/3,
dir_offset/5,
doorLocation/5,
grid_siz... | TeamSPoon/logicmoo_workspace | packs_sys/prologmud/prolog/prologmud/vworld/world_2d.pfc.pl | Perl | mit | 25,813 |
#! /usr/bin/perl
###############################################################################
# Copyright (C) 1994 - 2006, Performance Dynamics Company #
# #
# This software is licensed as described in the file COPYI... | peterlharding/PDQ | examples/ppdq_2005/pdq_models/mm1.pl | Perl | mit | 2,453 |
#!/usr/bin/perl -w
#
# Copyright (c) AB_Life 2011
# Writer: xuxiong <xuxiong19880610@163.com>
# Program Date: 2011.
# Modifier: xuxiong <xuxiong19880610@163.com>
# Last Modified: 2011.
my $ver="1.0.0";
use strict;
use Getopt::Long;
use Data::Dumper;
use FindBin qw($Bin $Script);
use File::Basename ... | ablifedev/ABLIRC | ABLIRC/bin/Dataclean/stat_uniq_tag.pl | Perl | mit | 1,796 |
#!/usr/bin/perl -w
use 5.010;
use strict;
chomp( my $num1 = <STDIN> );
chomp( my $num2 = <STDIN> );
my $res = 0;
my $error_msg = "wrong input, ";
$res = $num1 * $num2, $error_msg = "", if( &is_numeric($num1) && &is_numeric($num2) );
say $error_msg, "\$res is $res";
sub is_numeric{
$_ = shift @_;
1 if( /^-?... | OldSix/Learning-Perl | chapter02/02.pl | Perl | mit | 343 |
###############################################################################
#Comment.pm
#Last Change: 2009-01-19
#Copyright (c) 2009 Marc-Seabstian "Maluku" Lucksch
#Version 0.8
####################
#This file is part of the Dotiac::DTL project.
#http://search.cpan.org/perldoc?Dotiac::DTL
#
#Comment.pm is... | gitpan/Dotiac | lib/Dotiac/DTL/Comment.pm | Perl | mit | 3,281 |
:- module(wrap_rdf, [
wrap_rdf/0
]).
:- use_module(library(semweb/rdf_db)).
:- use_module(prolog/rdet).
:- rdf_register_prefix(ex, 'http://example.com/').
:- rdet(rdf_test/1).
:- rdf_meta(rdf_test(r)).
rdf_test(S):-
rdf(S, rdf:type, ex:something).
wrap_rdf:-
rdf_test(ex:thing).
| rla/rdet | tests/wrap_rdf.pl | Perl | mit | 297 |
#!/usr/local/bin/perl
#-------------------------------------
# DTA Finder,
# (C)1997-2000 Harvard University
#
# W. S. Lane/M. A. Baker
#
# v3.1a
#
# licensed to Finnigan
#-------------------------------------
##
## For muchem-specific definitions and cgilib routines
##
############################################... | wangchulab/CIMAGE | cravatt_web/cgi-bin/flicka/dtafinder.pl | Perl | mit | 10,909 |
=head1 LICENSE
Copyright [2009-2014] 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/licenses/LICENSE-2.0
Unless required by appl... | lepbase/lepbase-ensembl | modules/EnsEMBL/Web/Document/Element/Logo.pm | Perl | apache-2.0 | 1,735 |
#!/usr/bin/env perl
## emb_genome_map.pl -- genome features as a Unison embeddable page
use strict;
use warnings;
use FindBin;
use lib "$FindBin::RealBin/../perl5", "$FindBin::RealBin/../perl5-ext";
use Unison::WWW;
use Unison::WWW::EmbPage;
use Unison;
use Unison::Exceptions;
use Unison::Utilities::genome_features;... | unison/unison | www/emb_genome_map.pl | Perl | apache-2.0 | 2,701 |
# OpenXPKI::Server::Workflow::Activity::Tools::ParsePKCS10
# Copyright (c) 2014 by The OpenXPKI Project
# Largely copied from SCEPv2::ExtractCSR
package OpenXPKI::Server::Workflow::Activity::Tools::ParsePKCS10;
use strict;
use base qw( OpenXPKI::Server::Workflow::Activity );
use OpenXPKI::Server::Context qw( CTX );
... | openxpki/openxpki | core/server/OpenXPKI/Server/Workflow/Activity/Tools/ParsePKCS10.pm | Perl | apache-2.0 | 15,659 |
# 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/SimulationModificationMethodEnum.pm | Perl | apache-2.0 | 862 |
#
# 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/fortinet/fortimanager/snmp/mode/memory.pm | Perl | apache-2.0 | 4,933 |
package Paws::STS;
use Moose;
sub service { 'sts' }
sub version { '2011-06-15' }
sub flattened_arrays { 0 }
has max_attempts => (is => 'ro', isa => 'Int', default => 5);
has retry => (is => 'ro', isa => 'HashRef', default => sub {
{ base => 'rand', type => 'exponential', growth_factor => 2 }
});
has... | ioanrogers/aws-sdk-perl | auto-lib/Paws/STS.pm | Perl | apache-2.0 | 29,797 |
package Paws::IAM::ListAttachedUserPoliciesResponse;
use Moose;
has AttachedPolicies => (is => 'ro', isa => 'ArrayRef[Paws::IAM::AttachedPolicy]');
has IsTruncated => (is => 'ro', isa => 'Bool');
has Marker => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod docume... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IAM/ListAttachedUserPoliciesResponse.pm | Perl | apache-2.0 | 1,182 |
=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/public-plugins | genoverse/modules/EnsEMBL/Web/Component/Location/ViewTop.pm | Perl | apache-2.0 | 2,046 |
package Paws::CloudWatchEvents::ListRuleNamesByTarget;
use Moose;
has Limit => (is => 'ro', isa => 'Int');
has NextToken => (is => 'ro', isa => 'Str');
has TargetArn => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'Lis... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudWatchEvents/ListRuleNamesByTarget.pm | Perl | apache-2.0 | 1,994 |
package Tapper::Cmd::DbDeploy;
BEGIN {
$Tapper::Cmd::DbDeploy::AUTHORITY = 'cpan:TAPPER';
}
{
$Tapper::Cmd::DbDeploy::VERSION = '4.1.8';
}
# ABSTRACT: Tapper - Backend functions for DB deployment
use 5.010;
use strict;
use warnings;
use Moose;
use Tapper::Config;
use Tapper::Schema::TestrunDB;
use Tapper::Schema:... | gitpan/Tapper-Cmd | lib/Tapper/Cmd/DbDeploy.pm | Perl | bsd-2-clause | 3,736 |
#!/usr/bin/perl
use strict;
use warnings;
use Switch 'Perl6';
use LWP::UserAgent;
package xkcdbot;
use base qw ( Bot::BasicBot );
sub said {
my ($self, $message) = @_;
parse($self, $message);
}
sub parse {
my ($self, $message) = @_;
given ($message->{body}) {
# Comic Search
when (/\.xkcd (.+?)$/) {
m... | directionalpad/xkcdbot | xkcd_bot.pl | Perl | bsd-3-clause | 1,510 |
=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 | misc-scripts/xref_mapping/XrefParser/Mim2GeneParser.pm | Perl | apache-2.0 | 3,911 |
#
# 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/acmepacket/snmp/mode/components/fan.pm | Perl | apache-2.0 | 3,920 |
=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... | ckongEbi/ensembl-compara | modules/Bio/EnsEMBL/Compara/AlignSlice/Exon.pm | Perl | apache-2.0 | 17,693 |
package Crypt::HSXKPasswd::Dictionary::Basic;
use parent Crypt::HSXKPasswd::Dictionary;
# import required modules
use strict;
use warnings;
use Carp; # for nicer 'exception' handling for users of the module
use Fatal qw( :void open close binmode ); # make builtins throw exceptions on failure
use English qw(-no_match_... | bbusschots/xkpasswd.pm | lib/Crypt/HSXKPasswd/Dictionary/Basic.pm | Perl | bsd-2-clause | 8,575 |
#!/usr/bin/perl
use locale;
use strict;
use ClusterManager;
## Model name ##
my $BASE_ID = $ENV{'TRAIN_NAME'};
defined($BASE_ID) || die("TRAIN_NAME environment variable needs to be set.");
## Path settings ##
my $BINDIR = $ENV{'TRAIN_BINDIR'};
defined($BINDIR) || die("TRAIN_BINDIR environment variable needs... | lingsoft/AaltoASR | aku/scripts/align.pl | Perl | bsd-3-clause | 7,468 |
#!/usr/bin/perl
#
#//===----------------------------------------------------------------------===//
#//
#// The LLVM Compiler Infrastructure
#//
#// This file is dual licensed under the MIT and the University of Illinois Open
#// Source Licenses. See LICENSE.txt for details.
#//
#//===-------------... | HackLinux/goblin-core | riscv/riscv-omp/runtime/tools/build.pl | Perl | bsd-3-clause | 25,320 |
sa(200001740,1,200004227,3).
sa(200001740,1,200005041,3).
sa(200005815,1,200006238,3).
sa(200005815,1,200006238,2).
sa(200005815,1,202200341,1).
sa(200010435,1,202122522,1).
sa(200014742,1,200015806,2).
sa(200014742,1,200015806,1).
sa(200014742,1,201177314,2).
sa(200014742,1,201177505,2).
sa(200015303,3,200017282,7).
s... | kraison/nlp | prolog/wn_sa.pl | Perl | mit | 94,892 |
package HTTP::AppServer::Plugin::HTTPAuth;
# Plugin for HTTP::AppServer uses HTTP authentication to
# authenticate a client. The authentication works based
# on a certain handler regex.
# 2010 by Tom Kirchner
#use 5.010000;
use strict;
use warnings;
use MIME::Base64;
use HTTP::AppServer::Plugin;
use base qw(HTTP::AppS... | btovar/cvmfs | test/mock_services/HTTP/AppServer/Plugin/HTTPAuth.pm | Perl | bsd-3-clause | 4,437 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this ... | liuyangning/WX_web | xampp/perl/lib/unicore/lib/Blk/KhmerSym.pl | Perl | mit | 421 |
#-----------------------------------------------------------
# legacy_tln.pl
#
#
# Change history
# 20120620 - modified legacy.pl to legacy_tln.pl
# 20090429 - legacy.pl created
#
# Reference: http://support.microsoft.com/kb/310592
#
#
# Analysis Tip:
# The keys of interested begin with LEGACY_<servicename>, ... | APriestman/autopsy | thirdparty/rr-full/plugins/legacy_tln.pl | Perl | apache-2.0 | 3,065 |
# The documentation is at the __END__
package Win32::OLE::Enum;
1;
# everything is pure XS in Win32::OLE::Enum
# - new
# - DESTROY
#
# - All
# - Clone
# - Next
# - Reset
# - Skip
__END__
=head1 NAME
Win32::OLE::Enum - OLE Automation Collection Objects
=head1 SYNOPSIS
my $Sheets = $Excel->Workbooks(1)->Worksh... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Win32/OLE/Enum.pm | Perl | mit | 2,744 |
# Copyright (c) 2010 - Action Without Borders
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | quile/if-framework | framework/lib/IF/StatusMessage.pm | Perl | mit | 2,950 |
use v6;
use lib 'lib';
use MPD;
my $a = MPD.new('localhost', 6600);
say "State: {$a.state}";
say $a.current-song;
| tadzik/perl6-MPD | test.pl | Perl | mit | 115 |
name(prologmud_samples).
version('2.0.3').
title('Online text adventure game - Sample').
author('Douglas R. Miles','logicmoo@gmail.com').
author('Douglas Miles', 'http://www.linkedin.com/in/logicmoo' ).
packager('logicmoo', 'https://github.com/logicmoo/' ).
maintainer('logicmoo', 'https://github.com/logicmoo/' ).
home(... | TeamSPoon/logicmoo_workspace | packs_sys/prologmud_samples/pack.pl | Perl | mit | 499 |
package # This is JSON::backportPP
JSON::PP;
# JSON-2.0
use 5.005;
use strict;
use base qw(Exporter);
use overload ();
use Carp ();
use B ();
#use Devel::Peek;
use vars qw($VERSION);
$VERSION = '2.27204';
@JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
# instead of hash-access, i tried inde... | jcubic/leash | cgi-bin/JSON/backportPP.pm | Perl | mit | 82,128 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.