view release on metacpan or search on metacpan
914915916917918919920921922923924925926927928929930931932933934lib/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
968969970971972973974975976977978979980981982983984985986987988lib/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
394041424344454647484950515253545556575859
sub
evt_time_timeout {
STDERR
"T"
;
kill
(
&POSIX::SIGUSR1
,
$PROCESS_ID
); }
sub
evt_time_boundary {
STDERR
"B"
; }
sub
evt_signal_usr1 {
STDERR
"S\n"
; ${
$_
[0]} = 0; }
sub
evt_poll_edge_test1 {
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
6869707172737475767778798081828384858687888990=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
75767778798081828384858687888990919293949596sub
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
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code./autoload/set_423_locked.pl view on Meta::CPAN
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Status_Code/clip.txt view on Meta::CPAN
834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865sub
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