view release on metacpan or search on metacpan
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_409_conflict.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_410_gone.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_411_length_required.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_412_precondition_failed.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_413_request_entity_too_large.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_414_request_uri_too_long.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_415_unsupported_media_type.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_416_requested_range_not_satisfiable.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_417_expectation_failed.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_422_unprocessable_entity.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_423_locked.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_424_failed_dependency.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_425_reserved_for_webdav_advanced.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_426_upgrade_required.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_500_internal_server_error.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_501_not_implemented.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_502_bad_gateway.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_503_service_unavailable.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_504_gateway_timeout.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_505_http_version_not_supported.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_506_variant_also_negotiates.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_409_conflict.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_410_gone.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_411_length_required.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_412_precondition_failed.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_413_request_entity_too_large.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_414_request_uri_too_long.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_415_unsupported_media_type.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_416_requested_range_not_satisfiable.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_417_expectation_failed.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_422_unprocessable_entity.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_423_locked.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_424_failed_dependency.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_425_reserved_for_webdav_advanced.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_426_upgrade_required.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_500_internal_server_error.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_501_not_implemented.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_502_bad_gateway.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_503_service_unavailable.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_504_gateway_timeout.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_505_http_version_not_supported.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_506_variant_also_negotiates.pl
lib/Carrot/Continuity/Coordination/Episode/Synopsis./documentation/Synopsis-en.pod view on Meta::CPAN
sub evt_time_timeout { print STDERR "T"; kill(&POSIX::SIGUSR1, $PROCESS_ID); }
sub evt_time_boundary { print STDERR "B"; }
sub evt_signal_usr1 { print STDERR "S\n"; ${$_[0]} = 0; }
sub evt_poll_edge_test1 { print STDERR "P$_[1]"; }
}
=head1 DESCRIPTION
The purpose of the following example is to introduce Carrot::Continuity::Coordination::Episode with a fully functional piece of code. The class Carrot::Continuity::Coordination::Episode::Synopsis is shipped for this purpose only. Using the convenienc...
The example above should print '...................T.S' to the screen, with a one second delay between each output. Create and remove the file /tmp/any.txt to see a P. The USR1 signal sets the loop control to zero, effectively terminating the show. I...
The package Event_Demo is required, because Carrot::Continuity::Coordination::Episode is about instances, not classes. The $demo instance holds a loop control (a trivial scalar ref) and provides the callback methods (default names).
=head2 Public Interface
Punchy means, there is action upon a simple string. However, there is not much point in formatting and then (one subroutine call later) parsing a simple string. Instead, directly pass the values you have to the specific interfaces.
But there is nothing wrong with documenting the convenience interface. The first parameter is the instance to call back a hard-wired method name. The second parameter is recognized as follows:
=over 8
lib/Carrot/Continuity/Coordination/Episode/Synopsis./documentation/Synopsis-en.pod view on Meta::CPAN
=item * B<Wallclock time event> - 'at UNIT NUMBER UNIT NUMBER...'
The target is called once at the time specified in absolute form. Note that the unit comes first for wallclock events. Names for units are second, minute, hour, day, and year. No abreviation, no plural. Example: 'at year 2010 month 2 day 12 hour 12 m...
=item * B<Signal event> - 'SIGname'
The target is called each time the process receives the specified signal. For more about signals, see L<perlipc>. Example: 'SIGHUP'. Signals are not perfectly reliable with Carrot::Continuity::Coordination::Episode, try to avoid them.
=item * B<IO_Unblocked event> - file handle
The target is called when certain IO operations will not block. Mainly two individual methods are called on the instance: evt_io_unblocked_(read|write). You need to store the target instance, so that you can control the type of event to be delivered....
=item * B<Generic event> - anything
A placeholder, which is too generic to be useful. :)
=back
=head1 AUTHOR
Winfried Trumper E<lt>pub+perl(a)wt.tuxomania.netE<gt>
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload.pl view on Meta::CPAN
sub set_414_request_uri_too_long;
sub is_414_request_uri_too_long;
sub set_415_unsupported_media_type;
sub is_415_unsupported_media_type;
sub set_416_requested_range_not_satisfiable;
sub is_416_requested_range_not_satisfiable;
sub set_417_expectation_failed;
sub is_417_expectation_failed;
sub set_422_unprocessable_entity;
sub is_422_unprocessable_entity;
sub set_423_locked;
sub is_423_locked;
sub set_424_failed_dependency;
sub is_424_failed_dependency;
sub set_425_reserved_for_webdav_advanced;
sub is_425_reserved_for_webdav_advanced;
sub set_426_upgrade_required;
sub is_426_upgrade_required;
sub set_500_internal_server_error;
sub is_500_internal_server_error;
sub set_501_not_implemented;
sub is_501_not_implemented;
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/is_423_locked.pl view on Meta::CPAN
package Carrot::Personality::Valued::Internet::Protocol::HTTP::Status_Code;
use strict;
use warnings;
sub is_423_locked
{
return(${$_[0]} eq '423');
}
return(1);
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_423_locked.pl view on Meta::CPAN
package Carrot::Personality::Valued::Internet::Protocol::HTTP::Status_Code;
use strict;
use warnings;
sub set_423_locked
{
${$_[0]} = '423';
return;
}
return(1);
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code/clip.txt view on Meta::CPAN
sub is_422_unprocessable_entity
# /type method
# /effect ""
# //parameters
# //returns
# ?
{
return(${$_[THIS]} == HTTP_STATUS_CODE_422_UNPROCESSABLE_ENTITY);
}
sub set_423_locked
# /type method
# /effect ""
# //parameters
# //returns
# ?
{
${$_[THIS]} = HTTP_STATUS_CODE_423_LOCKED;
return;
}
sub is_423_locked
# /type method
# /effect ""
# //parameters
# //returns
# ?
{
return(${$_[THIS]} == HTTP_STATUS_CODE_423_LOCKED);
}
sub set_424_failed_dependency