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 | storage/hp/p2000/xmlapi/custom.pm | Perl | apache-2.0 | 10,818 |
use strict;
use XML::Simple;
use Data::Dumper;
$XML::Simple::PREFERRED_PARSER = 'XML::Parser';
my $xml_gold = XMLin($ARGV[0]);
my $xml_new = XMLin($ARGV[1]);
my %match;
#print Dumper($xml_gold);
my % attr_values;
foreach my $id (sort (keys %{$xml_new->{targetInstance}})) {
my $aff_path=$xml_new->{targetInstance}->{$i... | alvintpwang/serverwiz | scripts/compare.pl | Perl | apache-2.0 | 2,637 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/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 existe... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Nv/2000.pl | Perl | apache-2.0 | 431 |
package Object::Accessor;
use strict;
use Carp qw[carp croak];
use vars qw[$FATAL $DEBUG $AUTOLOAD $VERSION];
use Params::Check qw[allow];
use Data::Dumper;
### some objects might have overload enabled, we'll need to
### disable string overloading for callbacks
require overload;
$VERSION =... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/Object/Accessor.pm | Perl | apache-2.0 | 23,172 |
package HTTP::Daemon;
use strict;
use vars qw($VERSION @ISA $PROTO $DEBUG);
$VERSION = "5.810";
use IO::Socket qw(AF_INET INADDR_ANY inet_ntoa);
@ISA=qw(IO::Socket::INET);
$PROTO = "HTTP/1.1";
sub new
{
my($class, %args) = @_;
$args{Listen} ||= 5;
$args{Proto} ||= 'tcp';
return $class->SUPER::new... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/HTTP/Daemon.pm | Perl | bsd-3-clause | 22,843 |
package OtherTypes;
no warnings;
our $foo = 23;
our @foo = "bar";
our %foo = (mouse => "trap");
open foo, "<", $0;
format foo =
foo
.
BEGIN {
$main::pvio = *foo{IO};
$main::pvfm = *foo{FORMAT};
}
sub foo { 1 }
use autodie 'foo';
1;
| Lh4cKg/sl4a | perl/src/lib/autodie/t/lib/OtherTypes.pm | Perl | apache-2.0 | 246 |
#!/usr/bin/env perl
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#
# Generate system call table for OpenBSD from master list
# (for example, /usr/src/sys/kern/syscalls.master).
use strict;
if($ENV{'GOARCH'} ... | muzining/net | x/sys/unix/mksysnum_netbsd.pl | Perl | bsd-3-clause | 1,195 |
combination(0, _, []).
combination(N, [H|T], [H|Comb]) :- M is (N - 1), combination(M, T, Comb).
combination(N, [_|T], Comb) :- N > 0, combination(N, T, Comb).
| dvberkel/99-prolog-problems | Prolog-Lists/26.pl | Perl | mit | 160 |
#!/usr/bin/perl -w
#
# ***** BEGIN LICENSE BLOCK *****
# Zimbra Collaboration Suite Server
# Copyright (C) 2005, 2007, 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 o... | nico01f/z-pec | ZimbraServer/src/perl/soap/imsetpres.pl | Perl | mit | 2,378 |
use Win32::OLE 'in';
use Win32::OLE::Const 'Microsoft WMI Scripting ';
my $ComputerName = ".";
my $NameSpace = "root/cimv2";
my $Locator=Win32::OLE->new("WbemScripting.SWbemLocator");
my $WbemServices = $Locator->ConnectServer($ComputerName, $NameSpace);
my $className = "Win32_Process";
#Alle qualifiers ophalen
m... | VDBBjorn/Besturingssystemen-III | Labo/reeks4/Reeks4_37.pl | Perl | mit | 1,151 |
package WWW::EFA::Request;
use Moose;
use HTTP::Request;
use MooseX::Params::Validate;
use Digest::SHA qw/sha256_hex/;
with 'WWW::EFA::Roles::Printable'; # provides to_string
=head1 NAME
WWW::EFA::Request - A request which can be passed around, and built up
=head1 VERSION
Version 0.01
=cut
our $VERSION = '0.01';
... | aydindemircioglu/putrama | WWW/EFA/Request.pm | Perl | mit | 3,957 |
% ontology is a collection of facts. Converted to CNF form.
fact([-canFly(p:penguin)]).
fact([+canFly(x:canFly)]).
factSorts(Ss) :- Ss = [
(bot -> penguin),
(bot -> canary),
(bot -> emu),
(penguin -> bird),
(canary -> bird),
(emu -> bird),
(bird -> canFly),
(canFly -> canMove),
(canMove -> top)
].
factS... | BorisMitrovic/sorted-reformation | ibis2ont.pl | Perl | mit | 611 |
#!/usr/bin/perl -w
#
# Comment
#
# Create a new comment on a JIRA issue.
#
# Author: Nathan Helenihi
#
package JiraLite::Command::Comment;
use strict;
use warnings;
use base qw( CLI::Framework::Command );
use JiraLite::Config::Jira;
use JiraLite::Lib::Credentials;
use JIRA::Client::Automated;
use Data::Dumper;
sub r... | MyAllocator/jiralite | JiraLite/Command/Comment.pm | Perl | mit | 1,224 |
package Horse;
use strict;
use warnings;
use Moose;
use namespace::autoclean;
extends 'Animal';
=head1 NAME
Horse - class for the Alpaca book
=head1 VERSION
Version 0.01
=cut
our $VERSION = '0.01';
=head1 SYNOPSIS
Horse class, subclasses animal
=cut
has 'color' => (is => 'rw', default => 'brown');
sub soun... | bewuethr/ctci | alpaca_book/chapter19/chapter19_ex01/lib/Horse.pm | Perl | mit | 374 |
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open3;
use Symbol 'gensym';
use IO::Handle;
use Test::More qw/ no_plan /;
my $USDT_ARG_MAX = 32;
if ($^O eq 'freebsd') {
# FreeBSD currently only supports 5 arguments to USDT probes
$USDT_ARG_MAX = 5;
}
my $arch;
if (scalar @ARGV == 1) {
... | hejiheji001/HexoBlog | node_modules/hexo/node_modules/bunyan/node_modules/dtrace-provider/libusdt/test.pl | Perl | mit | 2,906 |
use strict;
use lib "../lib";
use lib "../../lib";
use Test::More "no_plan";
use Data::Dumper;
use Eldhelm::Util::ExternalScript;
use MIME::Base64 qw(encode_base64 decode_base64);
my ($a1, $a2) = Eldhelm::Util::ExternalScript->encodeArgv([ { a => 5 }, { b => 10 }, { c => 15 } ], { a => 1, b => 2 });
ok($a1, "has some... | wastedabuser/eldhelm-platform | test/t/303_external_script.pl | Perl | mit | 719 |
/*
% NomicMUD: A MUD server written in Prolog
% Maintainer: Douglas Miles
% Dec 13, 2035
%
% Bits and pieces:
%
% LogicMOO, Inform7, FROLOG, Guncho, PrologMUD and Marty's Prolog Adventure Prototype
%
% Copyright (C) 2004 Marty White under the GNU GPL
% Sept 20, 1999 - Douglas Miles
% July 10, 1996 - John Eikenberry
%
%... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_agi/prolog/episodic_memory/adv_loader.pl | Perl | mit | 1,381 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.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 exist... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/InSC/Consona6.pl | Perl | mit | 641 |
package Matrix;
use strict;
use warnings;
use Exporter qw<import>;
our @EXPORT_OK = qw<row column>;
sub row {
my ($input) = @_;
return undef;
}
sub column {
my ($input) = @_;
return undef;
}
1;
| exercism/xperl5 | exercises/practice/matrix/Matrix.pm | Perl | mit | 205 |
#!/usr/bin/perl -w
#
# see usage() or run eDNS.pl with no command line
# for usage information
#
use strict;
use vars qw($myip $firewall $target $username $password $version);
use vars qw($pass $url $sock @result $result $code $domain);
use Getopt::Long;
GetOptions('u=s' => \$username, 'p=s' => \$password, 'ip=s' =... | yjpark/dotfiles | external/bin.linux/eDNS.pl | Perl | mit | 2,772 |
package kb_vsearch::kb_vsearchClient;
use JSON::RPC::Client;
use POSIX;
use strict;
use Data::Dumper;
use URI;
use Bio::KBase::Exceptions;
my $get_time = sub { time, 0 };
eval {
require Time::HiRes;
$get_time = sub { Time::HiRes::gettimeofday() };
};
use Bio::KBase::AuthToken;
# Client version should match I... | dcchivian/kb_vsearch | lib/kb_vsearch/kb_vsearchClient.pm | Perl | mit | 13,623 |
#!/usr/bin/perl
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/targeting/common/genHwsvMrwXml.pl $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2013,2014
# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0... | shenki/hostboot | src/usr/targeting/common/genHwsvMrwXml.pl | Perl | apache-2.0 | 122,619 |
#!/usr/bin/perl -w
use strict;
# take a fasta piped to standard input
# take the number of reads to put in each file
# take an output directory
# will create that directory then put the fasta file broken into peices
# named a by integer for each file.
if(scalar(@ARGV) != 2) { die " cat my.fasta | ./explode_fasta.pl ... | jason-weirather/Au-public | iron/utilities/explode_fasta.pl | Perl | apache-2.0 | 1,181 |
# 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/CalloutPlaceholderFieldEnum.pm | Perl | apache-2.0 | 809 |
#!/usr/bin/perl
use strict;
use warnings;
use lib "../lib";
use lib "lib";
use Net::Limesco;
use Data::Dumper;
my ($hostname, $port) = @ARGV;
my $lim = Net::Limesco->new($hostname, $port, 1);
print Dumper($lim->getIssuers());
| mrngm/limesco-pm | bin/get_issuers.pl | Perl | apache-2.0 | 228 |
=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 | misc-scripts/surgery/SeqStoreConverter/DrosophilaMelanogaster.pm | Perl | apache-2.0 | 2,390 |
#
# 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 | network/juniper/common/junos/mode/cpuforwarding.pm | Perl | apache-2.0 | 3,955 |
#!/usr/bin/env perl
=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 L... | Ensembl/ensembl-funcgen | scripts/sequencing/remove_intermediary_bam_files.pl | Perl | apache-2.0 | 4,569 |
package Paws::CodeBuild::BatchGetBuilds;
use Moose;
has Ids => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ids' , required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchGetBuilds');
class_has _returns => (i... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CodeBuild/BatchGetBuilds.pm | Perl | apache-2.0 | 1,659 |
#
# 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 | cloud/azure/database/redis/mode/cachethroughput.pm | Perl | apache-2.0 | 4,986 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestAPI::uri;
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest;
use APR::Pool ();
use APR::URI ();
use Apach... | dreamhost/dpkg-ndn-perl-mod-perl | t/response/TestAPI/uri.pm | Perl | apache-2.0 | 5,645 |
package Google::Ads::AdWords::v201402::AdGroupChangeData;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/ch/v201402' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
us... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/AdGroupChangeData.pm | Perl | apache-2.0 | 3,798 |
#!/usr/bin/perl -w
use strict;
##### pacbio_raw_to_subreads.pl ########
# Convert a .bas.h5 or .bax.h5 file into a fasta and fastq
# Input: <input file name>, <output file name base>
# Output: <output file name base>.fasta and <output file name base>.fastq
# Modifies: Temporary files in /tmp/, STDIO, File IO and anyth... | jason-weirather/Au-public | iron/utilities/pacbio_raw_to_subreads.pl | Perl | apache-2.0 | 5,435 |
use strict;
package main;
require("lib_inputCheck.pl");
# Set UserIndex
$userIndex = setUserIndex();
# init message variables
$sessionObj->param("userMessage", "");
$sessionObj->param("userMessage2", "");
my $errorMessage = "";
# Login is admin
if ($sessionObj->param("role") eq "admin") {
$adminName = $sessionObj... | ktenzer/perfstat | ui/appConfigs/alertTemplates/list/act_edit.pl | Perl | apache-2.0 | 2,187 |
# 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/CampaignCriterionService/CampaignCriterionOperation.pm | Perl | apache-2.0 | 1,173 |
test4([a,b,a|A]) :-
trans_conj__3(a,A),
trace__5(agent(v2),prefix(b,stop),A).
test4__1([a,b,a|A]) :-
trans_conj__3(a,A),
trace__5(agent(v2),prefix(b,stop),A).
trans_conj__3(b,[]).
trans_conj__3(a,[b,A|B]) :-
trans_conj__3(A,B).
trace__5(A,B,[]) :-
stop__6(A,B).
trace__5(A,B,[C|D]) :-
... | leuschel/ecce | ecce_examples/rultest.test4.pl | Perl | apache-2.0 | 912 |
#---------------------------------------------------
# libirc: an insanely flexible perl IRC library. |
# Copyright (c) 2012-13, Mitchell Cooper |
#---------------------------------------------------
package Evented::IRC::Pool;
use warnings;
use strict;
use utf8;
use 5.010;
use Scalar::Util 'weaken';
# c... | cooper/evented-irc | lib/Evented/IRC/Pool.pm | Perl | bsd-2-clause | 6,845 |
# Copyrights 2013 by [Mark Overmeer].
# For other contributors see Changes.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 2.01.
package Net::OAuth2;
use vars '$VERSION';
$VERSION = '0.52';
use warnings;
use strict;
1;
| alanctgardner/gdrive-backup-perl | Net/OAuth2.pm | Perl | bsd-2-clause | 273 |
print "Hello Class! This was fun\n";
exit;
| VxGB111/Perl-Programming-Homework | SFBHelloclass.pl | Perl | bsd-2-clause | 43 |
#!/usr/bin/env perl -w
###############################################
# perl script to generated LTL specification and
# config file to synthesize a generalized buffer
# between k senders and 2 receivers.
#
# Usage: ./genbuf_generator.pl <num_of_senders> <fname>
#
# Generated files: fname
# Default file name is genb... | johnyf/gr1experiments | examples/genbuf/genbuf_spec_generator.pl | Perl | bsd-3-clause | 10,976 |
package WebService::Rackspace::DNS;
use 5.010;
use Mouse;
# ABSTRACT: WebService::Rackspace::DNS - an interface to rackspace.com's RESTful Cloud DNS API using Web::API
our $VERSION = '0.1'; # VERSION
with 'Web::API';
has 'location' => (
is => 'rw',
isa => 'Str',
lazy => 1,
default => s... | gitpan/WebService-Rackspace-DNS | lib/WebService/Rackspace/DNS.pm | Perl | bsd-3-clause | 8,908 |
#
# Net::fonolo - PERL OO interface to the fonolo developer API (http://consumer.fonolo.com)
#
# Copyright (c) 2011, FonCloud, Inc.
# All rights reserved.
#
# This software is licensed under a BSD style license; see COPYING for details.
#
# Written by Mike Pultz (mike@mikepultz.com)
#
package Net::fonolo;
$VERSION = "1... | gitpan/Net-fonolo | lib/Net/fonolo.pm | Perl | bsd-3-clause | 10,562 |
#!/pkg/gnu/bin//perl5
#
#$Id: WebStone-manage.pl 80826 2008-03-04 14:51:23Z wotte $
#
push(@INC, "$wd/bin");
require('WebStone-common.pl');
html_begin("Administration");
$runsdir = "$wd/bin/runs";
$thelength = length($runsdir) + 10;
$oldrunsdir = $runsdir;
$oldfilelist = "$wd/conf/filelist";
print CLIENT <<EOF
<FOR... | batmancn/TinySDNController | ACE_wrappers/apps/JAWS/clients/WebSTONE/bin/WebStone-manage.pl | Perl | apache-2.0 | 691 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | storage/fujitsu/eternus/dx/ssh/mode/cpu.pm | Perl | apache-2.0 | 9,587 |
sub usage {
my $script = shift;
print <<"END";
Usage: perl $script [--with-apache2=C:\Path\to\Apache2]
perl $script --help
Options:
--with-apache2=C:\Path\to\Apache2 : specify the top-level Apache2 directory
--help : print this help message
With no options specified, ... | oerdnj/rapache | libapreq2/win32/util.pl | Perl | apache-2.0 | 807 |
package Google::Ads::AdWords::v201406::Bids;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use Class::Std:... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/Bids.pm | Perl | apache-2.0 | 1,505 |
#!/usr/bin/env perl
######################################################################
# Copyright (c) 2012, Yahoo! Inc. All rights reserved.
#
# This program is free software. You may copy or redistribute it under
# the same terms as Perl itself. Please see the LICENSE.Artistic file
# included with this project f... | getgearbox/gearbox | gearbox/t/core/httpd.pl | Perl | bsd-3-clause | 4,170 |
% Frame number: 0
holdsAt( orientation( grp_ID0 )=59, 0 ). holdsAt( appearance( grp_ID0 )=appear, 0 ).
% Frame number: 1
holdsAt( orientation( grp_ID0 )=65, 40 ). holdsAt( appearance( grp_ID0 )=visible, 40 ).
% Frame number: 2
holdsAt( orientation( grp_ID0 )=61, 80 ). holdsAt( appearance( grp_ID0 )=visible, 8... | JasonFil/Prob-EC | dataset/strong-noise/14-LeftBag/lb1gtAppearenceGrp.pl | Perl | bsd-3-clause | 65,989 |
# !!!!!!! 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/Jg/Pe.pl | Perl | mit | 418 |
package File::Spec::Unix;
use strict;
use vars qw($VERSION);
$VERSION = '3.2701';
=head1 NAME
File::Spec::Unix - File::Spec for Unix, base for other File::Spec modules
=head1 SYNOPSIS
require File::Spec::Unix; # Done automatically by File::Spec
=head1 DESCRIPTION
Methods for manipulating file specifications. ... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/i686-cygwin/File/Spec/Unix.pm | Perl | bsd-3-clause | 13,807 |
#!/usr/bin/perl
use CGI qw/ :standard /;
use File::Temp qw/ tempfile tempdir /;
# my $spellercss = '/speller/spellerStyle.css'; # by FredCK
my $spellercss = '../spellerStyle.css'; # by FredCK
# my $wordWindowSrc = '/speller/wordWindow.js'; # by FredCK
my $wordWindowSrc = '../wordWindow.js'; # by F... | WilliamGoossen/epsos-common-components.gnomonportal | webapps/ROOT/html/js/editor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl | Perl | apache-2.0 | 4,647 |
package CXGN::Apache::Registry;
use strict;
use warnings;
use base qw(ModPerl::RegistryPrefork);
use SGN::Context;
# add a global $c variable to the top of every script for the context
# object
my $cxgn_script_header = <<'EOC';
our $c = SGN::Context->instance;
EOC
sub get_mark_line {
my $self = shift;
return ... | solgenomics/sgn | lib/CXGN/Apache/Registry.pm | Perl | mit | 995 |
prune_([X|L],[X|R]):-
delete_(X,L,W),
prune_(W,R).
prune_([],[]).
| shivekkhurana/learning | prolog/prune.pl | Perl | mit | 74 |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
____ ____
\ \ / /
\ \ ____ / /
\ \/ \/ /
\ /\ / BRACHYLOG
\ / \ / A terse declarative logic programming language
/ \ / \
/ \/ \ Written by Julien Cumi... | JCumin/Brachylog | src/metapredicates.pl | Perl | mit | 29,501 |
# Copyrights 2001-2008 by Mark Overmeer.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 1.04.
use strict;
use warnings;
package Mail::Message::Convert::HtmlFormatPS;
use vars '$VERSION';
$VERSION = '2.082';
use base 'Mail::Messa... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Message/Convert/HtmlFormatPS.pm | Perl | mit | 1,101 |
##################################################
package Log::Log4perl::Appender::Socket;
##################################################
our @ISA = qw(Log::Log4perl::Appender);
use warnings;
use strict;
use IO::Socket::INET;
##################################################
sub new {
#########################... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Log/Log4perl/Appender/Socket.pm | Perl | mit | 5,267 |
#Copyright (C)2001-2010 Altera Corporation
#Any megafunction design, and related net list (encrypted or decrypted),
#support information, device programming or simulation file, and any other
#associated documentation or information provided by Altera or a partner
#under Altera's Megafunction Partnership Program may... | UdayanSinha/Code_Blocks | Nios-2/Nios/practica4/ip/bemicro_max10_serial_flash_controller/em_epcs.pm | Perl | mit | 16,275 |
package Fatal;
use 5.008; # 5.8.x needed for autodie
use Carp;
use strict;
use warnings;
use Tie::RefHash; # To cache subroutine refs
use Config;
use constant PERL510 => ( $] >= 5.010 );
use constant LEXICAL_TAG => q{:lexical};
use constant VOID_TAG => q{:void};
use constant INSIST_TAG => q{!};
use const... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Fatal.pm | Perl | mit | 44,435 |
#!/usr/bin/perl -w
package fqpair;
use strict;
use warnings;
# fqpair.pm
# Sanzhen Liu
# 9/15/2020
sub fqpair {
# input two paired fastq
# output 1 or 0 to indicate if two fq were paired or not.
my ($infq1, $infq2) = @_;
my (@read1, @read2);
### pair 1
my $row = 0;
open(IN, $infq1) || die;
while (<IN>) {
c... | liu3zhenlab/scripts | k-mer/k2readasm/lib/fqpair.pm | Perl | mit | 983 |
#!/usr/bin/perl
use warnings;
use strict;
use feature 'say';
my $fname = shift;
open my $fh, "<", $fname
or die "Can't open $fname: $!";
my $line = <$fh>;
chomp $line;
my @p = split /,/, $line;
my $step;
my $radiatiorID = 5;
my $i = 0;
while (1) {
my $instr = $p[$i];
my $opcode;
my @modes... | bewuethr/advent_of_code | 2019/day05/day05b.pl | Perl | mit | 2,629 |
package Pdbc::Operator;
use strict;
use warnings FATAL => 'all';
use v5.19;
use feature qw(signatures);
no warnings qw(experimental::signatures);
use Exporter;
our (@ISA, @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(EQUAL NOT_EQUAL LIKE IS_NULL IS_NOT_NULL);
use overload (
q{""} => \&as_string,
fallback => 1,
)... | duck8823/pdbc-manager | lib/Pdbc/Operator.pm | Perl | mit | 861 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from debian/tzdata/europe. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Europe/Volgograd.pm | Perl | mit | 9,051 |
package ActivePerl::PPM::Arch;
use strict;
use base 'Exporter';
our @EXPORT_OK = qw(arch short_arch full_arch pretty_arch versioned_arch osname @archs);
use Config qw(%Config);
sub versioned_arch {
my($arch,$version) = @_;
return undef unless $arch;
if ($version >= 5.008) {
$arch .= sprintf "-%d.%d", i... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/ActivePerl/PPM/Arch.pm | Perl | mit | 3,958 |
#!/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/migrateLogger4-loghostname.pl | Perl | mit | 919 |
% Prolog Problems - Prolog Lists
% http://sites.google.com/site/prologsite/prolog-problems/1
:- module(p1_01, [my_last/2]).
:- include('../common').
%% my_last(?LastElement, +List)
%
% True if LastElement is the last element of List.
describe(my_last/2,
[ true
, fail:my_last(_, [])
, my_last(a, [... | khueue/prolog_problems | 1_prolog_lists/p1_01.pl | Perl | mit | 511 |
package Paws::ES::DeleteElasticsearchDomain;
use Moose;
has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DomainName', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteElasticsearchDomain');
class_has _api_uri ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ES/DeleteElasticsearchDomain.pm | Perl | apache-2.0 | 1,962 |
#!/usr/bin/perl -w
#
# Copyright 2012, 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 ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | examples/v201402/basic_operations/update_campaign.pl | Perl | apache-2.0 | 2,541 |
package IrstLMRegressionTesting;
use strict;
die "*** Cannot find variable IRSTLM in environment ***\n"
if !$ENV{IRSTLM};
die "*** Cannot find directory IRSTLM: $ENV{IRSTLM} ***\n"
if ! -d $ENV{IRSTLM};
# if your tests need a new version of the test data, increment this
# and make sure that a irstlm-regression-test... | shyamjvs/cs626_project | stat_moses/tools/irstlm-5.80.05/regression-testing/IrstLMRegressionTesting.pm | Perl | apache-2.0 | 1,593 |
package Paws::MTurk::GetHIT;
use Moose;
has HITId => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetHIT');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MTurk::GetHITResponse');
class_has _result... | ioanrogers/aws-sdk-perl | auto-lib/Paws/MTurk/GetHIT.pm | Perl | apache-2.0 | 1,501 |
#
# 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 | hardware/server/dell/idrac/snmp/mode/components/network.pm | Perl | apache-2.0 | 2,835 |
package Google::Ads::AdWords::v201402::BudgetService::RequestHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('RequestHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__se... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/BudgetService/RequestHeader.pm | Perl | apache-2.0 | 1,014 |
#
# Copyright 2018 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | wilfriedcomte/centreon-plugins | apps/varnish/local/mode/objects.pm | Perl | apache-2.0 | 9,671 |
=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/Ticket/AlleleFrequency.pm | Perl | apache-2.0 | 3,069 |
package Google::Ads::AdWords::v201402::BiddableAdGroupCriterionExperimentData;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_A... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/BiddableAdGroupCriterionExperimentData.pm | Perl | apache-2.0 | 2,527 |
=pod
=head1 NAME
Bio::EnsEMBL::Hive::DBSQL::PipelineWideParametersAdaptor
=head1 SYNOPSIS
$pipeline_wide_parameters_adaptor = $db_adaptor->get_PipelineWideParametersAdaptor;
=head1 DESCRIPTION
This module deals with pipeline_wide_parameters' storage and retrieval, and also stores 'schema_version' for ... | Ensembl/ensembl-hive | modules/Bio/EnsEMBL/Hive/DBSQL/PipelineWideParametersAdaptor.pm | Perl | apache-2.0 | 1,509 |
package Paws::Kinesis::EnhancedMonitoringOutput;
use Moose;
has CurrentShardLevelMetrics => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has DesiredShardLevelMetrics => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has StreamName => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
##... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Kinesis/EnhancedMonitoringOutput.pm | Perl | apache-2.0 | 842 |
=head1 NAME
LedgerSMB::Report::Axis - Models axes of financial reports
=head1 SYNPOSIS
my $axis = LedgerSMB::Report::Axis->new();
my $id = $axis->map_path(['head1','head2','head3','acc']);
my $axis_ids = $axis->sort();
=head1 DESCRIPTION
This module provides a mapping of (hierarchical) account reporting to
a... | tridentcodesolution/tridentcodesolution.github.io | projects/CRM/LedgerSMB-master/LedgerSMB/Report/Axis.pm | Perl | apache-2.0 | 4,271 |
:- module(agent2,[agent2/2],[persdb]).
:- use_module(send, [send/2]).
:- use_module(library(numlists),[ sum_list/2 ]).
persistent_dir(trace_db,traces).
:- persistent(received/2, trace_db).
agent2(Sender, Msg) :-
assertz_fact(received(Sender, Msg)),
case(Msg, Sender).
case(shutdown, _) :-
!,
halt.
cas... | leuschel/ecce | www/CiaoDE/ciao/library/actmods/examples/agents/agent2.pl | Perl | apache-2.0 | 419 |
#
# 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, software
# distributed under ... | delphix/dxtoolkit | bin/dx_set_envpass.pl | Perl | apache-2.0 | 5,826 |
# @file: Config.pm
# @brief:
# @author: YoungJoo.Kim <vozlt@vozlt.com>
# @version:
# @date:
package Deploy::Config;
use strict;
use Deploy::File;
our(@ISA);
@ISA = qw(Deploy::File);
sub new{
my($class, %cnf) = @_;
my $debug = delete $cnf{debug};
my $warn = delete $cnf{warn};
$debug = 0 unless... | vozlt/deploy | src/lib/Deploy/Config.pm | Perl | bsd-2-clause | 1,754 |
# Copyright (c)2000-2013, Chris Pressey, Cat's Eye Technologies.
# All rights reserved.
# Distributed under a BSD-style license; see file LICENSE for more info.
package Distribution;
### DISTRIBUTIONS ###
$even_sex = Distribution->new(0.50 => 'Male', 0.50 => 'Female');
$hive_sex = Distribution->new(0.25 => 'Male... | catseye/Corona-Realm-of-Magic | src/corona/Distributions.pm | Perl | bsd-3-clause | 5,432 |
#!/usr/bin/perl
print "Task Lister\n";
print "Until we have \"ps\", we might as well have this.\n";
print "\n";
if (scalar(@ARGV) == 0) {
print "usage: taskCount.pl <platform>";
exit;
}
$platform = $ARGV[0];
open(APP, "build/$platform/app.c") or die "Failed to open build/$platform/app.c";
open(EXE, "objdum... | ekiwi/tinyos-1.x | contrib/boomerang/tinyos-1.x/tools/scripts/taskCount.pl | Perl | bsd-3-clause | 985 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://... | jiangzhu1212/oooii | Ouroboros/External/OpenSSL/openssl-1.0.0e/crypto/aes/asm/aes-s390x.pl | Perl | mit | 32,892 |
<?php
$HERE_INITIALIZATION_TAKE_PLACE = 'Tutaj inicjalizujesz moduł [app::$user].';
// Timeout
$TIMEOUT_IS_OKEY = 'Czas bezczynności ustawiony prawidłowo.';
$FORGET_PASS_TIMEOUT = 'Zapomniałeś ustawić czasu bezczynności.';
$PASSED_TIMEOUT_REFERENCE_IS_WRONG = 'Zła konfiguracja.';
// Refresh
$REFRESH_IS_OKEY = 'Czas ... | deArcane/framework | src/User28/_Exception/Init/CommonUserInit.lang.pl | Perl | mit | 1,832 |
package Google::Ads::AdWords::v201406::AdGroupCriterionLabelReturnValue;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBU... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/AdGroupCriterionLabelReturnValue.pm | Perl | apache-2.0 | 2,108 |
# -*- perl -*-
use strict;
use CoGeX;
my $connstr = 'dbi:mysql:dbname=DB;host=HOST;port=PORT';
my $s = CoGeX->connect($connstr, 'USER', 'PASSWORD' );
# example for getting 10,000-mer chunks.
my $dataset = [565];
get_10kmers( 'sorghum', $dataset );
# example for getting accns from a file:
# only gets OS01G12345, not ... | LyonsLab/coge | scripts/old/get_by_name.pl | Perl | bsd-2-clause | 4,221 |
=head1 AmiGO::KVStore::QuickGO
Wrapper for QuickGO ontology visualization. Final layer in
storage/cache.
=cut
package AmiGO::KVStore::QuickGO;
use base ("AmiGO::KVStore");
=item new
# Sets the right parameters for the super class.
=cut
sub new {
##
my $class = shift;
my $self = $class->SUPER::new('qg_on... | geneontology/amigo | perl/lib/AmiGO/KVStore/QuickGO.pm | Perl | bsd-3-clause | 373 |
# WARNING
# Do not edit this file manually. Your changes will be overwritten with next FlowPDF update.
# WARNING
package FlowPDF::Component::EF::Reporting::Transformer;
use base qw/FlowPDF::BaseClass2/;
no warnings qw/redefine/;
use FlowPDF::Types;
use FlowPDF::Exception::RuntimeException;
__PACKAGE__->defineClass({
... | electric-cloud/EC-WebLogic | src/main/resources/project/pdk/FlowPDF/Component/EF/Reporting/Transformer.pm | Perl | apache-2.0 | 1,512 |
#!/usr/bin/perl
#------------------------
# Writer: Mico Cheng
# Version: 2004080301
# Use for: Compare different and output to a list-file:
# Host: --
#-----------------------
# this month (newest/more) file list
$primary_list = "./MailCheck";
# last month file list
$compared_list = "./MailPass";
$output_list = ... | TonyChengTW/SMTPTools | DB/compare.pl | Perl | apache-2.0 | 1,653 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/license... | ckongEbi/ensembl-compara | docs/workshop/API_workshop_exercises/gene_tree3.pl | Perl | apache-2.0 | 2,523 |
package AsposePdfCloud::Object::NumberStyle;
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 "AsposePdfCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto generate... | farooqsheikhpk/Aspose.Pdf-for-Cloud | SDKs/Aspose.Pdf-Cloud-SDK-for-Perl/lib/AsposePdfCloud/Object/NumberStyle.pm | Perl | mit | 758 |
/* Part of SWI-Prolog
Author: Markus Triska
E-mail: triska@metalevel.at
WWW: http://www.swi-prolog.org
Copyright (C): 2005-2016, Markus Triska
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provid... | josd/eye | eye-wasm/swipl-wasm/home/library/clp/simplex.pl | Perl | mit | 53,386 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/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 existe... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Perl/SpacePer.pl | Perl | apache-2.0 | 519 |
#!/usr/bin/env perl
use Dancer;
use NCIP::Dancing;
dance;
| digibib/koha-docker | files/NCIPServer/bin/ncip_dancing.pl | Perl | mit | 58 |
require 'postgresql-lib.pl';
sub cpan_recommended
{
return ( "DBI", "DBD::Pg" );
}
| HasClass0/webmin | postgresql/cpan_modules.pl | Perl | bsd-3-clause | 86 |
package Git::SVN::Editor;
use vars qw/@ISA $_rmdir $_cp_similarity $_find_copies_harder $_rename_limit/;
use strict;
use warnings;
use SVN::Core;
use SVN::Delta;
use Carp qw/croak/;
use IO::File;
use Git qw/command command_oneline command_noisy command_output_pipe
command_input_pipe command_close_pipe
... | pniebla/test-repo-console | svn/git-1.8.3.3.tar/git-1.8.3.3/git-1.8.3.3/perl/Git/SVN/Editor.pm | Perl | mit | 15,413 |
package #
Date::Manip::Offset::off312;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off312.pm | Perl | mit | 852 |
#!/usr/bin/perl -w
#Author: Pengcheng Yang
#Email: yangpc@mail.biols.ac.cn
use strict;
use Getopt::Long;
use File::Basename qw(basename dirname);
my $usage= "\n$0
--inf \t<str>\tinput file
--informt \t<str>\tinput file format:
\t\twego: geneID<tb>GOID<tb>GOID<tb>...
\t\tthree: geneID<tb>ClassID<tb>ClassDesc
\t... | pengchy/EACO | bin/xxx2gmt.pl | Perl | mit | 2,348 |
#!/usr/bin/perl
# made by: KorG
use strict;
use v5.18;
use warnings;
no warnings 'experimental';
use utf8;
binmode STDOUT, ':utf8';
use lib '.';
use gen;
# Read zero (main) level into memory from STDIN
gen->read_level();
# Switch to the first level
gen->level(1);
# Get random angle for the city being built
my $cit... | zhmylove/itmmorgue | scripts/gen_city.pl | Perl | mit | 1,135 |
#!/usr/bin/perl -w
################################################################################
##
## FILE: extract_stable.pl
##
## CVS: $Id: extract_stable.pl,v 1.2 2003-06-04 22:36:16 scottl Exp $
##
## DESCRIPTION: Perl script to exctract, convert and print a list of Stable URLs
## found searching a... | scttl/jtag | scripts/extract_stable.pl | Perl | mit | 1,343 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.