PSA::Acceptor::Dummy

PSA::Acceptor::Dummy is a Perl acceptor for debug and interactive purposes.
Download

PSA::Acceptor::Dummy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sam Vilain
  • Publisher web site:
  • http://search.cpan.org/~samv/

PSA::Acceptor::Dummy Tags


PSA::Acceptor::Dummy Description

PSA::Acceptor::Dummy is a Perl acceptor for debug and interactive purposes. PSA::Acceptor::Dummy is a Perl acceptor for debug and interactive purposes.SYNOPSIS my $acceptor = PSA::Acceptor::Dummy->new(); while (my $request = $acceptor->get_request() ) { my $psa = PSA->new(request => $request, ...); }PSA::Acceptor::Dummy is a PSA::Request object factory. On invocation, it prompts for enough information to construct a request object. This acceptor deals in HTTP request objects.The environment is permitted to contain pre-loaded information, which is presented as the defaults. If the environment variable SUCK_DUMMY is set to a true value, then it is assumed that everything necessary has been loaded into the environment.METHODSPSA::Acceptor::Dummy->new()Returns a new acceptor object.PSA::Acceptor::Dummy->new()Returns a new acceptor object. Prompts the user to enter the values if run from a terminal.$acceptor->get_requestReturns a PSA::Request derived object, or undef if there are none available.This function will probably block.$acceptor->output_fdReturns the filehandle (either an IO::Handle or a ref GLOB) to write to to respond to this request$acceptor->staleReturns true if this acceptor has accepted more than its fair share of hits, or $0 or any include files have changedRequirements:· Perl


PSA::Acceptor::Dummy Related Software