Deliantra-Client
view release on metacpan or search on metacpan
sub asxml($) {
local $_ = $_[0];
s/&/&/g;
s/>/>/g;
s/</</g;
$_
}
sub background(&;&) {
my ($bg, $cb) = @_;
my ($fh_r, $fh_w) = AnyEvent::Util::portable_socketpair
or die "unable to create background socketpair: $!";
my $pid = fork;
if (defined $pid && !$pid) {
local $SIG{__DIE__};
( run in 0.706 second using v1.01-cache-2.11-cpan-49f99fa48dc )