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 |
|---|---|---|---|---|---|
package Paws::WorkDocs::Subscription;
use Moose;
has EndPoint => (is => 'ro', isa => 'Str');
has Protocol => (is => 'ro', isa => 'Str');
has SubscriptionId => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::WorkDocs::Subscription
=head1 USAGE
This class represents one ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/WorkDocs/Subscription.pm | Perl | apache-2.0 | 1,485 |
#
# 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 | network/stormshield/local/mode/qosusage.pm | Perl | apache-2.0 | 13,946 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/oracle/zs/restapi/mode/components/memory.pm | Perl | apache-2.0 | 2,126 |
#! /usr/bin/perl -w
# (Last emacs Update: Tue May 27, 2014 1:52 pm by Gary Delp v-1.1.15)
# strip the html from the ETCZ files.
use warnings;
use strict;
sub process_file($) {
my $fni = shift;
print "Processing $fni\n";
if ( -r $fni and $fni =~ m/^(.*).html$/o ) {
my $fno = $1;
open(my $fdi, "<", $fni)... | ElderDelp/elisp-collection | scripts/strip_html.pl | Perl | apache-2.0 | 943 |
package VMOMI::VsanHostRuntimeInfoDiskIssue;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['diskId', undef, 0, ],
['issue', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
... | stumpr/p5-vmomi | lib/VMOMI/VsanHostRuntimeInfoDiskIssue.pm | Perl | apache-2.0 | 454 |
# $Id: NetBSD.pm,v 1.3 2008/10/27 20:31:21 drhyde Exp $
package #
Devel::AssertOS::NetBSD;
use Devel::CheckOS;
$VERSION = '1.1';
sub os_is { $^O eq 'netbsd' ? 1 : 0; }
Devel::CheckOS::die_unsupported() unless(os_is());
=head1 COPYRIGHT and LICENCE
Copyright 2007 - 2008 David Cantrell
This software is free-as-in... | gitpan/Tapper-Base | inc/Devel/AssertOS/NetBSD.pm | Perl | bsd-2-clause | 614 |
package nginx;
use 5.006001;
use strict;
use warnings;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(
OK
DECLINED
HTTP_OK
HTTP_CREATED
HTTP_ACCEPTED
HTTP_NO_CONTENT
HTTP_PARTIAL_CONTENT
HTTP_MOVED_PERMANENTLY
HTTP_MOVED_TEMPORARILY
HTTP_REDIRECT
HTTP_SEE_O... | Yawning/nginx-polarssl | src/http/modules/perl/nginx.pm | Perl | bsd-2-clause | 3,303 |
package App::Netdisco::SSHCollector::Platform::IOS;
# vim: set expandtab tabstop=8 softtabstop=4 shiftwidth=4:
=head1 NAME
App::Netdisco::SSHCollector::Platform::IOS
=head1 DESCRIPTION
Collect ARP entries from Cisco IOS devices.
=cut
use strict;
use warnings;
use Dancer ':script';
use Moo;
=head1 PUBLIC METHOD... | gitpan/App-Netdisco | lib/App/Netdisco/SSHCollector/Platform/IOS.pm | Perl | bsd-3-clause | 1,063 |
#
# ExpressionOrAssignLValue1.pm : part of the Mace toolkit for building distributed systems
#
# Copyright (c) 2010, Sunghwan Yoo, Charles Killian
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met... | jojochuang/eventwave | perl5/Mace/Compiler/ParseTreeObject/ExpressionOrAssignLValue1.pm | Perl | bsd-3-clause | 3,203 |
package CSS::Prepare::Property::Background;
use Modern::Perl;
use CSS::Prepare::Property::Expansions;
use CSS::Prepare::Property::Values;
sub parse {
my $self = shift;
my $has_hack = shift;
my $location = shift;
my %declaration = @_;
my $property = $declaration{'property'};
... | norm/CSS-Prepare | p5-CSS-Prepare/lib/CSS/Prepare/Property/Background.pm | Perl | bsd-3-clause | 3,841 |
use strict;
use warnings;
package Counter;
use self;
sub new {
my $class = shift;
return bless {
v => 0
}, $class;
}
sub set {
my ($v) = @args;
$self->{v} = $v;
}
sub out {
$self->{v};
}
sub inc {
$self->{v}++;
}
package ChildofCounter;
use base 'Counter';
package SecondCounte... | gitpan/self | t/lib2/Counter.pm | Perl | mit | 537 |
package Google::Ads::AdWords::v201409::IntegerSetAttribute;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201409' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/IntegerSetAttribute.pm | Perl | apache-2.0 | 1,653 |
% (c) Florence Benoy, Andy King and Fred Mesnard
%
% See the TPLP paper "Calculating Convex Hulls with
% a Linear Solver" for explanation and discussion
%
/* example call:
| ?- hull:convex_hull([X1,Y1],[X1=0,Y1=1],[X2,Y2],[X2>=0,Y2=X2],V,S).
S = [_A>=0,_A-_B>= -1,_A-_B=<0],
V = [_A,_B] ?
*/
:- module(convex_hull... | leuschel/logen | old_logen/convex_hull.pl | Perl | apache-2.0 | 1,852 |
package Paws::Glue::GetMappingResponse;
use Moose;
has Mapping => (is => 'ro', isa => 'ArrayRef[Paws::Glue::MappingEntry]', required => 1);
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::Glue::GetMappingResponse
=head1 ATTRIBUTES
=head2 B<REQUIRED> Ma... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Glue/GetMappingResponse.pm | Perl | apache-2.0 | 451 |
use strict;
package main;
# Set UserIndex
$userIndex = setUserIndex();
# init message variables
$sessionObj->param("userMessage", "");
my $errorMessage = "";
$adminName = $request->param('adminName');
checkAdminName($adminName);
syncAdminName($adminName);
$userName = $request->param('userName');
checkUserName($admi... | ktenzer/perfstat | ui/appConfigs/hostGroups/share/act_insertSharedUser.pl | Perl | apache-2.0 | 1,423 |
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
use CoGeX;
use POSIX;
use Getopt::Long;
my ($dsgid, $delete_seqs, $db, $user, $pass, $space_min, $space_max,
$length_min, $length_max, $use_strand, $value_max);
GetOptions (
"dsgid=i" => \$dsgid,
"database|db=s" => \$db,
"user|u=s" ... | LyonsLab/coge | scripts/utils/gen_fake_data.pl | Perl | bsd-2-clause | 3,999 |
package NEXT;
$VERSION = '0.65';
use Carp;
use strict;
use overload ();
sub NEXT::ELSEWHERE::ancestors
{
my @inlist = shift;
my @outlist = ();
while (my $next = shift @inlist) {
push @outlist, $next;
no strict 'refs';
unshift @inlist, @{"$outlist[-1]::ISA"};
}
return @outlist;
}
sub NEXT::ELSEWHERE::ordere... | operepo/ope | bin/usr/share/perl5/core_perl/NEXT.pm | Perl | mit | 18,387 |
use utf8;
#
# 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.0
#
# Unless requir... | PSUdaemon/traffic_control | traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm | Perl | apache-2.0 | 4,567 |
package Imager::Test;
use strict;
use Test::Builder;
require Exporter;
use vars qw(@ISA @EXPORT_OK $VERSION);
use Carp qw(croak);
use Config;
$VERSION = "1.000";
@ISA = qw(Exporter);
@EXPORT_OK =
qw(
diff_text_with_nul
test_image_raw
test_image_16
test_image
test_image_double
test_i... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Imager/Test.pm | Perl | mit | 26,248 |
package MojoX::Authen::Handler;
use base 'Mojo::Base';
use strict;
use warnings;
use Carp;
use Mojo::Log;
__PACKAGE__->attr(cb => sub { });
__PACKAGE__->attr(log => sub { Mojo::Log->new });
sub handle { croak 'Method \'handle\' unimplemented by subclass!' }
sub finish { }
1;
| Kulturchaot/mojox-authen | lib/MojoX/Authen/Handler.pm | Perl | mit | 283 |
########################################################################
use strict;
use Data::Dumper;
use Carp;
=head1 svr_scanP
Scan proteins for a designated pattern
------
Example:
svr_all_features 83333.1 peg | svr_scanP 'CxxC'
would produce a 3-column table. The first column would contain
the string ... | kbase/kb_seed | service-scripts/svr_scanP.pl | Perl | mit | 3,002 |
#!/usr/bin/perl
use strict;
use warnings;
# Formats ANNOVAR variants from .annovar_multianno.txt that
# are not formatted like the rest of the lines in the file.
# Works with inconsistent_lines.txt
my $file = shift;
open(my $fh, '<', $file) or die "Can't open $file:$!\n";
while (<$fh>) {
chomp $_;
next if $_ =~ ... | geniusphil/2017GenomicEpidemiologyWorkshop | script/make_annovar_variant_table_inconsistent_lines.pl | Perl | mit | 871 |
#!/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/migrate20060911-MailboxGroup.pl | Perl | mit | 10,564 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 svr_location_of
Get physical locations of genes.
------
Example:
svr_all_features 3702.1 peg | svr_location_of
would produce a 2-column table. The first column would contain
PEG IDs for genes occurring in genome 3702.1, and the se... | kbase/kb_seed | service-scripts/svr_location_of.pl | Perl | mit | 2,814 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/BU3Xn7v6Kb/northamerica. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTim... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/America/Fort_Nelson.pm | Perl | mit | 37,063 |
#!/usr/bin/perl
use strict;
use warnings;
use Bio::Seq;
use Bio::SeqIO;
use Bio::DB::Fasta; #makes a searchable db from my fasta file
###############################################################################
########## Make ChLG FASTA from scaffolds to ChLG AGP #########
##########################... | kstatebioinfo/stitch_paper | manually_currated_output/make_chlg.pl | Perl | cc0-1.0 | 4,510 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Resources/TargetSpend.pm | Perl | apache-2.0 | 1,100 |
# OpenXPKI::Server::Workflow::Activity::Reports::CertExport::GetConfig
# Written by Oliver Welter for the OpenXPKI project 2013
# Copyright (c) 2013 by The OpenXPKI Project
package OpenXPKI::Server::Workflow::Activity::Reports::CertExport::GetConfig;
=head1 Name
OpenXPKI::Server::Workflow::Activity::Reports::CertExp... | durko/openxpki | core/server/OpenXPKI/Server/Workflow/Activity/Reports/CertExport/GetConfig.pm | Perl | apache-2.0 | 4,511 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | apps/video/zixi/restapi/mode/broadcasterinputusage.pm | Perl | apache-2.0 | 7,978 |
package Paws::Lightsail::RebootInstanceResult;
use Moose;
has Operations => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Operation]', traits => ['NameInRequest'], request_name => 'operations' );
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::Lightsail:... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Lightsail/RebootInstanceResult.pm | Perl | apache-2.0 | 543 |
package API::ToExtension;
#
#
# 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, s... | knutsel/traffic_control-1 | traffic_ops/app/lib/API/ToExtension.pm | Perl | apache-2.0 | 8,427 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Enums/FlightPlaceholderFieldEnum.pm | Perl | apache-2.0 | 1,604 |
#! /usr/bin/perl
# Copyright 2006,2016 BitMover, 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 o... | bitkeeper-scm/bitkeeper | src/deroff.pl | Perl | apache-2.0 | 8,681 |
=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 | tools/modules/EnsEMBL/Web/FileChameleonConstants.pm | Perl | apache-2.0 | 1,873 |
package Paws::CodeBuild;
use Moose;
sub service { 'codebuild' }
sub version { '2016-10-06' }
sub target_prefix { 'CodeBuild_20161006' }
sub json_version { "1.1" }
has max_attempts => (is => 'ro', isa => 'Int', default => 5);
has retry => (is => 'ro', isa => 'HashRef', default => sub {
{ base => 'rand'... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CodeBuild.pm | Perl | apache-2.0 | 12,319 |
#!/usr/bin/perl -w
use lib qw( /home/bfchosting/perlmods/lib/perl/5.8 /home/bfchosting/perlmods/lib/perl/5.8.4
/home/bfchosting/perlmods/share/perl/5.8 /home/bfchosting/perlmods/share/perl/5.8.4 );
use strict;
use CGI;
use DBI;
use CGI::Carp;
use Email::Send;
use Petal;
$Email::Send::Sendmail::SENDMAIL = ... | JesseCrocker/PerlPetition | sign.pl | Perl | apache-2.0 | 2,072 |
=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/XrefMapper/anopheles_gambiae.pm | Perl | apache-2.0 | 1,879 |
# 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 compl... | centreon/centreon-plugins | apps/centreon/map/jmx/mode/brokerstats.pm | Perl | apache-2.0 | 5,421 |
package Paws::CloudWatch::AlarmHistoryItem;
use Moose;
has AlarmName => (is => 'ro', isa => 'Str');
has HistoryData => (is => 'ro', isa => 'Str');
has HistoryItemType => (is => 'ro', isa => 'Str');
has HistorySummary => (is => 'ro', isa => 'Str');
has Timestamp => (is => 'ro', isa => 'Str');
1;
### main po... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudWatch/AlarmHistoryItem.pm | Perl | apache-2.0 | 1,799 |
#!/usr/bin/perl -w
use strict;
use Curses;
use Curses::UI;
use Device::SerialPort;
use Getopt::Std;
require 'LICENSE';
sub update_info;
sub update_info_monitor;
sub getparam;
sub send_command;
sub read_response;
sub filter_command_list;
sub send_button;
sub help_button;
sub log_start;
sub serial_port_setup;
sub sh... | levaidaniel/e85power-controller | e85power.pl | Perl | bsd-2-clause | 37,213 |
vP0(0,0).
vP0(1,48).
vP0(2,57).
vP0(3,66).
vP0(4,1).
vP0(5,2).
vP0(6,3).
vP0(7,4).
vP0(8,5).
vP0(9,6).
vP0(10,7).
vP0(11,8).
vP0(12,25).
vP0(13,9).
vP0(14,21).
vP0(15,10).
vP0(16,11).
vP0(17,12).
vP0(18,13).
vP0(19,14).
vP0(20,15).
vP0(21,16).
vP0(22,17).
vP0(23,85).
vP0(24,18).
vP0(25,76).
vP0(26,19).
vP0(27,20).
vP0(... | datalaude/datalaude | examples/examples/datalog/joone/vP0.pl | Perl | bsd-3-clause | 35,833 |
#!/usr/bin/perl
##
## Plots energy levels using GetEnLevels.sh
##
sub print_help(){
print "Usage: ";
print "$0 -f file --N0=N0 --Nf=Nf --E1chain=f (--plot --Nlevels=Nlevels) \n";
print " Options: \n";
print " -v, --verbose : display messages \n";
print " --nosave : does not save file \n";
print " ... | cifu9502/nrgcode | src/Scripts/CalcPhaseShiftLevels.perl | Perl | mit | 9,031 |
#!/usr/bin/env perl
use Modern::Perl;
use Mojo::UserAgent;
use HTML::Entities;
use JSON;
use Date::Manip;
use Date::Calc;
use Mojo::Log;
use Digest::SHA1 qw(sha1_hex);
use Search::Elasticsearch;
use Data::Dumper;
my $log = Mojo::Log->new();
my %months = qw(jan 1 feb 2 mar 3 apr 4 may 5 jun 6 jul 7 aug 8 sep 9 oct 10... | robhammond/bkmrx.com | bin/fetch-amazon-wishlist.pl | Perl | mit | 3,005 |
#!/usr/bin/perl
# crhDebug.pm
#
# debug , message and logging subroutines
# v1.01 crh 12-jan-09 -- initial release, extracted from crhPop3Mail.pm
# v1.14 crh 16-jan-09 -- extended with message and logging subs
# v1.20 crh 22-jun-13 -- incorporate output suppression or printing just newline
# setDbg($) -- set debug sta... | ciscrh/perl-crhLib | crhDebug.pm | Perl | mit | 8,260 |
# $Id: news.pm,v 2.102 2008/05/23 21:30:10 abigail Exp $
package Regexp::Common::URI::news;
use strict;
local $^W = 1;
use Regexp::Common qw /pattern clean no_defaults/;
use Regexp::Common::URI qw /register_uri/;
use Regexp::Common::URI::RFC1738 qw /$grouppart $group $article
... | schwern/Regexp-Common | lib/Regexp/Common/URI/news.pm | Perl | mit | 3,133 |
# !!!!!!! 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/Blk/Enclose2.pl | Perl | mit | 433 |
## OpenXPKI::DN
##
## Written by Michael Bell for the OpenXPKI project
## Copyright (C) 2004-2005 by The OpenXPKI Project
use strict;
use warnings;
use utf8;
package OpenXPKI::DN;
use Memoize;
use Text::CSV_XS;
use OpenXPKI::Exception;
use OpenXPKI::Debug;
# OpenSSL style attribute name mapping
my %mapping_of = (
... | oliwel/openxpki | core/server/OpenXPKI/DN.pm | Perl | apache-2.0 | 9,964 |
=pod
=head1 NAME
i2d_PKCS7_bio_stream - output PKCS7 structure in BER format.
=head1 SYNOPSIS
#include <openssl/pkcs7.h>
int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *data, int flags);
=head1 DESCRIPTION
i2d_PKCS7_bio_stream() outputs a PKCS7 structure in BER format.
It is otherwise ident... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/doc/crypto/i2d_PKCS7_bio_stream.pod | Perl | bsd-2-clause | 1,046 |
package AfterImage::Font;
use 5.005;
use strict;
require DynaLoader;
use vars qw($VERSION @ISA);
@ISA = qw(DynaLoader Class::Accessor);
use base qw(Class::Accessor);
$VERSION = '0.01';
bootstrap AfterImage $VERSION;
# $AfterImage::Font::manager is hidden from the user. It is a
# Singleton, and under no circumsta... | born2late/afterstep-devel | perl-AfterImage/lib/AfterImage/Font.pm | Perl | mit | 2,353 |
=head1 NAME
Apache2::ServerRec - Perl API for Apache server record accessors
=head1 Synopsis
use Apache2::ServerRec ();
$error_fname = $s->error_fname();
$is_virtual = $s->is_virtual();
$keep_alive = $s->keep_alive();
$keep_alive_max = $s->keep_alive_max();
$keep_alive_timeout = $... | Distrotech/mod_perl | docs/src/docs/2.0/api/Apache2/ServerRec.pod | Perl | apache-2.0 | 16,319 |
#!/usr/bin/perl
#
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## ... | SolidWallOfCode/trafficserver | tools/slow_log_report.pl | Perl | apache-2.0 | 3,239 |
package Cpanel::Security::Advisor::Assessors::Iptables;
# Copyright (c) 2013, cPanel, Inc.
# All rights reserved.
# http://cpanel.net
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source co... | sporks5000/addon_securityadvisor | pkg/Cpanel/Security/Advisor/Assessors/Iptables.pm | Perl | bsd-3-clause | 2,522 |
#!/usr/bin/perl
# **********************************************************
# Copyright (c) 2004-2010 VMware, Inc. All rights reserved.
# **********************************************************
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the fo... | bl4ckic3/DynamoRIO-ARM | tools/bmmemabs.pl | Perl | bsd-3-clause | 5,073 |
package Fixtures::Integration::CachegroupParameter;
# Do not edit! Generated code.
# See https://github.com/Comcast/traffic_control/wiki/The%20Kabletown%20example
use Moose;
extends 'DBIx::Class::EasyFixture';
use namespace::autoclean;
my %definition_for = (
);
sub name {
return "CachegroupParameter";
}
sub get... | smalenfant/traffic_control | traffic_ops/app/lib/Fixtures/Integration/CachegroupParameter.pm | Perl | apache-2.0 | 495 |
sub random_integers
{
my $len = shift;
my @result;
foreach (1..$len) {
my $value = int(rand(100));
push @result, $value;
}
return @result;
}
sub random_hash
{
my $len = shift;
my %result;
foreach (1..$len) {
my $key = random_string(32);
my $val = rando... | mbroadst/debian-qpid-cpp-old | proton-c/bindings/perl/tests/utils.pm | Perl | apache-2.0 | 878 |
package Fixtures::Integration::ToExtension;
# 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,... | mdb/incubator-trafficcontrol | traffic_ops/app/lib/Fixtures/Integration/ToExtension.pm | Perl | apache-2.0 | 12,422 |
=head2 Sat Jun 8 20:25:57 2013: C<Module> L<JSON|JSON>
=over 4
=item *
C<installed into: /w/chr/src/third_party/JSON/out/lib/perl5>
=item *
C<LINKTYPE: dynamic>
=item *
C<VERSION: 2.59>
=item *
C<EXE_FILES: >
=back
=head2 Mon Jun 10 12:38:28 2013: C<Module> L<JSON|JSON>
=over 4
=item *
C<installed into: ... | androidarmv6/android_external_chromium_org | third_party/JSON/out/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod | Perl | bsd-3-clause | 681 |
# ------------------------------------------------------------------------------
# t[#num] - [#invert ? 'Not true' : 'True']
# Generated from [#lib] line: [#lineno]
# ------------------------------------------------------------------------------
sub t[#num] {
$result = eval {
[#test]
};
$@ and die $@;
return $... | ryangies/lsn-build | builders/perl/test/case_true.pl | Perl | mit | 338 |
:-[readFile, parseProblem, parseDomain, common].
:-[dfs, backward, h_addb].
| TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/test/pddl_tests/orig_pddl_parser/backward-dfs-h_add.pl | Perl | mit | 76 |
=head1 NAME
Attean::API::PushParser - Role for parsers that natively call a callback function for each parsed item
=head1 VERSION
This document describes Attean::API::PushParser version 0.002
=head1 DESCRIPTION
The Attean::API::PushParser role defines parsers that can efficiently call a
callback function for each ... | gitpan/Attean | lib/Attean/API/PushParser.pod | Perl | mit | 2,194 |
=begin comment
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.1.2-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
=end comment
=cut
#
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-... | cliffano/swaggy-jenkins | clients/perl/generated/lib/WWW/OpenAPIClient/Object/ClockDifference.pm | Perl | mit | 4,867 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/Q713JNUf8G/southamerica. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Pacific/Easter.pm | Perl | mit | 24,840 |
% Compile the main Regulus code
:- compile('$REGULUS/Prolog/load').
% Compile generator
:- regulus_batch('$REGULUS/Examples/Toy1/scripts/interlingua.cfg', ["LOAD_GENERATION"]).
:- halt.
| TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Toy1/scripts/build_interlingua_generator.pl | Perl | mit | 191 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Services/BiddingStrategyService/BiddingStrategyOperation.pm | Perl | apache-2.0 | 1,168 |
package Paws::DirectConnect::BGPPeer;
use Moose;
has AddressFamily => (is => 'ro', isa => 'Str', request_name => 'addressFamily', traits => ['NameInRequest']);
has AmazonAddress => (is => 'ro', isa => 'Str', request_name => 'amazonAddress', traits => ['NameInRequest']);
has Asn => (is => 'ro', isa => 'Int', req... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DirectConnect/BGPPeer.pm | Perl | apache-2.0 | 2,170 |
#!/usr/bin/perl --
# generate site specific passwords from one (or more) master password(s)
# Steffen Zahn steffzahn@gmail.com
use strict;
use warnings;
use Digest::SHA qw(sha256);
# use Term::ReadPassword; # non-standard, apparently
my $DEBUG=0;
my $printable="abcdefghijkmnopqrstuvwxyz23456789!:?/&()-"; # size 41 ... | steffzahn/test | pwgen256.pl | Perl | apache-2.0 | 2,680 |
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | gitpan/Thrift | lib/Thrift/BufferedTransport.pm | Perl | apache-2.0 | 2,789 |
=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/XrefParser/IxodesCAPParser.pm | Perl | apache-2.0 | 2,818 |
package Paws::EC2::DeleteVpnConnectionRoute;
use Moose;
has DestinationCidrBlock => (is => 'ro', isa => 'Str', required => 1);
has VpnConnectionId => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteVpnConnectionRoute... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/DeleteVpnConnectionRoute.pm | Perl | apache-2.0 | 1,865 |
#! /usr/bin/env perl
use strict;
use warnings;
use JSON;
use Digest::MD5 qw(md5_hex);
use Parallel::Forker;
use Fcntl qw(:flock);
my $lockfile = "xml-check.lock";
sub run {
my ($f) = @_;
warn ((localtime time)."\nChecking $f [$$]\n");
my $x = system("xmllint --stream $f");
open(LOCK,'>',$lockfile);
flock... | Ensembl/ensembl-webcode | utils/indexing/xmlChecker.pl | Perl | apache-2.0 | 1,813 |
package Paws::ElastiCache::EC2SecurityGroup;
use Moose;
has EC2SecurityGroupName => (is => 'ro', isa => 'Str');
has EC2SecurityGroupOwnerId => (is => 'ro', isa => 'Str');
has Status => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ElastiCache::EC2SecurityGroup
=head1 ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ElastiCache/EC2SecurityGroup.pm | Perl | apache-2.0 | 1,671 |
#
# 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 | hardware/server/sun/mgmt_cards/components/showenvironment/temperature.pm | Perl | apache-2.0 | 2,443 |
# 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/Services/CampaignDraftService/CampaignDraftOperation.pm | Perl | apache-2.0 | 1,165 |
=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/DBSQL/StrainSliceAdaptor.pm | Perl | apache-2.0 | 11,463 |
# OpenXPKI::Server::Workflow::Activity::Tools::PublishCRL
# Written by Oliver Welter for the OpenXPKI project 2012
# Copyright (c) 2012 by The OpenXPKI Project
package OpenXPKI::Server::Workflow::Activity::Tools::PublishCRL;
use strict;
use English;
use base qw( OpenXPKI::Server::Workflow::Activity );
use OpenXPKI::... | oliwel/openxpki | core/server/OpenXPKI/Server/Workflow/Activity/Tools/PublishCRL.pm | Perl | apache-2.0 | 9,551 |
#!/usr/bin/perl
my $line_num = 0;
my $first = 0;
while (my $line = <STDIN>) {
++$line_num;
$line =~ s/[\r\n]//g;
if ($line =~ /^$/) {
print "\n";
$first = 0;
next;
}
my @words = split /\s+/,$line;
if (scalar(@words) ne 5 and scalar(@words) ne 4) {
print STDERR "\nformat error\n";
prin... | liqiangnlp/LiNMT | scripts/knowledge.aware/dependency.tree/LiNMT-convert-dp-with-word.pl | Perl | mit | 1,029 |
#!/usr/bin/perl
1;
| waterkip/test-package-perl | t/bin/foo.pl | Perl | bsd-2-clause | 20 |
=head1 SHVectorToCilm
=over 17
=item SHVectorToCilm -
Convert a 1-dimensional indexed vector of real spherical harmonic coefficients to a three-dimensional array.
=back
=head1 SYNOPSIS
=over 28
=item SUBROUTINE SHVectorToCilm (
VECTOR, CILM, LMAX )
=back
=over 4
=over 20
=item REAL*8
VECTOR( (LMAX+1)**... | pletnes/SHTOOLS | src/doc/shvectortocilm.pod | Perl | bsd-3-clause | 1,361 |
#-----------------------------------------------------------
# eventlogs.pl
# Author: Don C. Weber
# Plugin for Registry Ripper; Access System hive file to get the
# Event Log settings from System hive
#
# Change history
#
#
# References
# Eventlog Key: http://msdn.microsoft.com/en-us/library/aa363648(VS.85... | raman-bt/autopsy | RecentActivity/release/rr-full/plugins/eventlogs.pl | Perl | apache-2.0 | 3,255 |
=pod
=head1 NAME
dsaparam - DSA parameter manipulation and generation
=head1 SYNOPSIS
B<openssl dsaparam>
[B<-inform DER|PEM>]
[B<-outform DER|PEM>]
[B<-in filename>]
[B<-out filename>]
[B<-noout>]
[B<-text>]
[B<-C>]
[B<-rand file(s)>]
[B<-genkey>]
[B<-engine id>]
[B<numbits>]
=head1 DESCRIPTI... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/doc/apps/dsaparam.pod | Perl | bsd-2-clause | 2,950 |
package DirHandle;
our $VERSION = '1.02';
=head1 NAME
DirHandle - supply object methods for directory handles
=head1 SYNOPSIS
use DirHandle;
$d = new DirHandle ".";
if (defined $d) {
while (defined($_ = $d->read)) { something($_); }
$d->rewind;
while (defined($_ = $d->read)) { ... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/DirHandle.pm | Perl | bsd-3-clause | 1,931 |
# LaTeX2HTML 2008 (1.71)
# Associate internals original text with physical files.
$key = q/issues/;
$ref_files{$key} = "$dir".q|node12.html|;
$noresave{$key} = "$nosave";
$key = q/algorithms/;
$ref_files{$key} = "$dir".q|node19.html|;
$noresave{$key} = "$nosave";
$key = q/mce_alg_combine/;
$ref_files{$key} = "$di... | oroszgy/mcerlang4eclipse | org.mcerlang.help/html/userManual/internals.pl | Perl | mit | 1,892 |
#!/usr/bin/perl
#
# ***** BEGIN LICENSE BLOCK *****
# Zimbra Collaboration Suite Server
# Copyright (C) 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 may obta... | nico01f/z-pec | ZimbraServer/src/db/migration/migrate20070928-ScheduledTaskIndex.pl | Perl | mit | 749 |
package t::Util;
use strict;
use warnings;
use Digest::MD5 qw(md5_hex);
use File::Temp qw(tempfile tempdir);
use IO::Socket::INET;
use IO::Socket::SSL;
use IO::Poll qw(POLLIN POLLOUT POLLHUP POLLERR);
use List::Util qw(shuffle);
use List::MoreUtils qw(firstidx);
use Net::EmptyPort qw(check_port empty_port);
use Net::D... | cwyang/h2o | t/Util.pm | Perl | mit | 23,801 |
# -*- perl -*-
# !!! DO NOT EDIT !!!
# This file was automatically generated.
package Net::Amazon::Validate::ItemSearch::ca::Author;
use 5.006;
use strict;
use warnings;
sub new {
my ($class , %options) = @_;
my $self = {
'_default' => 'Books',
%options,
};
push @{$self->{_options}}, ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Amazon/Validate/ItemSearch/ca/Author.pm | Perl | mit | 1,188 |
% regulus_read.pl
:- ensure_loaded('$REGULUS/PrologLib/compatibility').
:- module(regulus_read,
[read_regulus_file_or_files/2,
read_regulus_file/2,
read_regulus_files/2,
read_regulus_file_or_files/3,
read_regulus_file/3,
read_regulus_files/3,
read_transfer_file_or_files/3,
read_ortho... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Prolog/regulus_read.pl | Perl | mit | 91,185 |
#!/usr/bin/perl
use strict;
use warnings;
# This class is generated from DBIx.pm. Do not modify.
package WWW::Shopify::Model::DBIx::Schema::Result::Model::Webhook;
use base qw/DBIx::Class::Core/;
__PACKAGE__->load_components(qw/InflateColumn::DateTime/);
__PACKAGE__->table('shopify_webhooks');
__PACKAGE__->add_colum... | gitpan/WWW-Shopify | lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Webhook.pm | Perl | mit | 981 |
#!/usr/bin/perl
while(<STDIN>)
{
if(m%</way>%)
{
print " <!-- Special case for motor vehicles -->\n";
print "\n";
print " <if>\n";
print " <output k=\"foot\" v=\"no\"/>\n";
print " <output k=\"horse\" v=\"no\"/>\n";
print " <output k=\"wheel... | MinnPost/minnpost-nice-ride | data-processing/routino-2.2/xml/scripts/drive.pl | Perl | mit | 907 |
#
# 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/hp/eva/cli/mode/components/psu.pm | Perl | apache-2.0 | 6,209 |
# 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/Services/FeedMappingService/MutateFeedMappingsResponse.pm | Perl | apache-2.0 | 1,125 |
# 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.
# You may obtain a ... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveSelectProjectedGenes.pm | Perl | apache-2.0 | 8,751 |
#!/usr/bin/env perl
#** @file vrunTask.pl
#
# @brief ViewRun task. Similar to assessmentTask, but for launching viewer runs.
# This code runs on a hypervisor.
# @verbatim
# When started via condor, the command line will contain the inputs
# This script needs access to libvirt, so it should be sudo'd.
# Create the inpu... | OWASP/open-swamp | exec/opt/swamp/bin/vrunTask.pl | Perl | apache-2.0 | 19,668 |
#!/usr/local/bin/perl
use strict;
###########################################################################
## ##
## ##
## Carnegie Mellon University, Pittsburgh, PA... | saikrishnarallabandi/Festival-Speech-Synthesis-System | festvox/src/interslice/scripts/prepare_prompts_v1.pl | Perl | apache-2.0 | 6,685 |
#
# 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... | golgoth31/centreon-plugins | centreon/common/emc/navisphere/mode/spcomponents/psu.pm | Perl | apache-2.0 | 2,218 |
package Google::Ads::AdWords::v201809::DistinctError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/DistinctError/Reason.pm | Perl | apache-2.0 | 1,117 |
=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 | tools/modules/EnsEMBL/Web/Component/Tools/Down.pm | Perl | apache-2.0 | 1,593 |
#
# COPYRIGHT NOTICE. Copyright (C) 2007 Siemens Corporate Research,
# Inc. ("caBIG(tm) Participant"). The eXtensible Imaging Platform
# (XIP) was created with NCI funding and is part of the caBIG(tm)
# initiative. The software subject to this notice and license
# includes both human readable source code form and m... | OpenXIP/xip-libraries | src/wrap/itk/modules/Filter/Field/OutputArg.pm | Perl | apache-2.0 | 7,655 |
package OpenXPKI::Server::API2::Plugin::Profile::Util;
use Moose;
# Project modules
use Data::Dumper;
use OpenXPKI::Debug;
use OpenXPKI::Server::Context qw( CTX );
=head2 get_input_elements
Read field definitions from config and return them in a HashRef.
The following config paths are queried (stops on first first... | openxpki/openxpki | core/server/OpenXPKI/Server/API2/Plugin/Profile/Util.pm | Perl | apache-2.0 | 5,819 |
package Paws::Lambda::ListFunctions;
use Moose;
has FunctionVersion => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'FunctionVersion');
has Marker => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'Marker');
has MasterRegion => (is => 'ro', isa => 'Str', traits => ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Lambda/ListFunctions.pm | Perl | apache-2.0 | 3,105 |
# 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/CampaignBidModifierService.pm | Perl | apache-2.0 | 1,453 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.