App-CamelPKI
view release on metacpan or search on metacpan
lib/App/CamelPKI/Controller/Test.pm view on Meta::CPAN
=head1 DESCRIPTION
App-PKI controller that serves the URIs starting with C</test>. Those
tests are eXtreme-Programming style ``learning tests'', that is, tiny
pieces of controllers and views to play with Catalyst to learn how it
works.
Contrary to all other kind of tests, learning tests are neither
normative (success is not required) nor automated (success criteria
may are not be implemented, or even formulated).
=head2 json_helloworld
Accepts a JSON parameter which contains an associative table with keys
"nom" (meaning last name in French) and "prenom" (first name), and
returns a JSON parameter which contain an associative table with a
welcome message for the C<salutation> key. (For the fame of it,
"Bonjour" means "Hello" in French.)
=cut
lib/App/CamelPKI/RestrictedClassMethod.pm view on Meta::CPAN
An instance of I<App::CamelPKI::RestrictedClassMethod> represents the right
to invoke methods marked as C<Restricted> in an given Perl class.
=cut
use Class::Inspector;
use App::CamelPKI::Error;
=head1 "use" form
The L</SYNOPSIS> formula
use App::CamelPKI::RestrictedClassMethod ":Restricted";
indicates that the calling package wants to use the C<Restricted>
attribute for its methods. When affixed the C<Restricted> on a method
class (again as shown in the synopsis) prevents the execution of this
method to all excepted to holder of the corresponding
I<App::CamelPKI::RestrictedClassMethod> object (see L</METHODS>).
=cut
t/lib/App/CamelPKI/Test.pm view on Meta::CPAN
use File::Find;
use File::Path ();
use File::Spec::Functions qw(catfile catdir);
use File::Slurp;
use File::Temp ();
use POSIX ":sys_wait_h";
use File::Which ();
use IO::Socket::SSL;
use LWP::UserAgent;
use HTTP::Request;
#pour formulaires
use URI::URL;
use HTTP::Request::Common;
use HTTP::Request::Form;
use HTML::TreeBuilder 3.0;
use base 'Exporter';
BEGIN {
our @EXPORT =
qw(openssl_path run_thru_openssl run_dumpasn1
run_perl run_perl_ok
( run in 0.231 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )