perl-Test-Compiles-0.001-alt1.noarch.rpm


Advertisement

Description

perl-Test-Compiles - tests if perl can compile a string of code

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Test-Compiles
Package version 0.001
Package release alt1
Package architecture noarch
Package type rpm
Installed size 25.61 KB
Download size 25.61 KB
Official Mirror ftp.altlinux.org
Test::Compiles exports two functions to allow you to check whether a
string of code can be compiled by perl without errors. It doesn't check
whether it can be *executed*.
Note that Perl code can execute arbitrary instructions as part of its
compilation (e.g. in a `BEGIN { ... }' block), so don't pass
untrusted strings to these test functions.
=over
=item `compiles $code, $message, %options'
=item `compiles $code, %options'
=item `compiles $code, $message'
=item `compiles $code'
This test passes if `$code' can be compiled.
Valid options are:
=over
=item * `strict': boolean to indicate whether code should be compiled
with `use strict'. Enabled by default.
=item * `warnings': boolean to indicate whether code should be
compiled with `use warnings FATAL => 'all''. Disabled by default.
=item * `package': package that the code should be compiled in.
Defaults to the caller.
=item * `prelude': a string of Perl code to prepend to `$code'.
Defaults to `$Test::Compiles::PRELUDE', which is (by default) an
empty string.
=item * `message': an alternative to specifying `$message'.
=back
=item `doesnt_compile $code, $message, %options'
=item `doesnt_compile $code, %options'
=item `doesnt_compile $code, $message'
=item `doesnt_compile $code'
This test passes if `$code' cannot be compiled. It accepts the
same options.
=back
This module defines a package variable `$Test::Compiles::PRELUDE'
which can be used to, for example, load pragmata like the indirect manpage or
the bareword::filehandles manpage.

Alternatives

Package Version Architecture Repository
perl-Test-Compiles - - -

Requires

Name Value
/usr/share/perl5 -
perl(Exporter/Shiny.pm) >= 1.0
perl(Test/More.pm) >= 0.960
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Test/Compiles.pm) = 0.001
perl-Test-Compiles = 0.001-alt1

Download

Type URL
Binary Package perl-Test-Compiles-0.001-alt1.noarch.rpm
Source Package perl-Test-Compiles-0.001-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Test-Compiles rpm package:
    # sudo apt-get install perl-Test-Compiles

Files

Path
/usr/share/doc/perl-Test-Compiles-0.001/COPYRIGHT
/usr/share/doc/perl-Test-Compiles-0.001/CREDITS
/usr/share/doc/perl-Test-Compiles-0.001/Changes
/usr/share/doc/perl-Test-Compiles-0.001/LICENSE
/usr/share/doc/perl-Test-Compiles-0.001/README
/usr/share/perl5/Test/Compiles.pm

See Also

Package Description
perl-Test-Conditions-0.83-alt1.noarch.rpm test multiple conditions across a large data structure or list in a simple and compact way
perl-Test-Config-System-0.63-alt1.noarch.rpm System configuration related unit tests
perl-Test-Consul-0.012-alt1.noarch.rpm Run a consul server for testing
perl-Test-Continuous-0.74-alt1.noarch.rpm Run your test suite continuously when developing
perl-Test-Continuous-scripts-0.74-alt1.noarch.rpm Test-Continuous scripts
perl-Test-Cookbook-0.05.2-alt1.noarch.rpm Write your tests as cookbooks
perl-Test-Core-0.0200-alt1.noarch.rpm Modern Perl testing with a single import
perl-Test-Corpus-Audio-MPD-1.120990-alt3_9.noarch.rpm Automate launching of fake mdp for testing purposes
perl-Test-Count-0.0902-alt1_2.noarch.rpm A standalone command line
perl-Test-Crontab-Format-0.02-alt1.noarch.rpm Check crontab format validity
perl-Test-Cucumber-Tiny-0.64-alt1.noarch.rpm Cucumber Testing Framework
perl-Test-Cukes-0.10-alt1.noarch.rpm A BBD test tool inspired by Cucumber
perl-Test-DB-Shared-0.004-alt1.noarch.rpm Share DB cluster instance accross processes for faster tests
perl-Test-DBIC-0.01003-alt1.noarch.rpm Facilitates Automated Testing for DBIx::Class
perl-Test-DBIC-ExpectedQueries-1.011-alt1.noarch.rpm Test that only expected DBIx::Class queries are run
Advertisement
Advertisement