view release on metacpan or search on metacpan
lib/A1z/HTML5/Template.pm view on Meta::CPAN
This directory should be writable by the web server, required to create/hold page content files.
This may also contain your custom JavaScript/CSS libraries.
Works for both Windows and Linux
use lib '/home/user/path/to/app';
or
use lib 'C:/Inetpub/wwwroot/path/to/app';
# for features like 'say'
use 5.10.0;
my $h = A1z::HTML5::Template->new();
lib/A1z/HTML5/Template.pm view on Meta::CPAN
Data is stored in simple text files in the app's home dir.
We recommend creating a separate file for editing/writing purposes, e.g., "TemplateAdmin.cgi"
use lib '/path/to/app';
use A1z::HTML5::Template;
my $h = A1z::HTML5::Template->new();
say $h->header('utf8');
view all matches for this distribution
view release on metacpan or search on metacpan
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
#########################
# change 'tests => 1' to 'tests => last_test_to_print'
#use FindBin;
#use lib "$FindBin::Bin/..";
use Test::More qw(no_plan);
#BEGIN { plan tests => 1 };
require_ok("ABI");
my $abi = ABI->new("t/TEST_modified.ab1");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AC/MrGamoo/FileList.pm view on Meta::CPAN
=head1 SYNOPSIS
emacs /myperldir/Local/MrGamoo/FileList.pm
copy. paste. edit.
use lib '/myperldir';
my $m = AC::MrGamoo::D->new(
class_filelist => 'Local::MrGamoo::FileList',
);
=head1 IMPORTANT
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AC/Yenta/MySelf.pm view on Meta::CPAN
=head1 SYNOPSIS
emacs /myperldir/Local/Yenta/MySelf.pm
copy. paste. edit.
use lib '/myperldir';
my $y = AC::Yenta::D->new(
class_myself => 'Local::Yenta::MySelf',
);
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
examples/postifx-policy-server.pl view on Meta::CPAN
use threads;
use Proc::Daemon;
use Sys::Syslog qw( :DEFAULT setlogsock);
use Data::Dumper;
use lib( "./" );
use ACL;
# Global config settings
my $TC = 1;
my $debug = 1;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
or die "Couldn't install Module::Build, giving up.\n";
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
}
eval "use Module::Build::Compat 0.02; 1" or die $@;
use lib '_build/lib';
Module::Build::Compat->run_build_pl(args => \@ARGV);
require MyModuleBuilder;
Module::Build::Compat->write_makefile(build_class => 'MyModuleBuilder');
view all matches for this distribution
view release on metacpan or search on metacpan
src/t/Monitor.t view on Meta::CPAN
use strict;
use lib qw(../../inc ../inc ./inc);
use Test::More tests => 11;
BEGIN {
use_ok('AFS::Monitor', qw(error_message constant));
view all matches for this distribution
view release on metacpan or search on metacpan
t/docs/pod-coverage.t view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use lib 't/lib';
use Test::More;
use Test::RRA qw(skip_unless_automated use_prereq);
use Test::RRA::Config qw(@POD_COVERAGE_EXCLUDE);
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
use lib qw(./src/inc);
# provide the POD documentation
mkdir('./lib');
mkdir('./lib/AFS');
system("cp ./pod/v2/afsperl.pod lib/AFS.pod");
view all matches for this distribution
view release on metacpan or search on metacpan
demo/fuzz.pl view on Meta::CPAN
#!/usr/bin/perl
use lib qw(blib/arch blib/lib ../blib/arch ../blib/lib);
use strict;
use warnings;
use AI::Fuzzy;
my $f = new AI::Fuzzy::Axis;
view all matches for this distribution
view release on metacpan or search on metacpan
t/01_inject.t view on Meta::CPAN
use strict;
use warnings;
use FindBin qw($Bin);
use lib $Bin;
use Test::More qw(no_plan);
use Struct::Compare;
use AI::Genetic::Pro;
use constant BITS => 32;
view all matches for this distribution
view release on metacpan or search on metacpan
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.010.
use strict;
use warnings;
use Module::Build 0.28;
use lib qw{inc}; use MyBuilder;
my %module_build_args = (
"build_requires" => {
"Module::Build" => "0.28"
},
view all matches for this distribution
view release on metacpan or search on metacpan
#!/usr/bin/perl
use Test::More tests => 4;
use_ok("AI::NaiveBayes1");
use lib '.';
require 't/auxfunctions.pl';
my $nb = AI::NaiveBayes1->new;
$nb->add_instances(attributes=>{model=>'H',place=>'B'},label=>'repairs=Y',cases=>30);
view all matches for this distribution
view release on metacpan or search on metacpan
examples/digits/deep_digits.pl view on Meta::CPAN
use Modern::Perl;
use PDL;
use PDL::NiceSlice;
use PDL::IO::FITS;
use PDL::Constants 'E';
use lib 'lib';
use lib '../../lib';
use AI::Nerl;
use FindBin qw($Bin);
chdir $Bin;
view all matches for this distribution
view release on metacpan or search on metacpan
package RGB_test;
use lib "../../../..";
use Test;
BEGIN { plan test => 12}
use AI::NeuralNet::Kohonen::Demo::RGB;
ok(1,1);
view all matches for this distribution
view release on metacpan or search on metacpan
t/AI-NeuralNet-Kohonen-Visual.t view on Meta::CPAN
package Visual_and_RGB_test;
use lib "../lib";
use Test::More tests => 14;
my $delay = 1;
use_ok( "AI::NeuralNet::Kohonen" => 0.14 );
view all matches for this distribution
view release on metacpan or search on metacpan
t/AI-NeuralNet-Kohonen.t view on Meta::CPAN
package K_test;
use Test::More tests => 35;
use lib "../lib";
use strict;
use warnings;
use_ok ("AI::NeuralNet::Kohonen" => 0.14);
view all matches for this distribution
view release on metacpan or search on metacpan
examples/game_ai.pl view on Meta::CPAN
#!/usr/local/bin/perl -w
use strict;
use lib '../blib/lib/', 'blib/lib';
use AI::NeuralNet::Simple;
use constant ATTACK => [1.0, 0.0, 0.0, 0.0];
use constant RUN => [0.0, 1.0, 0.0, 0.0];
use constant WANDER => [0.0, 0.0, 1.0, 0.0];
view all matches for this distribution
view release on metacpan or search on metacpan
xt/meta-lint.t view on Meta::CPAN
}
else {
plan tests => 4;
}
use lib '.';
our %module;
require 'Makefile.PL';
# Loaded from Makefile.PL
%module = get_module_info();
my $module = $module{NAME};
view all matches for this distribution
view release on metacpan or search on metacpan
example/PSOTest-MultiCore.pl view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
use lib '../lib/';
#-----------------------------------------------------------------------
#use AI::ParticleSwarmOptimization;
use AI::ParticleSwarmOptimization::MCE;
#use AI::ParticleSwarmOptimization::Pmap;
use Data::Dumper; $::Data::Dumper::Sortkeys = 1;
view all matches for this distribution
view release on metacpan or search on metacpan
example/PSOTest-MultiCore.pl view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
use lib '../lib/';
#-----------------------------------------------------------------------
#use AI::ParticleSwarmOptimization;
#use AI::ParticleSwarmOptimization::MCE;
use AI::ParticleSwarmOptimization::Pmap;
use Data::Dumper; $::Data::Dumper::Sortkeys = 1;
view all matches for this distribution
view release on metacpan or search on metacpan
Samples/PSOPlatTest.pl view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
use lib '..\lib'; # For development testing
use AI::ParticleSwarmOptimization;
use Math::Random::MT qw();
++$|;
my $pso = AI::ParticleSwarmOptimization->new (
view all matches for this distribution
view release on metacpan or search on metacpan
examples/append.pl view on Meta::CPAN
#!/usr/local/bin/perl
use strict;
use warnings;
use lib ('../lib/', 'lib');
use Data::Dumper;
$Data::Dumper::Indent = 0;
$Data::Dumper::Terse = 1;
use AI::Prolog 0.64;
view all matches for this distribution
view release on metacpan or search on metacpan
maint/inc/Pod/Elemental/Transformer/TF_Sig.pm view on Meta::CPAN
use Moose;
extends 'Pod::Elemental::Transformer::List';
use feature qw{ postderef };
use lib 'lib';
use AI::TensorFlow::Libtensorflow::Lib;
use AI::TensorFlow::Libtensorflow::Lib::Types qw(-all);
use Types::Standard qw(Maybe Str Int ArrayRef CodeRef ScalarRef Ref);
use Types::Encodings qw(Bytes);
use Type::Registry qw(t);
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Devel/CheckLib.pm view on Meta::CPAN
library and its headers are available.
=head1 SYNOPSIS
# in a Makefile.PL or Build.PL
use lib qw(inc);
use Devel::CheckLib;
check_lib_or_exit( lib => 'jpeg', header => 'jpeglib.h' );
check_lib_or_exit( lib => [ 'iconv', 'jpeg' ] );
view all matches for this distribution
view release on metacpan or search on metacpan
Warning: do not put a dash or hyphen in front of PREFIX, or LIB
In your perl programs that you may write using the modules, you may need
to add a line like so
use lib '/home/lib/perl5/site_perl/5.16.3';
if you used the first method or
use lib '/home/lib';
if you used the second method. By doing this, the installed modules are
found by your program. To run the runDiscovery.pl program, you would
need to do
or
perl -I/home/lib
Of course, you could also add the 'use lib' line to the top of the
program yourself, but you might not want to do that. You will need to
replace 5.8.3 with whatever version of Perl you are using. The preceding
instructions should be sufficient for standard and slightly non-standard
installations. However, if you need to modify other makefile options you
should look at the ExtUtils::MakeMaker documentation. Modifying other
view all matches for this distribution
view release on metacpan or search on metacpan
doc/examples/dataGrid/dataGrid.pl view on Meta::CPAN
#for more information.
#You can pass arguments from your Flash code to the perl script.
use strict;
use lib '/var/www/libperl';
=head1 COMMENT
ActionScript for this service:
view all matches for this distribution
view release on metacpan or search on metacpan
t/publisher.t view on Meta::CPAN
use Test::More tests => 2;
use Test::Mojo;
use lib './lib';
require_ok('AMQP::Publisher');
my $p = AMQP::Publisher->new;
view all matches for this distribution
view release on metacpan or search on metacpan
t/001_compile.t view on Meta::CPAN
use strict;
use warnings;
use Test::More tests => 3;
use FindBin qw/ $Bin /;
use lib "$Bin/../lib";
my @modules = qw/ API::BigBlueButton API::BigBlueButton::Requests API::BigBlueButton::Response /;
for my $module ( @modules ) {
require_ok( $module );
view all matches for this distribution
view release on metacpan or search on metacpan
examples/bin/digitaloceancl view on Meta::CPAN
use strict;
use warnings;
use 5.010;
use Data::Dumper;
use FindBin '$Bin';
use lib "$Bin/../../lib";
use API::CLI;
use API::CLI::App::Spec;
my $appspec_file = "$Bin/../digitaloceancl-appspec.yaml";
view all matches for this distribution