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 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
cloud/aws/mode/metrics/ec2instancecpucreditusage.pm
Perl
apache-2.0
1,419
package DDG::Spice::BitcoinBalance; # ABSTRACT: Displays the balance of a Bitcoin address from the Chain.com API. use DDG::Spice; primary_example_queries "17x23dNjXJLzGMev6R63uyRhMWP1VHawKc", "1Gn2dRFqouUHvuWPVhriCDtP3qVQc59WHy", "3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC"; description "Display the balance of a Bitcoin addr...
timeanddate/zeroclickinfo-spice
lib/DDG/Spice/BitcoinBalance.pm
Perl
apache-2.0
1,346
# # 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
centreon/common/violin/snmp/mode/hardware.pm
Perl
apache-2.0
4,761
package OpenResty::Inlined; use strict; use warnings; use base 'OpenResty'; sub response { my $self = shift; if ($self->{_no_response}) { return undef; } #print "HTTP/1.1 200 OK\n"; #warn $s; if (my $bin_data = $self->{_bin_data}) { return "BINARY DATA"; } if (my $error = $self->...
beni55/old-openresty
lib/OpenResty/Inlined.pm
Perl
bsd-3-clause
737
# !!!!!!! 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 ...
Dokaponteam/ITF_Project
xampp/perl/lib/unicore/lib/Blk/Myanmar.pl
Perl
mit
421
do 'pserver-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the pserver module sub acl_security_form { local $i = 0; foreach $f (@features, 'setup', 'init') { print "<tr>\n" if ($i%2 == 0); print "<td><b>",$text{'acl_'.$f},"</b></td> <td>\n"; printf "<input type=radio name=%s ...
HasClass0/webmin
pserver/acl_security.pl
Perl
bsd-3-clause
745
## ## Italian tables ## package Date::Language::Romanian; use Date::Language (); use vars qw(@ISA @DoW @DoWs @MoY @MoYs @AMPM @Dsuf %MoY %DoW $VERSION); @ISA = qw(Date::Language); $VERSION = "1.01"; @MoY = qw(ianuarie februarie martie aprilie mai iunie iulie august septembrie octombrie noembrie decembrie); @DoW ...
Dokaponteam/ITF_Project
xampp/perl/vendor/lib/Date/Language/Romanian.pm
Perl
mit
892
#!/usr/bin/perl # torrentCleanup.pl # Removes useless crap from downloaded TV / Movie file names. # Meant for use on a DNS 323 NAS (hence Perl, and not something more readable) # Tested on Perl v5.10.0 use strict; #use warnings; #use diagnostics; use File::Copy; use Cwd; exit(&main); sub main(){ my $logfile ...
dale-c-anderson/torrentCleanup-pl
torrentCleanup.pl
Perl
mit
6,060
sub name_of_subroutine { ## Function : ## Returns : ## Arguments: $arrays_ref => Array ref description {REF} ## : $hash_href => Hash ref description {REF} ## : $scalar => Scalar description my ($arg_href) = @_; ## Flatten argument(s) my $arrays_ref; my $hash_href; ## Defa...
henrikstranneheim/MIP
templates/code/subroutine.pl
Perl
mit
1,022
% The problem asks to find all integer points that % are inside a circle (around (0,0)) or that are on % the circle's borders % Generates all numbers between A and B gen(A, _, A). gen(A, B, X) :- A < B, A1 is A + 1, gen(A1, B, X). % Checks if a given point(X, Y) in 2D space is % in a circle with radi...
dkalinkov/fmi-projects
prolog/points-in-circle.pl
Perl
mit
655
########################################################################### # # This file is auto-generated by the Perl DateTime Suite time locale # generator (0.04). This code generator comes with the # DateTime::Locale distribution in the tools/ directory, and is called # generate_from_cldr. # # This file as generat...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/DateTime/Locale/ak.pm
Perl
mit
3,180
%query: mergesort(i,o). mergesort([],[]). mergesort([X],[X]). mergesort([X,Y|Xs],Ys) :- split([X,Y|Xs],X1s,X2s), mergesort(X1s,Y1s), mergesort(X2s,Y2s), merge(Y1s,Y2s,Ys). split([],[],[]). split([X|Xs],[X|Ys],Zs) :- split(Xs,Zs,Ys). merge([],Xs,Xs). merge(Xs,[],Xs). merge([X|...
ComputationWithBoundedResources/ara-inference
doc/tpdb_trs/Logic_Programming/lpexamples/mergesort.pl
Perl
mit
384
#!/usr/bin/perl -w use 5.010; use strict; use constant PI => 3.1415926; my $radius; &input_func; until( $radius =~ /^-?\d{1,}\.?\d{0,}$/ ){ say "wrong input.."; &input_func; } $radius = 0 if( $radius < 0 ); my $circ = 2 * PI * $radius; say "The circumference of a circle of a radius $radius is $circ"; sub inp...
OldSix/Learning-Perl
chapter02/01.pl
Perl
mit
412
#!/usr/bin/perl -w #http://www.cimgf.com/2008/04/13/git-and-xcode-a-git-build-number-script/ # Xcode auto-versioning script for Subversion by Axel Andersson # Updated for git by Marcus S. Zarra and Matt Long use strict; # Get the current git commit hash and use it to set the CFBundleVersion value my $REV = `/opt/lo...
sauloal/linuxscripts
git/serial.pl
Perl
mit
865
package VulnDB::RDBO::Message::Manager; use base qw(Rose::DB::Object::Manager); use VulnDB::RDBO::Message; sub object_class { 'VulnDB::RDBO::Message' } __PACKAGE__->make_manager_methods('message'); 1;
jonaustin/advisoryscan
vulntracker/perl/vulntracker/VulnDB/RDBO/Message/Manager.pm
Perl
mit
207
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.4 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. package ABAC; use base qw(Exporter); use base qw(DynaLoader); package ABACc; bootstrap ABAC; package ABAC; @EXPORT = ...
nbsdx/abac
swig/perl/ABAC.pm
Perl
mit
13,514
#!/usr/bin/perl # **************************************************************************** # Script to generate the JIRA gadget XML files for TestRail user activity # summary for a specific test plan # **************************************************************************** use Config::Properties; use MIME::...
zenoss/testrail-jira-gadgets
scripts/generate-user-activity-gadget-xml.pl
Perl
apache-2.0
3,624
package Google::Ads::AdWords::v201402::AdWordsConversionTracker::TextFormat; use strict; use warnings; sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402'}; # derivation by restriction use base qw( SOAP::WSDL::XSD::Typelib::Builtin::string); 1; __END__ =pod =head1 NAME =head1 DESCRIPTION ...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201402/AdWordsConversionTracker/TextFormat.pm
Perl
apache-2.0
1,156
=head1 LICENSE See the NOTICE file distributed with this work for additional information regarding copyright ownership. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/l...
Ensembl/ensembl-compara
modules/Bio/EnsEMBL/Compara/RunnableDB/DumpGenomes/DumpMaskedGenomeSequence.pm
Perl
apache-2.0
2,709
# # (c) Ferenc Erki <erkiferenc@gmail.com> # # vim: set ts=2 sw=2 tw=0: # vim: set expandtab: package Rex::Cloud::OpenStack; use strict; use warnings; our $VERSION = '0.56.1'; # VERSION use Rex::Logger; use base 'Rex::Cloud::Base'; BEGIN { use Rex::Require; JSON::XS->use; HTTP::Request::Common->use(qw(:DEFA...
gitpan/Rex
lib/Rex/Cloud/OpenStack.pm
Perl
apache-2.0
12,555
=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
admin/modules/EnsEMBL/Web/Factory/Attrib.pm
Perl
apache-2.0
1,070
=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/Tools/FailOver/AlleleRegistry.pm
Perl
apache-2.0
1,716
package Paws::EC2::ElasticGpuAssociation; use Moose; has ElasticGpuAssociationId => (is => 'ro', isa => 'Str', request_name => 'elasticGpuAssociationId', traits => ['NameInRequest']); has ElasticGpuAssociationState => (is => 'ro', isa => 'Str', request_name => 'elasticGpuAssociationState', traits => ['NameInReque...
ioanrogers/aws-sdk-perl
auto-lib/Paws/EC2/ElasticGpuAssociation.pm
Perl
apache-2.0
2,067
package VMOMI::ArrayOfDVSVmVnicNetworkResourcePool; use parent 'VMOMI::ComplexType'; use strict; use warnings; our @class_ancestors = ( ); our @class_members = ( ['DVSVmVnicNetworkResourcePool', 'DVSVmVnicNetworkResourcePool', 1, 1], ); sub get_class_ancestors { return @class_ancestors; } sub get_class_me...
stumpr/p5-vmomi
lib/VMOMI/ArrayOfDVSVmVnicNetworkResourcePool.pm
Perl
apache-2.0
462
# 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/Common/IpBlockInfo.pm
Perl
apache-2.0
1,017
package Paws::CloudDirectory::Facet; use Moose; has Name => (is => 'ro', isa => 'Str'); has ObjectType => (is => 'ro', isa => 'Str'); 1; ### main pod documentation begin ### =head1 NAME Paws::CloudDirectory::Facet =head1 USAGE This class represents one of two things: =head3 Arguments in a call to a service ...
ioanrogers/aws-sdk-perl
auto-lib/Paws/CloudDirectory/Facet.pm
Perl
apache-2.0
1,474
# 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/CampaignBudgetService.pm
Perl
apache-2.0
1,428
package VMOMI::DatacenterEvent; use parent 'VMOMI::Event'; use strict; use warnings; our @class_ancestors = ( 'Event', 'DynamicData', ); our @class_members = ( ); sub get_class_ancestors { return @class_ancestors; } sub get_class_members { my $class = shift; my @super_members = $class->SUPER::...
stumpr/p5-vmomi
lib/VMOMI/DatacenterEvent.pm
Perl
apache-2.0
392
# # 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
hardware/server/dell/idrac/snmp/mode/components/temperature.pm
Perl
apache-2.0
7,233
## OpenXPKI::Service::Default.pm ## ## Written 2005-2006 by Michael Bell and Martin Bartosch for the OpenXPKI project ## Polished to use a state-machine like interface 2007 by Alexander Klink ## for the OpenXPKI project ## (C) Copyright 2005-2007 by The OpenXPKI Project package OpenXPKI::Service::Default; use base qw...
openxpki/openxpki
core/server/OpenXPKI/Service/Default.pm
Perl
apache-2.0
36,613
/* Copyright (C)1990-2002 UPM-CLIP */ %---------------------------------------------------------------------------- % Support for misc CIAO functionality in std Prolog systems (e.g., SICStus). %---------------------------------------------------------------------------- %-------------------------------...
leuschel/ecce
www/CiaoDE/ciao/compatibility/sicstus3/user.pl
Perl
apache-2.0
6,305
package Paws::ServiceCatalog::Tag; use Moose; has Key => (is => 'ro', isa => 'Str', required => 1); has Value => (is => 'ro', isa => 'Str', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::ServiceCatalog::Tag =head1 USAGE This class represents one of two things: =head3 Arguments in ...
ioanrogers/aws-sdk-perl
auto-lib/Paws/ServiceCatalog/Tag.pm
Perl
apache-2.0
1,569
package Paws::Greengrass::ListSubscriptionDefinitionVersions; use Moose; has MaxResults => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'MaxResults'); has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'NextToken'); has SubscriptionDefinitionId => (is ...
ioanrogers/aws-sdk-perl
auto-lib/Paws/Greengrass/ListSubscriptionDefinitionVersions.pm
Perl
apache-2.0
2,523
# Auto-generated file -- DO NOT EDIT!!!!! =head1 NAME KinoSearch::Search::Hits - Access search results. =head1 DEPRECATED The KinoSearch code base has been assimilated by the Apache L<Lucy> project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home: L<http...
gitpan/KinoSearch
lib/KinoSearch/Search/Hits.pod
Perl
apache-2.0
1,278
package Venn::Role::Util; =head1 NAME Venn::Role::Util =head1 DESCRIPTION Utilities library =head1 AUTHOR Venn Engineering Josh Arenberg, Norbert Csongradi, Ryan Kupfer, Hai-Long Nguyen =head1 LICENSE Copyright 2013,2014,2015 Morgan Stanley Licensed under the Apache License, Version 2.0 (the "License"); you m...
Morgan-Stanley/venn-core
lib/Venn/Role/Util.pm
Perl
apache-2.0
2,529
use strict; use warnings qw(FATAL); use MMPLD; $#ARGV == 1 or die "usage: $0 <inputfile> <outputfile>"; my $outfile = $ARGV[1]; my $m = MMPLD->new({filename=>$outfile, numframes=>1}); $m->StartFrame({frametime=>1.23, numlists=>1}); my $temp = <>; $temp =~ /(\d+)/; my $numPoints = $1; $m->StartList({ v...
UniStuttgart-VISUS/megamol
utils/MMPLD/PTS2MMPLD.pl
Perl
bsd-3-clause
1,178
package AsposeTasksCloud::Object::TaskType; require 5.6.0; use strict; use warnings; use utf8; use JSON qw(decode_json); use Data::Dumper; use Module::Runtime qw(use_module); use Log::Any qw($log); use Date::Parse; use DateTime; use base "AsposeTasksCloud::Object::BaseObject"; # # # #NOTE: This class is auto generat...
aspose-tasks/Aspose.Tasks-for-Cloud
SDKs/Aspose.Tasks-Cloud-SDK-for-Perl/lib/AsposeTasksCloud/Object/TaskType.pm
Perl
mit
759
:- module(argutils, [ sumargs/2 , addargs/3 ]). sumargs(Term,Total) :- functor(Term,_,N), sumargs(N,Term,0,Total). sumargs(0,_,S,S) :- !. sumargs(N,Term,S1,S3) :- succ(M,N), arg(N,Term,X), S2 is S1+X, sumargs(M,Term,S2,S3). %% addargs( +Term, +Args, -NewTerm) is det. % % Add a...
TeamSPoon/logicmoo_workspace
packs_lib/genutils/prolog/argutils.pl
Perl
mit
1,009
=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/AltAlleleGroup.pm
Perl
apache-2.0
16,106
package Perun::GroupsAgent; use strict; use warnings; use Perun::Common; my $manager = 'groupsManager'; use fields qw(_agent _manager); sub new { my $self = fields::new(shift); $self->{_agent} = shift; $self->{_manager} = $manager; return $self; } sub createGroup { return Perun::Common::callManagerMethod('c...
Holdo/perun
perun-rpc/src/main/perl/Perun/GroupsAgent.pm
Perl
bsd-2-clause
2,654
#!/usr/bin/perl use strict; use Test::More; use FindBin qw($Bin); use lib "$Bin/lib"; use MemcachedTest; sleep 1; my $threads = 128; my $running = 0; # default engine start option : -m 512 # example) ./memcached -E .libs/default_engine.so -X .libs/ascii_scrub.so -m 512 while ($running < $threads) { # my $sock =...
ropik/arcus-memcached
t/too_many_eviction_issue.pl
Perl
bsd-3-clause
2,296
:- module(pp,[pp/2]). :- use_module(slashes). :- use_module(idioms). :- use_module(printError,[error/2,error/3]). :- use_module(library(lists),[append/3]). /* =================================================================== Post-processing: pro-drop (subject and object) =======================================...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/candc/src/data/italian/prolog/pp.pl
Perl
mit
4,876
#----------------------------------------------------------- # compname.pl # Plugin for Registry Ripper; Access System hive file to get the # computername # # Change history # 20090727 - added Hostname # # References # http://support.microsoft.com/kb/314053/ # # copyright 2009 H. Carvey #-------------...
kefir-/autopsy
RecentActivity/release/rr-full/plugins/compname.pl
Perl
apache-2.0
2,193
=pod =head1 NAME d2i_X509_AUX, i2d_X509_AUX, i2d_re_X509_tbs, i2d_re_X509_CRL_tbs, i2d_re_X509_REQ_tbs - X509 encode and decode functions =head1 SYNOPSIS #include <openssl/x509.h> X509 *d2i_X509_AUX(X509 **px, const unsigned char **in, long len); int i2d_X509_AUX(X509 *x, unsigned char **out); int i2d_re_X509_...
jens-maus/amissl
openssl/doc/man3/i2d_re_X509_tbs.pod
Perl
bsd-3-clause
3,114
# ====================================================================== # # Copyright (C) 2000-2001 Paul Kulchenko (paulclinger@yahoo.com) # SOAP::Lite is free software; you can redistribute it # and/or modify it under the same terms as Perl itself. # # $Id: LOCAL.pm 386 2011-08-18 19:48:31Z kutterma $ # # ===========...
leighpauls/k2cro4
third_party/perl/perl/vendor/lib/SOAP/Transport/LOCAL.pm
Perl
bsd-3-clause
1,617
########################################################################### # # 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...
liuyangning/WX_web
xampp/perl/vendor/lib/DateTime/Locale/ha_NE.pm
Perl
mit
8,435
package UI::Server; # # # 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, softwa...
rscrimojr/incubator-trafficcontrol
traffic_ops/app/lib/UI/Server.pm
Perl
apache-2.0
39,109
package DDG::Goodie::CalendarToday; # ABSTRACT: Print calendar of current / given month and highlight (to)day use strict; use DDG::Goodie; use DateTime; use Try::Tiny; use URI::Escape::XS qw(encodeURIComponent); use Text::Trim; with 'DDG::GoodieRole::Dates'; zci answer_type => 'calendar'; zci is_cached => 0; prima...
Faiz7412/zeroclickinfo-goodies
lib/DDG/Goodie/CalendarToday.pm
Perl
apache-2.0
5,290
# This file is auto-generated by the Perl DateTime Suite time zone # code generator (0.07) This code generator comes with the # DateTime::TimeZone module distribution in the tools/ directory # # Generated from debian/tzdata/northamerica. Olson data version 2008c # # Do not edit this file directly. # package DateTime:...
carlgao/lenga
images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/America/Chicago.pm
Perl
mit
19,086
#! /usr/bin/perl # Copyright (c) 1994 James Clark, 2000 Matthias Clasen # Copyright (c) 2000 Peter Nilsson # See the file COPYING for copying permission. use POSIX; # Package and version. $package = 'openjade'; $version = '1.3.3-pre1'; $package = $package; $version = $version; # be quiet, -w $prog = $0; $prog =~ s@....
OS2World/DEV-UTIL-OpenJade
msggen.pl
Perl
mit
8,680
package LOCK; ## ## copied from app6:/httpd/servers/inventory/LOCK.pm ## ## changed to our format, added strict use strict; my $LOCKPATH = "/tmp"; my $VERBOSE = 1; my $MAXAGE = 30 * 60; # 30 minutes ## ## This will return a non-zero if the lock succeeeds ## sub grab_lock { my ($lockid,$ttl) = @_; if (not def...
CommerceRack/backend
lib/LOCK.pm
Perl
mit
2,433
#!/usr/bin/perl # SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com> # SPDX-License-Identifier: MIT use warnings; use strict; package c99; use parent '_c_base'; 1;
pragma-/pbot
applets/pbot-vm/guest/lib/Languages/c99.pm
Perl
mit
186
# 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/bin/AppControl/Perl5Lib.pl
Perl
mit
1,791
#!/usr/bin/perl # Aroon Chande # BIOL-7210 -- Comp Genomics 2016 # Genome Assembly pipeline, for use in webapp use strict; use Async; use File::Path qw(make_path remove_tree); use File::Temp; use Getopt::Long; my($inDir,$outDir,$i,$base,$out,$r1,$r2,@steps,$link,$quast,$contigs); $inDir = "/data/public/reads/"; $outDi...
biol7210-genomes/pipeline_scripts
assembly_pipeline_webapp.pl
Perl
mit
5,485
#!C:\strawberr\perl\bin\perl.exe # Test setters and getters for Animal use strict; use warnings; use Horse; use Sheep; my $tv_horse = Horse->named('Mr. Ed'); $tv_horse->set_name('Mister Ed'); $tv_horse->set_color('grey'); print $tv_horse->name, ' is ', $tv_horse->color, "\n"; print Sheep->name, ' colored ', Sheep->c...
bewuethr/ctci
alpaca_book/chapter13/Animal/scripts/chapter15_ex01.pl
Perl
mit
381
#!/usr/bin/perl -wW use strict; my $ip = shift; exit unless ($ip); my $nip; $nip = $ip; $nip =~ s/\s+//g; $nip =~ s/(..)(..)(..)(..)/$1;$2;$3;$4/; my @tmp = split( ';', $nip ); $tmp[0] = hex( $tmp[0] ); $tmp[1] = hex( $tmp[1] ); $tmp[2] = hex( $tmp[2] ); $tmp[3] = hex( $tmp[3] ); $nip = join( '.', @tmp ); print ...
mmmonk/crap
home_stuff/hex2ip.pl
Perl
mit
336
# Copyright: 2001-2004 The Perl Foundation. All Rights Reserved. # $Id: pdd05_opfunc.pod,v 1.4 2004/02/28 09:16:37 mikescott Exp $ =head1 NAME docs/pdds/pdd05_opfunc.pod - Opcode Function specs =head1 ABSTRACT This PDD specifies how the opcode functions should behave and how they are called by the Parrot interpret...
autarch/perlweb
docs/dev/perl6/pdd/pdd05_opfunc.pod
Perl
apache-2.0
4,447
#!/usr/bin/perl # HACK HACK HACK :-) use strict; use warnings; use Carp; use File::Basename qw(dirname basename); use JSON::XS; use Getopt::Long; my $TIME_BETWEEN_PAGE_REQUESTS = 3; # time, in s, between additional page loads my $QUIET_MODE = undef; my $SCRIPT_DIR = dirname($0); my $PROJECT_CACHE = $SCRIPT_DIR . q...
danvogel/venn-kick-back
project_into_recs.pl
Perl
apache-2.0
6,770
#** @file FrameworkUtils.pm # # @brief Methods for assisting with UW framework # @author Dave Boulineau (db), dboulineau@continuousassurance.org # @date 04/30/2014 09:44:47 # @copy Copyright (c) 2014 Software Assurance Marketplace, Morgridge Institute for Research #* # package SWAMP::FrameworkUtils; use 5.014; use utf...
OWASP/open-swamp
dataserver/opt/swamp/perl5/SWAMP/FrameworkUtils.pm
Perl
apache-2.0
18,752
# # 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/components/stack.pm
Perl
apache-2.0
4,005
package Paws::ApiGateway::GetUsagePlanKey; use Moose; has KeyId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'keyId', required => 1); has UsagePlanId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'usagePlanId', required => 1); use MooseX::ClassAttribute; class_h...
ioanrogers/aws-sdk-perl
auto-lib/Paws/ApiGateway/GetUsagePlanKey.pm
Perl
apache-2.0
2,182
#! /usr/bin/env perl # Copyright 2015-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....
openssl/openssl
test/recipes/tconversion.pl
Perl
apache-2.0
4,606
# # Copyright 2021 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Tpo76/centreon-plugins
centreon/common/ingrian/snmp/mode/memory.pm
Perl
apache-2.0
4,918
#!/usr/bin/env perl use 5.10.0; use strict; use warnings; use lib './lib'; use Getopt::Long; use Path::Tiny qw/path/; use Pod::Usage; use Utils::CaddToBed; use Utils::Fetch; use Utils::LiftOverCadd; use Utils::SortCadd; use Utils::RenameTrack; use Seq::Build; my ( $yaml_config, $wantedName, $sortCadd, $renameTr...
wingolab-org/seq2-annotator
bin/run_utils.pl
Perl
apache-2.0
3,061
# -*- cperl; cperl-indent-level: 4 -*- package WWW::Wookie::Widget::Category v1.1.1; use strict; use warnings; use utf8; use 5.020000; use Moose qw/around has/; use namespace::autoclean '-except' => 'meta', '-also' => qr/^_/sxm; has '_name' => ( 'is' => 'ro', 'isa' => 'Str', 'reader' => 'getName',...
ipenburg/WWW-Wookie
lib/WWW/Wookie/Widget/Category.pm
Perl
apache-2.0
3,732
# # 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/azure/network/appgateway/mode/units.pm
Perl
apache-2.0
5,596
# # 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...
maksimatveev/centreon-plugins
network/radware/alteon/snmp/mode/vserverstatus.pm
Perl
apache-2.0
10,360
#!/usr/bin/perl -w my $file = $ARGV[0]; my @lines = <>; my $anchors = {}; my $i = 0; foreach $line (@lines) { $i++; if ($line =~ m/id="([^"]+)"/) { $anchors->{$1} = $i; } } $i = 0; foreach $line (@lines) { $i++; while ($line =~ m/href="#([^"]+)"/g) { if (! exists($anchors->{$1...
jeltz/rust-debian-package
src/etc/check-links.pl
Perl
apache-2.0
392
# 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/CallReportingSetting.pm
Perl
apache-2.0
1,214
package Google::Ads::AdWords::v201402::FeedService::query; use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' } __PACKAGE__->__set_name('query'); __PACKAGE__->__set_nillable(); __PACKAGE__->__set_minOccurs(); __PACKAGE__->__set_maxOccurs(); __P...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201402/FeedService/query.pm
Perl
apache-2.0
1,879
=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/LowCoverageGenomeAlignment.pm
Perl
apache-2.0
10,615
p(X,X). p(s(X),Y) :- p(X,s(Y)). t(X) :- p(s(s(X)),X), q(X). tz(X) :- p(s(s(X)),X), z(X). q(0). q(s(X)) :- q(X). z(0). tz(X,Y) :- p(s(s(X)),Y), z(X), z(Y).
leuschel/ecce
ecce_examples/Termination/termtest.pl
Perl
apache-2.0
170
use strict; use warnings; use File::Basename; use lib dirname($0); use P4PPortalAPI; sub getPIDMaps { my (@servers) = @_; my %result; foreach my $server (@servers) { my %pidmap = getPIDMap($server); # Remove PIDs without any prefixes my $numprefixes = 0; my $numpids = 0; for my $pid (keys(%pidmap)) {...
Yale-LANS/ALTO
example-apps/tracker/emulator/data/scripts/Generate.pm
Perl
bsd-3-clause
1,802
# 1 "liblats.c" # 1 "<built-in>" # 1 "<command-line>" # 1 "liblats.c" # 984 "liblats.c" =pod =head1 NAME liblats.gex - GrADS Extension Library for File Subsetting and Reformatting =head1 SYNOPSIS =head3 GrADS Commands: =over 4 =item run B<set_lats> I<PARAMETER> I<VALUE> - Set internal parameters =item run B<qu...
bucricket/projectMASviirs
source/bin/Linux/Versions/2.0.2.oga.2/x86_64/liblats.pod
Perl
bsd-3-clause
19,632
# Functions for checking for updates to packages from YUM, APT or some other # update system. BEGIN { push(@INC, ".."); }; eval "use WebminCore;"; &init_config(); &foreign_require("software", "software-lib.pl"); &foreign_require("cron", "cron-lib.pl"); &foreign_require("webmin", "webmin-lib.pl"); $available_cache_fil...
HasClass0/webmin
package-updates/package-updates-lib.pl
Perl
bsd-3-clause
17,163
# # Author: Makarius # # tools.pl - list Isabelle tools with description # use strict; use warnings; my @tools = (); for my $dir (split(":", $ENV{"ISABELLE_TOOLS"})) { if (-d $dir) { if (opendir DIR, $dir) { for my $name (readdir DIR) { my $file = "$dir/$name"; if (-f $file and -x $file a...
MerelyAPseudonym/isabelle
lib/scripts/tools.pl
Perl
bsd-3-clause
820
# /=====================================================================\ # # | NNexus Autolinker | # # | Indexing Plug-in, nCatLab.org domain | # # |=====================================================================| # # | Part of the ...
dginev/nnexus
lib/NNexus/Index/Nlab.pm
Perl
mit
3,157
#!/bin/perl use strict; my $score; my @scores = sort { $a <=> $b } map { `cat $_` =~ /^(F_\S+)\s+:\s(\S+)$/m; $score = $1 ; $2 } @ARGV; my $mean = 0; $mean += $_ foreach(@scores); $mean /= @scores; my $var = 0; $var += ($mean - $_)**2 foreach(@scores); $var /= @scores; my $sd = sqrt($var); printf("Mean $score : %....
grammatical/baselines-emnlp2016
train/scripts/stats.perl
Perl
mit
409
package Google::Ads::AdWords::v201409::DataService::queryAdGroupBidLandscapeResponse; use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' } __PACKAGE__->__set_name('queryAdGroupBidLandscapeResponse'); __PACKAGE__->__set_nillable(); __PACKAGE__->...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201409/DataService/queryAdGroupBidLandscapeResponse.pm
Perl
apache-2.0
1,873
#------------------------------------------------------------------------------ # File: Shortcuts.pm # # Description: ExifTool shortcut tags # # Revisions: 02/07/2004 - PH Moved out of Exif.pm # 09/15/2004 - PH Added D70Boring from Greg Troxel # 01/11/2005 - PH Added Canon20D fro...
philmoz/Focus-Points
focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Shortcuts.pm
Perl
apache-2.0
9,887
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This file is part of VivoMind Prolog Unicode Resources % SPDX-License-Identifier: CC0-1.0 % % VivoMind Prolog Unicode Resources is free software distributed using the % Creative Commons CC0 1.0 Universal (CC0 1.0) - Public Domain Ded...
LogtalkDotOrg/logtalk3
library/unicode_data/unicode_names/unicode_name_lc_letter_cased.pl
Perl
apache-2.0
462
package Paws::CodeCommit::BatchGetRepositoriesOutput; use Moose; has Repositories => (is => 'ro', isa => 'ArrayRef[Paws::CodeCommit::RepositoryMetadata]', traits => ['NameInRequest'], request_name => 'repositories' ); has RepositoriesNotFound => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInReques...
ioanrogers/aws-sdk-perl
auto-lib/Paws/CodeCommit/BatchGetRepositoriesOutput.pm
Perl
apache-2.0
851
package Paws::ELBv2::CreateTargetGroupOutput; use Moose; has TargetGroups => (is => 'ro', isa => 'ArrayRef[Paws::ELBv2::TargetGroup]'); has _request_id => (is => 'ro', isa => 'Str'); 1; ### main pod documentation begin ### =head1 NAME Paws::ELBv2::CreateTargetGroupOutput =head1 ATTRIBUTES =head2 TargetGro...
ioanrogers/aws-sdk-perl
auto-lib/Paws/ELBv2/CreateTargetGroupOutput.pm
Perl
apache-2.0
438
=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/External/ExternalFeatureAdaptor.pm
Perl
apache-2.0
24,722
#!/usr/bin/env perl use Sys::Hostname; use strict; use File::Path; use IO::Handle; # # Set Path for perl Libraries # unshift( @INC, "."); ######################################################################## # Sub: testcase # Prints the result for a test case. # # Parameters: # $class - the test file # $test ...
Altiscale/pig
test/e2e/harness/xmlReport.pl
Perl
apache-2.0
4,240
#!/usr/bin/perl -w use strict; use CoGeX; use Getopt::Long; use vars qw($coge $name $desc $help); $coge = CoGeX->dbconnect(); GetOptions ("name|n=s"=>\$name, "desc|d=s"=>\$desc, "help|h"=>\$help, ); if ($help) { help(); } my $search = {}; $search->{description}={like=>"%".$desc."%"} if $desc;...
asherkhb/coge
scripts/old/get_org_list.pl
Perl
bsd-2-clause
1,025
package Action::workgroupManage; use ItemConstants; use File::Copy; use Session; sub run { our $q = shift; our $dbh = shift; our %in = map { $_ => $q->param($_) } $q->param; our $user = Session::getUser($q->env, $dbh); our $debug = 1; our $thisUrl = "${orcaUrl}cgi-bin/workgroupManage.pl"; our @workG...
SmarterApp/ItemAuthoring
sbac-iaip/perl/Action/workgroupManage.pm
Perl
apache-2.0
14,622
package IO::Scalar; =head1 NAME IO::Scalar - IO:: interface for reading/writing a scalar =head1 SYNOPSIS Perform I/O on strings, using the basic OO interface... use 5.005; use IO::Scalar; $data = "My message:\n"; ### Open a handle on a string, and append to it: $SH = new IO::Scalar \$data; ...
LanceFiondella/srt.core
srt_packages/lib/gdata/perl/IO/Scalar.pm
Perl
mit
16,736
=pod =head1 NAME llvm-config - Print LLVM compilation options =head1 SYNOPSIS B<llvm-config> I<option> [I<components>...] =head1 DESCRIPTION B<llvm-config> makes it easier to build applications that use LLVM. It can print the compiler flags, linker flags and object libraries needed to link against LLVM. =head1 ...
wrmsr/lljvm
thirdparty/llvm/docs/CommandGuide/llvm-config.pod
Perl
mit
2,684
#!./perl -w # Regression tests for attributes.pm and the C< : attrs> syntax. sub NTESTS () ; my ($test, $ntests); BEGIN {$ntests=0} $test=0; my $failed = 0; print "1..".NTESTS."\n"; $SIG{__WARN__} = sub { die @_ }; sub mytest { if (!$@ ne !$_[0] || $_[0] && $@ !~ $_[0]) { if ($@) { my $x = $@; $x ...
aferr/LatticeMemCtl
benchmarks/spec2k6bin/specint/perl_depends/attrs.pl
Perl
bsd-3-clause
3,469
require 5; package Pod::Simple::Progress; $VERSION = "1.01"; use strict; # Objects of this class are used for noting progress of an # operation every so often. Messages delivered more often than that # are suppressed. # # There's actually nothing in here that's specific to Pod processing; # but it's ad-hoc enough...
leighpauls/k2cro4
third_party/cygwin/lib/perl5/vendor_perl/5.10/Pod/Simple/Progress.pm
Perl
bsd-3-clause
2,413
#!/usr/bin/perl -w # # ***** BEGIN LICENSE BLOCK ***** # Zimbra Collaboration Suite Server # Copyright (C) 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 obtain ...
nico01f/z-pec
ZimbraServer/src/perl/soap/imSetIdle.pl
Perl
mit
2,009
#!/usr/bin/env perl =head1 NAME AddTrialTypes.pm =head1 SYNOPSIS mx-run AddTrialTypes [options] -H hostname -D dbname -u username [-F] this is a subclass of L<CXGN::Metadata::Dbpatch> see the perldoc of parent class for more details. =head1 DESCRIPTION This patch adds a cv for trial types. This subclass uses L...
solgenomics/sgn
db/00032/AddTrialTypes.pm
Perl
mit
1,880
use strict; use warnings; # read in status file # status file has number last tested # status file has number currently being tested # status file has last number divided as a test # read in primes file into an array # loop through primes and print them # # start with next test # current number divied by last divid...
AndrewRussellHayes/primes
trilprimegen.pl
Perl
mit
2,815
use strict; use Data::Dumper; use Carp; # # This is a SAS Component # =head1 NAME query_entity_Regulog =head1 SYNOPSIS query_entity_Regulog [--is field,value] [--like field,value] [--op operator,field,value] =head1 DESCRIPTION Query the entity Regulog. Results are limited using one or more of the query flags: ...
kbase/kb_seed
scripts/query_entity_Regulog.pl
Perl
mit
5,201
package CXGN::List::FuzzySearch::Plugin::Plants; use Moose; use Data::Dumper; use SGN::Model::Cvterm; use CXGN::BreedersToolbox::StocksFuzzySearch; sub name { return "plants"; } sub fuzzysearch { my $self = shift; my $schema = shift; my $list = shift; my $max_distance = 0.2; my $fuzzy_sear...
solgenomics/sgn
lib/CXGN/List/FuzzySearch/Plugin/Plants.pm
Perl
mit
895
#!/usr/bin/env perl6 use v6.c; sub MAIN($file="08.in", Int :$rows=6, Int :$cols=50, Bool :$verbose) { my @screen = (1..$rows).map: { Array.new('.' xx $cols) }; for $file.IO.lines { when m:s/rect (\d+)x(\d+)/ { for ^$0 -> $x { for ^$1 -> $y { @screen[$y][...
duelafn/advent-of-code-2016-in-perl6
2016/advent-of-code/08.pl
Perl
mit
2,036
# # (c) Jan Gehring <jan.gehring@gmail.com> # # vim: set ts=3 sw=3 tw=0: # vim: set expandtab: # use strict; use warnings; package Net::OpenNebula::User; $Net::OpenNebula::User::VERSION = '0.300.0'; use Net::OpenNebula::RPC; push our @ISA , qw(Net::OpenNebula::RPC); use constant ONERPC => 'user'; sub name { my (...
gitpan/Net-OpenNebula
lib/Net/OpenNebula/User.pm
Perl
apache-2.0
817
package Paws::CloudHSM::ListAvailableZones; use Moose; use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAvailableZones'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSM::ListAvailableZonesResponse'); class_has _result_key => (isa => ...
ioanrogers/aws-sdk-perl
auto-lib/Paws/CloudHSM/ListAvailableZones.pm
Perl
apache-2.0
1,500
package OpenXPKI::Client::Session::Driver; use Moose; use English; use warnings; use Log::Log4perl qw(:easy); use Log::Log4perl::MDC; use Data::Dumper; use MIME::Base64 qw( encode_base64 decode_base64 ); extends 'CGI::Session::Driver'; # the OXI::Client object has 'backend' => ( required => 1, is => 'rw', ...
stefanomarty/openxpki
core/server/OpenXPKI/Client/Session/Driver.pm
Perl
apache-2.0
2,429