Carrot

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_etag.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_expect.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_expires.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_from.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_host.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_if_match.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_if_modified_since.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_if_none_match.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_if_range.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_if_unmodified_since.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_keep_alive.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_last_modified.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_location.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_max_forwards.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_operation.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_pragma.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_proxy_authenticate.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_proxy_authorization.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_range.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_ranges.pl
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_referer.pl

lib/Carrot/Continuity/Coordination/Episode./documentation/Episode-en.pod  view on Meta::CPAN

	$loop->run(\$continue_flag); # await asynchronous events

To run the loop, call the method run. It takes one mandatory parameter, which is a scalar reference for loop control. As long as the scalar is true, the loop continues. However, the loop always completes the current round, there is no early break out...

=head1 Targets

An event is I<generated by a source> and I<delivered to a target>. If you set up a target, it will find its source automatically. Thus sources are not discussed at this point. Bringing a target to live is normally done in two steps. First the target ...

When an event occurs, a method of an object is called. It shouldn't be too surprising that Carrot::Continuity::Coordination::Episode I<delivers events to instances>. That is a considerable overhead compared to subroutine callbacks, however, it's prob...

Delivering events as method calls has the side effect of keeping references to instances. You are well advised to always deactivate your events after use, otherwise the referenced instance stays alive and receives events.  To be on the safe side, you...

=head1 KNOWN BUGS AND LIMITATIONS

This is the first public release.

The Off-Topic directory OT contains some classes which might get replaced with a suitable solution from CPAN sooner or later.

=head1 AUTHOR

Winfried Trumper E<lt>pub+perl(a)wt.tuxomania.netE<gt>

lib/Carrot/Continuity/Coordination/Episode/Paragraph/FDx2_IO.pm  view on Meta::CPAN

	if (($OS_ERROR == EAGAIN)
	or ($OS_ERROR == EINTR)
	or ($OS_ERROR == EINPROGRESS)
	or ($OS_ERROR == ENOMEM)) {
		return(IS_TRUE);
	}
	return(IS_FALSE);
}


sub is_alive
# /type method
# /effect ""
# //parameters
# //returns
#	::Personality::Abstract::Boolean
{
	return(IS_TRUE);
} # FIXME


lib/Carrot/Continuity/Coordination/Episode/Paragraph/File_IO.pm  view on Meta::CPAN

	if (($OS_ERROR == EAGAIN)
	or ($OS_ERROR == EINTR)
	or ($OS_ERROR == EINPROGRESS)
	or ($OS_ERROR == ENOMEM)) {
		return(IS_TRUE);
	}
	return(IS_FALSE);
}


sub is_alive
# /type method
# /effect ""
# //parameters
# //returns
#	::Personality::Abstract::Boolean
{ return(1) }; # FIXME


sub attribute_destruction
# /type method

lib/Carrot/Continuity/Coordination/Episode/Paragraph/TCP_Socket_IO.pm  view on Meta::CPAN

		if ($this->[ATR_INPUT]->is_closed)
		{
			$this->[ATR_OUTPUT]->close;
		}
		$this->[ATR_TARGET]->fd_ignore_write;
	}

	return;
}

sub is_alive
# /type method
# /effect ""
# //parameters
# //returns
#	::Personality::Abstract::Boolean
{
	my ($this) = @ARGUMENTS;

	return(IS_FALSE) unless (defined($this->[ATR_SOCKET]));
	return($this->[ATR_SOCKET]->connected

lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Data/Connection.pm  view on Meta::CPAN

#	[=parent_pkg=]::_Corporate
# /capability ""
{
	use strict;
	use warnings 'FATAL' => 'all';

	BEGIN {
		my $expressiveness = Carrot::modularity;
		return unless ($expressiveness->managed_file->needs_update);
		$expressiveness->scalar_isset_methods->direct(
			'close', 'keep_alive');
	} #BEGIN

# =--------------------------------------------------------------------------= #

sub attribute_construction
# /type method
# /effect "Constructs the attribute(s) of a newly created instance."
# //parameters
# //returns
{
	${$_[THIS]} //= 'close';
	return;
}

# sub set_keep_alive
# # /type method
# /effect "Constructs the attribute(s) of a newly created instance."
# # //parameters
# # //returns
# {
# 	${$_[THIS]} = 'keep_alive';
# 	return;
# }
#
# sub is_keep_alive
# # /type method
# /effect "Constructs the attribute(s) of a newly created instance."
# # //parameters
# # //returns
# #	::Personality::Abstract::Boolean
# {
# 	return(${$_[THIS]} eq 'keep-alive');
# }
#
# sub is_close
# # /type method
# /effect "Constructs the attribute(s) of a newly created instance."
# # //parameters
# # //returns
# #	::Personality::Abstract::Boolean
# {
# 	return(${$_[THIS]} eq 'close');

lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload.pl  view on Meta::CPAN

sub header_cache_control;
sub header_location;
sub header_from;
sub header_via;
sub header_ranges;
sub header_accept_charset;
sub header_accept;
sub header_allow;
sub header_user_agent;
sub header_content_type;
sub header_keep_alive;
sub header_content_range;
sub header_transfer_encoding;
sub header_date;
sub header_content_encoding;
sub header_content_language;
sub header_cookie;
sub header_last_modified;
sub header_www_authenticate;
sub header_if_unmodified_since;
sub header_accept_encoding;

lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Lines./autoload/header_keep_alive.pl  view on Meta::CPAN

package Carrot::Personality::Valued::Internet::Protocol::HTTP::Header::Lines;

use strict;
use warnings;

sub header_keep_alive
# /type method
# /effect ""
# //parameters
# //returns
#	?
{
	return($_[THIS]->by_name('Keep-Alive'));
}

return(1);



( run in 3.348 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )