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 |
|---|---|---|---|---|---|
# !!!!!!! 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/To/WB.pl | Perl | mit | 13,400 |
#line 1
package Inline::C;
$VERSION = '0.44';
use strict;
require Inline;
use Config;
use Data::Dumper;
use Carp;
use Cwd qw(cwd abs_path);
use File::Spec;
@Inline::C::ISA = qw(Inline);
#==============================================================================
# Register this module as an Inline language suppor... | gitpan/Algorithm-LBFGS | inc/Inline/C.pm | Perl | mit | 22,732 |
package GAL::Base;
use strict;
use vars qw($VERSION);
use Carp qw(croak cluck);
use Bio::DB::Fasta;
use Scalar::Util qw(blessed);
$VERSION = 0.2.1;
=head1 NAME
L<GAL::Base> - Base class for the Genome Annotation Library
=head1 VERSION
This document describes L<GAL::Base> version 0.2.1
=head1 SYNOPSIS
use ba... | 4ureliek/TEanalysis | Lib/GAL/Base.pm | Perl | mit | 82,586 |
#
# $Id: Jcode.pm,v 2.6 2006/07/02 07:56:06 dankogai Exp dankogai $
#
package Jcode;
use 5.005; # fair ?
use Carp;
use strict;
use vars qw($RCSID $VERSION $DEBUG);
$RCSID = q$Id: Jcode.pm,v 2.6 2006/07/02 07:56:06 dankogai Exp dankogai $;
$VERSION = do { my @r = (q$Revision: 2.6 $ =~ /\d+/g); sprintf "%d."."%02d" x $... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Jcode.pm | Perl | mit | 23,095 |
use MooseX::Declare;
use strict;
use warnings;
class Test::Queue::Master extends Queue::Master with (Test::Agua::Common::Database, Agua::Common::Util) {
use Test::Synapse;
use Test::Virtual;
has 'logfile' => ( isa => 'Str|Undef', is => 'rw', required => 1 );
has 'dumpfile' => ( isa => 'Str|Undef', is => 'rw', req... | aguadev/aguadev | t/unit/lib/Test/Queue/Master.pm | Perl | mit | 35,906 |
# -*- cperl-indent-level: 4; cperl-continued-brace-offset: -4; cperl-continued-statement-offset: 4 -*-
# Copyright (c) 1998-2005 by Jonathan Swartz. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
package HTML::Mason::Interp;
use s... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/HTML/Mason/Interp.pm | Perl | mit | 46,828 |
package WWW::Livesite::OutputStream;
use strict;
use Perl::Module;
use Data::Hub qw($Hub);
use Data::Format::XFR;
use Algorithm::KeyGen;
our $BoundaryGen = Algorithm::KeyGen->new(36, '0-9a-zA-Z');
sub new {
my $class = ref($_[0]) ? ref(shift) : shift;
my $r = $Hub->get('/sys/request/obj');
my $data_encoding = '... | ryangies/lsn-www-hub | src/lib/WWW/Livesite/OutputStream.pm | Perl | mit | 1,242 |
package Paws::OpsWorks::DescribeStacks;
use Moose;
has StackIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeStacks');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::OpsWorks::DescribeSta... | ioanrogers/aws-sdk-perl | auto-lib/Paws/OpsWorks/DescribeStacks.pm | Perl | apache-2.0 | 1,707 |
###########################################$
# Copyright 2008-2010 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.a... | electric-cloud/EC-EC2 | src/main/resources/project/lib/Amazon/EC2/Model/CreateSubnetResult.pm | Perl | apache-2.0 | 1,887 |
package Rpmdrake::gurpm;
#*****************************************************************************
#
# Copyright (c) 2002 Guillaume Cottenceau
# Copyright (c) 2002-2007 Thierry Vignaud <tvignaud@mandriva.com>
# Copyright (c) 2003, 2004, 2005 MandrakeSoft SA
# Copyright (c) 2005-2007 Mandriva SA
#
# This progr... | blackPantherOS/packagemanagement | rpmanager/edit-repos/Rpmdrake/gurpm.pm | Perl | apache-2.0 | 3,737 |
use Modern::Perl;
use File::Slurp qw(read_file write_file);
use Data::Dumper qw(Dumper);
my $filename = 'short_example.dsx';
my $data = read_file($filename);
my $header_and_job = split_by_header_and_job($data);
my $header_fields = split_fields_by_new_line( $header_and_job->{head... | mishin/presentation | regex_recursion/014.pl | Perl | apache-2.0 | 1,353 |
#!/usr/local/ensembl/bin/perl -w
use strict;
use Getopt::Long;
use Bio::EnsEMBL::Compara::DBSQL::DBAdaptor;
# ok this is a hack, but I'm going to pretend I've got an object here
# by creating a blessed hash ref and passing it around like an object
# this is to avoid using global variables in functions, and to consoli... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/homology/getHomologyAlignment.pl | Perl | apache-2.0 | 7,923 |
#
# Copyright 2018 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | wilfriedcomte/centreon-plugins | storage/netapp/restapi/mode/listvolumes.pm | Perl | apache-2.0 | 4,173 |
=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/Exception.pm | Perl | apache-2.0 | 5,978 |
package Google::Ads::AdWords::v201402::ManagedCustomerServiceError;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/mcm/v201402' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_C... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/ManagedCustomerServiceError.pm | Perl | apache-2.0 | 2,532 |
package Paws::Support::CreateCase;
use Moose;
has AttachmentSetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'attachmentSetId' );
has CategoryCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'categoryCode' );
has CcEmailAddresses => (is => 'ro', is... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Support/CreateCase.pm | Perl | apache-2.0 | 3,824 |
# 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/SmartCampaignSettingService/MutateSmartCampaignSettingsRequest.pm | Perl | apache-2.0 | 1,294 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2017] 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... | danstaines/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/GeneTrees/ComponentGenomeDBFactory.pm | Perl | apache-2.0 | 1,892 |
#
# 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/ruckus/ap/snmp/mode/memory.pm | Perl | apache-2.0 | 5,965 |
#
# 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/sensors/sensorip/snmp/mode/components/sp.pm | Perl | apache-2.0 | 2,420 |
package Paws::WAF::SqlInjectionMatchSetUpdate;
use Moose;
has Action => (is => 'ro', isa => 'Str', required => 1);
has SqlInjectionMatchTuple => (is => 'ro', isa => 'Paws::WAF::SqlInjectionMatchTuple', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::WAF::SqlInjectionMatchSetUpdate
=h... | ioanrogers/aws-sdk-perl | auto-lib/Paws/WAF/SqlInjectionMatchSetUpdate.pm | Perl | apache-2.0 | 2,019 |
package Paws::OpsWorksCM::RestoreServer;
use Moose;
has BackupId => (is => 'ro', isa => 'Str', required => 1);
has InstanceType => (is => 'ro', isa => 'Str');
has KeyPair => (is => 'ro', isa => 'Str');
has ServerName => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _a... | ioanrogers/aws-sdk-perl | auto-lib/Paws/OpsWorksCM/RestoreServer.pm | Perl | apache-2.0 | 2,371 |
package KorAP::XML::Annotation::RWK::Morpho;
use KorAP::XML::Annotation::Base;
sub parse {
my $self = shift;
$$self->add_tokendata(
foundry => 'rwk',
layer => 'morpho',
cb => sub {
my ($stream, $token) = @_;
my $mtt = $stream->pos($token->get_pos);
my $content = $token->get_hash->{f... | KorAP/KorAP-XML-Krill | lib/KorAP/XML/Annotation/RWK/Morpho.pm | Perl | bsd-2-clause | 1,337 |
#!/usr/bin/perl
#
# Takes SDM, target dir, and a scan list, and creates an edited full
# SDM in targetdir.
#
# What it actually does is replace BDF names in Main.xml with 'X1',
# the indicator for "no BDF available". This effectively chops out the
# scans marked thus.
#
# Sarah B Spolaor July 2015
# Adapted from Bryan ... | caseyjlaw/realfast | scripts/sdm_chop-n-serve.pl | Perl | bsd-3-clause | 4,673 |
# *************************************************************************
# Copyright (c) 2014-2015-2015, SUSE LLC
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of... | smithfarm/mrest | lib/Web/MREST/Test/Forbidden.pm | Perl | bsd-3-clause | 2,293 |
#!/usr/bin/perl
use strict;
use warnings;
#With this script you can print the ammount of the elements that are up to each scaffold for every chromosome or to print the elements (if you change the comments)
my $chromosome = $ARGV[0];
my $target = $ARGV[1];
my @mykeys = `cat OUTPUT_$target/unique_hces_final_$target/$... | vasilislenis/CElMap | bin/grepScaffUnique.pl | Perl | mit | 862 |
package Google::Ads::AdWords::v201406::Operation;
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:... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/Operation.pm | Perl | apache-2.0 | 1,842 |
package Paws::Config::DescribeConfigRulesResponse;
use Moose;
has ConfigRules => (is => 'ro', isa => 'ArrayRef[Paws::Config::ConfigRule]');
has NextToken => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::Config::DescribeConf... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Config/DescribeConfigRulesResponse.pm | Perl | apache-2.0 | 629 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestFilter::in_init_basic;
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use Apache2::RequestRec ();
use Apache2::RequestIO ();
... | dreamhost/dpkg-ndn-perl-mod-perl | t/filter/TestFilter/in_init_basic.pm | Perl | apache-2.0 | 2,158 |
#!/usr/bin/perl
# -----------------------------------------------------------------------------
# Project : OpenGTS - Open GPS Tracking System
# URL : http://www.opengts.org
# File : admin.pl
# Description: Command-line DB table administrative tool.
# ----------------------------------------------------... | aldridged/gtg-gts-bhp | bin/admin.pl | Perl | apache-2.0 | 3,796 |
#! /usr/bin/perl -w
use strict;
use CGI;
use CGI::Ajax;
use CoGeX;
use CoGe::Accessory::Web;
use HTML::Template;
use Data::Dumper;
use File::Basename;
use Text::Wrap qw($columns &wrap);
use JSON::XS;
no warnings 'redefine';
use vars qw($P $TEMPDIR $TEMPURL $FORM $USER $LINK $coge $PAGE_TITLE $PAGE_NAME);
$FORM = ne... | asherkhb/coge | web/FastaView.pl | Perl | bsd-2-clause | 9,744 |
package #
Date::Manip::Offset::off268;
# Copyright (c) 2008-2014 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | nriley/Pester | Source/Manip/Offset/off268.pm | Perl | bsd-2-clause | 2,846 |
package Mojo::Snoo::Link;
use Moo;
extends 'Mojo::Snoo::Base';
use Mojo::Collection;
use Mojo::Snoo::Comment;
use constant FIELD => 'name';
has [
qw(
approved_by
archived
author
author_flair_css_class
author_flair_text
banned_by
clicked
created
created_utc
... | mcmillhj/Mojo-Snoo | lib/Mojo/Snoo/Link.pm | Perl | bsd-2-clause | 4,089 |
# !!!!!!! 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/MiscSymb.pl | Perl | mit | 433 |
package File::Spec::OS2;
use strict;
use vars qw(@ISA $VERSION);
require File::Spec::Unix;
$VERSION = '3.63_01';
$VERSION =~ tr/_//d;
@ISA = qw(File::Spec::Unix);
sub devnull {
return "/dev/nul";
}
sub case_tolerant {
return 1;
}
sub file_name_is_absolute {
my ($self,$file) = @_;
return scalar($fi... | operepo/ope | bin/usr/lib/perl5/core_perl/File/Spec/OS2.pm | Perl | mit | 6,859 |
#
# 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 | snmp_standard/mode/mtausage.pm | Perl | apache-2.0 | 13,996 |
#!/usr/bin/env perl
# Copyright 2017-2020 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.o... | jens-maus/amissl | openssl/crypto/sha/asm/keccak1600-c64x.pl | Perl | bsd-3-clause | 22,743 |
# 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/ympzZnp0Uq/asia. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/Asia/Tbilisi.pm | Perl | bsd-3-clause | 5,429 |
#! /usr/bin/perl
# $Id: ldifsort.pl,v 1.9 2005/04/03 20:20:24 subbarao Exp $
=head1 NAME
ldifsort.pl - Sorts an LDIF file by the specified key attribute. The sorted
version is written to standard output.
=head1 DESCRIPTION
Sorts an LDIF file by the specified key attribute.
=head1 SYNOPSIS
ldifsort.pl B<-k keyattr... | sustr4/perun-services | slave/process-ldap/lib/ldifsort.pl | Perl | bsd-2-clause | 3,118 |
#!/usr/bin/perl -w
# configure script for smbase
use strict 'subs';
require sm_config;
$SMBASE = ".";
get_sm_config_version();
$thisPackage = "smbase";
sub usage {
standardUsage();
print(<<"EOF");
package options:
-prof enable profiling
-devel add options useful while developing sm... | BackupTheBerlios/codemorpher-svn | trunk/elsa/smbase/configure.pl | Perl | bsd-3-clause | 4,617 |
=head1 NAME
Image::ExifTool::MIEUnits - MIE units documentation
=head1 DESCRIPTION
The MIE format allows units of measurement to be specified in brackets at
the end of a MIE tag name (ie. "Volume(m3)"). This document describes the
standard MIE units abbreviations.
=head1 SYNTAX
The units string may contain any AS... | wilg/mini_exiftool_vendored | vendor/Image-ExifTool-9.27/lib/Image/ExifTool/MIEUnits.pod | Perl | mit | 14,005 |
package ExtUtils::Mkbootstrap;
# There's just too much Dynaloader incest here to turn on strict vars.
use strict 'refs';
our $VERSION = '6.63_02';
require Exporter;
our @ISA = ('Exporter');
our @EXPORT = ('&Mkbootstrap');
use Config;
our $Verbose = 0;
sub Mkbootstrap {
my($baseext, @bsloadlibs)=@_;
@bslo... | leighpauls/k2cro4 | third_party/perl/perl/lib/ExtUtils/Mkbootstrap.pm | Perl | bsd-3-clause | 3,205 |
package Net::DNS::RR::RT;
#
# $Id: RT.pm 632 2007-03-12 13:24:21Z olaf $
#
use strict;
BEGIN {
eval { require bytes; }
}
use vars qw(@ISA $VERSION);
@ISA = qw(Net::DNS::RR);
$VERSION = (qw$LastChangedRevision: 632 $)[1];
# Highest preference sorted first.
__PACKAGE__->set_rrsort_func("preference",
... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/i686-cygwin/Net/DNS/RR/RT.pm | Perl | bsd-3-clause | 2,622 |
package DDG::Goodie::Lowercase;
# ABSTRACT: Convert a string into lowercase.
use strict;
use DDG::Goodie;
zci answer_type => "lowercase";
zci is_cached => 1;
triggers start => 'lowercase', 'lower case', 'lc', 'strtolower', 'tolower';
handle remainder => sub {
my $input = shift;
return unless $input;
... | shubhamrajput/zeroclickinfo-goodies | lib/DDG/Goodie/Lowercase.pm | Perl | apache-2.0 | 600 |
package Fixtures::Integration::Cdn;
# 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... | mdb/incubator-trafficcontrol | traffic_ops/app/lib/Fixtures/Integration/Cdn.pm | Perl | apache-2.0 | 1,758 |
print ".text\n\t.type _start,@", "function\n_start:\n\n";
@ldhint = ( "", ".nt1", ".nta" );
@ldspec = ( "", ".s", ".a", ".sa", ".c.clr", ".c.nc" );
@sthint = ( "", ".nta" );
$i = 0;
# Integer Load
foreach $s ( "1", "2", "4", "8" ) {
foreach $e (@ldspec, ".bias", ".acq", ".c.clr.acq") {
foreach $l (@ldhint) {
... | shaotuanchen/sunflower_exp | tools/source/binutils-2.16.1/gas/testsuite/gas/ia64/opc-m.pl | Perl | bsd-3-clause | 3,976 |
#!/usr/bin/perl
use strict;
use utf8;
my ($path, $ext, $output) = @ARGV;
opendir(SUBDIR, "$path") or die $!;
my $num_files = 0;
open(LOG, ">>irl-log.txt");
my @newcontent = ();
while (my $txt = readdir(SUBDIR))
{
if ($txt =~ /\.$ext$/i)
{
open(INN, "$path$txt");
# binmode INN, ":utf8";
print LOG "$txt\n";
m... | jarleEbe/elasticsearch-on-corpora | iceuntagged/Extracted/irl_simple_extract.pl | Perl | mit | 4,121 |
###########################################################################
#
# 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/tn.pm | Perl | mit | 3,042 |
# Time-stamp: "2002-11-16 01:57:08 MST"
require 5;
package MIDI::Score;
use strict;
use vars qw($Debug $VERSION);
use Carp;
$VERSION = 0.79;
=head1 NAME
MIDI::Score - MIDI scores
=head1 SYNOPSIS
# it's a long story; see below
=head1 DESCRIPTION
This module provides functions to do with with MIDI scores.
It is... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/MIDI/Score.pm | Perl | mit | 13,540 |
package omnitool::omniclass::saver;
=cut
Here is the main event: where we create or update the data records managed
by OmniTool. Please see extensive notes in omniclass.pm
=cut
$omnitool::omniclass::saver::VERSION = '6.0';
# new way of doing something we've done in the past
# time to grow up
use strict;
# kick o... | ericschernoff/omnitool | omnitool/omniclass/saver.pm | Perl | mit | 20,068 |
package FuncDecl;
use Var;
use Utility;
my $logger = Log::Log4perl->get_logger('semfix');
sub new {
my $class = shift;
my $self = {
_func_name => undef,
_input => [], # @hoang an array of Var
_param => [], # @hoang an array of Var
... | mechtaev/angelix | src/semfix/lib/FuncDecl.pm | Perl | mit | 8,731 |
# Copyright (c) 2010 ToI Inc. All rights reserved.
#
# 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, modify, merg... | usualoma/movable-type-plugin-tablize | lib/Tablize.pm | Perl | mit | 3,297 |
use strict;
use warnings;
my $image_ajax_form = CXGN::ImageAjaxForm->new();
package CXGN::ImageAjaxForm;
use CatalystX::GlobalContext '$c';
use base "CXGN::Page::Form::AjaxFormPage";
use JSON;
use SGN::Image;
use Try::Tiny;
sub define_object {
my $self = shift;
my %json_hash = $self->get_json_hash();
... | solgenomics/sgn | cgi-bin/image/ajax/image_ajax_form.pl | Perl | mit | 4,657 |
:- module(output_manager,
[abstract_action_to_action/2]
).
%======================================================================
:- use_module(library(lists)).
:- use_module('$REGULUS/PrologLib/utilities').
%======================================================================
% OUTPUT MANAGEMENT: ABSTRAC... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Toy1/Prolog/output_manager_corrections.pl | Perl | mit | 1,619 |
=head1 NAME
CXGN::Page::Form::Field;
=head1 DESCRIPTION
Implements a static (non-editable) field on a static form. For more information, see L<CXGN::Page::Form>.
=head1 AUTHOR(S)
Lukas Mueller (lam87@cornell.edu)
=cut
use strict;
use CXGN::Page::Form::ElementI;
package CXGN::Page::Form::Field;
use base qw/ CX... | solgenomics/sgn | lib/CXGN/Page/Form/Field.pm | Perl | mit | 1,376 |
package Plucene::Utils;
=head1 NAME
Plucene::Utils - Utility class for Plucene
=head1 SYNOPSIS
use Plucene::Utils;
do_locked($sub, $lock);
=head1 DESCRIPTION
Utilities to help with Plucene.
=head1 METHODS
=cut
use strict;
use warnings;
use Carp;
use Fcntl qw(O_EXCL O_CREAT O_WRONLY);
use base 'Exporter'... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Plucene/Utils.pm | Perl | mit | 702 |
:- expects_dialect(lps).
% This ilustrates a bug:
% the askMoney action is not firing because the timeless predicate parent's second solution is not being considered
maxTime(5).
events party/1.
actions askMoney/2.
fluents hasMoney/1.
initially hasMoney(mum).
observe party(bob) to 2.
parent(bob, dad).
parent(bob, ... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_lps/examples/party_minimal.pl | Perl | mit | 393 |
:- module(dictoo_lib, [
oo/1,
oo_bind/2,
is_oo/1,
is_oo/2,
% '$was_dictoo'/2,
is_oo_invokable/2,
oo_call/4,
oo_call_dot_hook/4,
oo_jpl_call/3,
oo_derefed/2,
oo_derefed/3,
oo_deref/3,
oo_put_attr/3,
oo_put_attrs/2,
oo_get_attr/3,
oo_get_attrs/2,
oo_inner_class_begin/1,
... | TeamSPoon/logicmoo_workspace | packs_sys/dictoo/prolog/dictoo_lib.pl | Perl | mit | 21,002 |
#!/usr/bin/perl -w
#
use Data::Dumper;
#
use constant TRUE => 1;
use constant FALSE => 0;
#
use constant SUCCESS => 1;
use constant FAIL => 0;
#
sub read_file
{
my ($inf_file, $praw_data) = @_;
#
printf "%d: Reading file: %s\n", __LINE__, $inf_file;
#
if ( ! -r $inf_file )
{
printf "%d: ... | ombt/analytics | apex/testbin/mylnbsim/old/xxx.pl | Perl | mit | 184,168 |
#!/usr/bin/perl
# The MIT License (MIT)
# Copyright (c) 2013 Matt Okeson-Harlow
# 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... | greppy/misc-scripts | wordpress_spam_cleanup.pl | Perl | mit | 6,770 |
#! /usr/bin/perl
#
# Copyright 1999-2010 University of Chicago
#
# 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 applica... | eunsungc/gt6-RAMSES_8_5 | gram/jobmanager/source/test/client/two-phase-commit-test.pl | Perl | apache-2.0 | 3,109 |
#!/usr/bin/perl -w
#
# Copyright 2019, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | googleads/google-ads-perl | examples/targeting/add_customer_negative_criteria.pl | Perl | apache-2.0 | 4,216 |
package Paws::EC2::ConversionTask;
use Moose;
has ConversionTaskId => (is => 'ro', isa => 'Str', request_name => 'conversionTaskId', traits => ['NameInRequest'], required => 1);
has ExpirationTime => (is => 'ro', isa => 'Str', request_name => 'expirationTime', traits => ['NameInRequest']);
has ImportInstance =>... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/ConversionTask.pm | Perl | apache-2.0 | 2,830 |
package Net::FreeIPA::Common;
use strict;
use warnings;
use Net::FreeIPA::API::Magic;
use Net::FreeIPA::Error;
use Readonly;
# Convert find one API method in attribute name to find
# This map might be API version dependant
Readonly::Hash our %FIND_ONE => {
aci => 'aciname',
cert => 'cn',
delegation => '... | stdweird/p5-net-freeipa | lib/Net/FreeIPA/Common.pm | Perl | apache-2.0 | 4,495 |
use strict;
use warnings;
package DZ::Test;
# ABSTRACT: this is a sample package for testing Dist::Zilla;
=head1 NAME
Test - a test thing
=cut
sub main {
return 1;
}
1;
| gitpan/Dist-Zilla-Plugin-Twitter | corpus/DZ-Test/lib/DZ/Test.pm | Perl | apache-2.0 | 176 |
package PYX::Parser;
# Pragmas.
use strict;
use warnings;
# Modules.
use Class::Utils qw(set_params);
use Error::Pure qw(err);
use Readonly;
# Constants.
Readonly::Scalar my $EMPTY_STR => q{};
# Version.
our $VERSION = 0.01;
# Constructor.
sub new {
my ($class, @params) = @_;
my $self = bless {}, $class;
# Par... | gitpan/PYX | PYX/Parser.pm | Perl | bsd-2-clause | 6,136 |
#!/usr/bin/perl
#
# $Id$
#
# Copyright (c) 2007 .SE (The Internet Infrastructure Foundation).
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source co... | dotse/dnscheck | engine/lib/DNSCheck/Lookup/Resolver.pm | Perl | bsd-2-clause | 22,468 |
#!/usr/bin/perl
$i = 0;
while( $i < 10000000 ) {
$i = $i + 1;
}
| tpo/ten_million_times | increment.pl | Perl | bsd-2-clause | 69 |
# Copyright (c) 2003
# The funknet.org Group.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following ... | chrisa/funknet-tools | lib/Funknet/Config/FirewallRule.pm | Perl | bsd-3-clause | 6,399 |
package FuseWrap;
use strict;
use warnings;
use base 'Fuse';
use Carp 'verbose';
use FindBin '$Bin';
use IPC::Run 'run';
use Getopt::Long qw/:config pass_through/;
our ($mountpoint, $debug, $allusers, $just_umount);
BEGIN {
GetOptions(
'mountpoint=s' => \$mountpoint,
'debug+' => \($debug = 0),
'allusers!' => \($... | benizi/dotfiles | perl-lib/FuseWrap.pm | Perl | mit | 2,538 |
# This program is distributed under the terms of
# The MIT License (MIT)
#
# Copyright (c) 2014 Six Apart, Ltd.
#
# $Id$
package Viewer::L10N::es;
use strict;
use utf8;
use base qw( Viewer::L10N );
our %Lexicon = (
## lib/MT/App/Viewer.pm
'Loading blog with ID [_1] failed' => 'Falló al cargar el blog con el ... | movabletype/mt-plugin-mtviewer | plugins/MTViewer/lib/Viewer/L10N/es.pm | Perl | mit | 1,035 |
# <@LICENSE>
# 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... | apache/spamassassin | lib/Mail/SpamAssassin/Plugin.pm | Perl | apache-2.0 | 32,946 |
package Paws::IAM::CreateLoginProfileResponse;
use Moose;
has LoginProfile => (is => 'ro', isa => 'Paws::IAM::LoginProfile', required => 1);
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::IAM::CreateLoginProfileResponse
=head1 ATTRIBUTES
=head2 B<R... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IAM/CreateLoginProfileResponse.pm | Perl | apache-2.0 | 472 |
package Google::Ads::AdWords::v201406::CampaignService::mutateLabelResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' }
__PACKAGE__->__set_name('mutateLabelResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__P... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/CampaignService/mutateLabelResponse.pm | Perl | apache-2.0 | 1,822 |
package #
Date::Manip::Offset::off427;
# Copyright (c) 2008-2014 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | nriley/Pester | Source/Manip/Offset/off427.pm | Perl | bsd-2-clause | 855 |
package #
Date::Manip::TZ::amport01;
# Copyright (c) 2008-2014 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata' i... | nriley/Pester | Source/Manip/TZ/amport01.pm | Perl | bsd-2-clause | 1,277 |
# !!!!!!! 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/Sc/Bali.pl | Perl | mit | 443 |
package TAP::Parser::Result::Bailout;
use strict;
use vars qw($VERSION @ISA);
use TAP::Parser::Result;
@ISA = 'TAP::Parser::Result';
=head1 NAME
TAP::Parser::Result::Bailout - Bailout result token.
=head1 VERSION
Version 3.28
=cut
$VERSION = '3.28';
=head1 DESCRIPTION
This is a subclass of L<TAP::Parser::Resu... | dj31416/JSX | extlib/lib/perl5/TAP/Parser/Result/Bailout.pm | Perl | mit | 1,181 |
=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/licenses/L... | ckongEbi/ensembl-compara | modules/Bio/EnsEMBL/Compara/Graph/GeneTreePhyloXMLWriter.pm | Perl | apache-2.0 | 7,751 |
#------------------------------------------------------------------------------
# File: MPF.pm
#
# Description: Read Multi-Picture Format information
#
# Revisions: 06/12/2009 - P. Harvey Created
#
# References: 1) http://www.cipa.jp/std/documents/e/DC-007_E.pdf
#------------------------------------------... | musselwhizzle/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/MPF.pm | Perl | apache-2.0 | 9,115 |
package Moose::Meta::Method::Accessor::Native::Array::clear;
BEGIN {
$Moose::Meta::Method::Accessor::Native::Array::clear::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Method::Accessor::Native::Array::clear::VERSION = '2.0602';
}
use strict;
use warnings;
use Moose::Role;
with 'Moose::Meta::Method::Accessor::Nat... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Meta/Method/Accessor/Native/Array/clear.pm | Perl | bsd-3-clause | 773 |
package Moose::Meta::Role::Composite;
BEGIN {
$Moose::Meta::Role::Composite::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Role::Composite::VERSION = '2.0602';
}
use strict;
use warnings;
use metaclass;
use Class::Load qw(load_class);
use Scalar::Util 'blessed';
use base 'Moose::Meta::Role';
# NOTE:
# we need to... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Meta/Role/Composite.pm | Perl | bsd-3-clause | 5,708 |
package File::Copy::Recursive;
use strict;
BEGIN {
# Keep older versions of Perl from trying to use lexical warnings
$INC{'warnings.pm'} = "fake warnings entry for < 5.6 perl ($])" if $] < 5.006;
}
use warnings;
use Carp;
use File::Copy;
use File::Spec; #not really needed because File::Copy already gets it, ... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/File/Copy/Recursive.pm | Perl | bsd-3-clause | 20,871 |
/* Part of ClioPatria
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://cliopatria.swi-prolog.org
Copyright (C): 2004-2016, University of Amsterdam
VU University Amsterdam
This program is free software; you can redistribute it and/or
modify it unde... | TeamSPoon/logicmoo_workspace | packs_web/ClioPatria/cliopatria.pl | Perl | mit | 21,949 |
package Parse::Template::Arguments;
use strict;
use Perl::Module;
use Error::Programatic;
use Parse::Template::CallbackArgument;
sub new {
my $classname = ref($_[0]) ? ref(shift) : shift;
my $self = bless [], $classname;
@_ and $self->parse(shift);
$self;
}
# All '(' must have a closing ')'
sub parse ($) {
... | ryangies/lsn-data-hub | src/lib/Parse/Template/Arguments.pm | Perl | mit | 3,205 |
package CGI::OptimalQuery::InteractiveQuery2;
use strict;
use warnings;
no warnings qw( uninitialized );
use base 'CGI::OptimalQuery::AbstractQuery';
use CGI();
sub escapeHTML {
return defined $_[0] ? CGI::escapeHTML($_[0]) : '';
}
sub output {
my $o = shift;
my %opts;
if (exists $$o{schema}{options}{__PAC... | gitpan/CGI-OptimalQuery | lib/CGI/OptimalQuery/InteractiveQuery2.pm | Perl | mit | 12,640 |
#
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2010-2012 Nils Görs <weechatter@arcor.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3... | LunaticFairy/configs | .weechat/perl/iset.pl | Perl | mit | 56,829 |
#!/usr/bin/perl
#
#
#
#
# Kim Brugger (17 May 2010), contact: kim.brugger@easih.ac.uk
use strict;
use warnings;
use Data::Dumper;
use Getopt::Std;
my %opts;
getopts('S:f:F', \%opts);
my $sleep_time = shift || 10;
my $fail_rate = $opts{f} || 5;
srand;
$sleep_time = int(rand( $sleep_time ));
$sleep_time = $o... | brugger/ctru-pipeline | dev/dummies/local.pl | Perl | mit | 548 |
#!/usr/bin/perl
my $version = "v1.1";
use strict;
use warnings;
# warn user (from perspective of caller)
use Carp;
# use nice English (or awk) names for ugly punctuation variables
use English qw(-no_match_vars);
# folder Mendeley exports .bib files to assumed to be "%HOME%/bib_files":
#use File::HomeDir;... | jan-glx/patch.mendeley.bib.pl | patch.mendeley.bib.pl | Perl | mit | 2,496 |
package RSP::Transaction::Mojo;
use strict;
use warnings;
use Encode;
use base 'RSP::Transaction';
use File::Basename;
use RSP::Transaction::Mojo::HostMap;
use Mojo::Asset::File;
sub hostname {
my $self = shift;
if (!$self->{hostname}) {
my $mapmeth = RSP->config->{mojo}->{hostmapper} || 'hostname';
$sel... | konobi/smart-platform | lib/RSP/Transaction/Mojo.pm | Perl | mit | 6,650 |
/****************************************************
% File Name: pronto_morph_irreg_verb.pl
% Author: Jason Schlachter (ai@uga.edu)(www.arches.uga.edu/~ai)
% Released: May 8th, 2003
% Artificial Intelligence Center (www.ai.uga.edu)
% ***see pronto_morph.pdf for documentation
%
% This file is to be used as part of th... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/ProNTo/Schlachter/pronto_morph_irreg_verb.pl | Perl | mit | 23,870 |
#!/usr/bin/perl
use warnings;
use strict;
use Getopt::Long;
##############################################################
# script: mfannot2gff3.pl
# author: Jia-Xing Yue (GitHub ID: yjx1217)
# last edited: 2018.09.01
# description: converting the mfannot output to the GFF3 format
# example: perl mfannot2gff3.p... | yjx1217/LRSDAY | scripts/mfannot2gff3.pl | Perl | mit | 7,855 |
# Time-stamp: "Sat Jul 14 00:27:39 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0xb9] = [
'ruk', 'rut', 'rup', 'ruh', 'rweo', 'rweog', 'rweogg', 'rweogs', 'rweon', 'rweonj', 'rweonh', 'rweod', 'rweol', 'rweolg', 'rweolm', 'rweolb',
'rweols', 'rweolt', 'rweolp', 'rweolh', 'rweom', 'r... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/xb9.pm | Perl | mit | 2,266 |
package XML::Grammar::Builder;
use strict;
use warnings;
use base 'Test::Run::Builder';
our $VERSION = '0.0200';
sub new
{
my $package = shift;
my %args = @_;
my @extradata_files;
my $builder = $package->SUPER::new(
share_dir => 'extradata',
auto_configure_requires => 1,
@_
... | gitpan/XML-Grammar-Vered | inc/XML/Grammar/Builder.pm | Perl | mit | 668 |
:- module(ohno, [
ohno/1,
pretty_print/1]).
:- use_module(library(clpfd)).
%%% LOGIC %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% ohno(?Rows)
%
% True iff Rows is a solution of the game http://0hn0.com on a square
% board at most 11 tiles wide and high, represented as a list of li... | texttheater/puzzling | ohno.pl | Perl | mit | 3,700 |
#!/usr/bin/perl -wW
use strict;
use Net::Netmask;
while (<>){
chomp;
my $n=new Net::Netmask ($_);
print "".$n->base()."/".$n->bits()."\n";
}
| mmmonk/crap | home_stuff/net2bitbase.pl | Perl | mit | 147 |
#
# 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/aws/custom/awscli.pm | Perl | apache-2.0 | 32,081 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/DBSQL/BaseAlignFeatureAdaptor.pm | Perl | apache-2.0 | 9,570 |
#!/usr/bin/perl -w
# MySQL Database Backup Script
# Licensed under ASF 2.0 (see LICENSE file)
# Copyright 1999 - 2012 Philip Jacob <phil@whirlycott.com>
use strict;
use vars qw($HOSTNAME $USERNAME $PASSWORD @db);
###########################################
#CONFIGURATION
# Dbs you want to back up.
my @db = qw(
... | whirlycott/mysql-backup-script | backup-mysql.pl | Perl | apache-2.0 | 2,622 |
#
# 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/extreme/snmp/mode/components/poe.pm | Perl | apache-2.0 | 4,426 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.