view release on metacpan or search on metacpan
4. Download SPECS/fluent-agent-lite.spec, and place it on SPECS/ .
5. run 'rpmbuild -ba SPECS/fluent-agent-lite.spec'
To install each RHEL/CentOS host, use yum server, or copy and rpm -i on each host.
NOTE: `yum install perl-devel` and `QA_RPATHS=$[0x001] rpmbuild -ba` may help you if `rpmbuild` fails on your build environment.
### Other Linux or Unix-like OS
On each host, do steps below.
view all matches for this distribution
view release on metacpan or search on metacpan
Examples/addpclt.pl view on Meta::CPAN
require 'ttfmod.pl';
use Getopt::Std;
do getopts("d:z");
$[ = 0;
if ((defined $opt_d && !defined $ARGV[0]) || (!defined $opt_d && !defined $ARGV[1]))
{
die 'ADDPCLT [-d directory] [-z] <infile> <outfile>
v1.0.0, 18-Mar-1998 (c) Martin_Hosken@sil.org
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Fuckin/Lazy.pm view on Meta::CPAN
my @lines;
while (my $line = <$fh>) {
if ($line =~ m/(LAZY|Fuckin'Lazy|Fuckin::Lazy)\s*\(/) {
my $match = $1;
croak "$1() must be called with parentheses, and must be given a scalar variable for an arg."
unless $line =~ m/$match\(\s*\$[0-9A-Za-z_]+\s*\)/;
my $data = produce_data($struct, $line, $match);
$line =~ s/$match\(\s*\$[0-9A-Za-z_]+\s*\)/$data/;
}
push @lines => $line;
}
close($fh);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Egbk.pm view on Meta::CPAN
$slash = 'div';
return $1;
}
# $ $ $ $ $ $ $ $ $ $ $ $ $ $
# $ @ # \ ' " / ? ( ) [ ] < >
elsif (/\G ( \$[\$\@\#\\\'\"\/\?\(\)\[\]\<\>] ) /oxmsgc) {
$slash = 'div';
return $1;
}
# while (<FILEHANDLE>)
lib/Egbk.pm view on Meta::CPAN
$e_string .= $1;
$slash = 'div';
}
# $ $ $ $ $ $ $ $ $ $ $ $ $ $
# $ @ # \ ' " / ? ( ) [ ] < >
elsif ($string =~ /\G ( \$[\$\@\#\\\'\"\/\?\(\)\[\]\<\>] ) /oxmsgc) {
$e_string .= $1;
$slash = 'div';
}
# subroutines of package Egbk
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/AIBot.pm view on Meta::CPAN
if ($count++ > 100) {
warn "recursion too deep";
return;
}
if ($line =~ /^\$[{\w]/) {
$bot->cond($line);
}
elsif ($line =~ /^(?:else|elsif)[\s\t]/) {
$bot->endif();
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Axmud/Obj/Telnet.pm view on Meta::CPAN
$fh = "";
}
elsif (&_is_open_fh($name)) { # input arg is an open fh
## Use the open fh for logging.
$fh = $name;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
elsif (!ref $name) { # input arg is filename
## Open the file for logging.
$fh = &_fname_to_handle($self, $name)
or return;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
else {
return $self->error("bad Dump_log argument ",
"\"$name\": not filename or open fh");
}
lib/Games/Axmud/Obj/Telnet.pm view on Meta::CPAN
## Restore our private data.
*$self->{net_telnet} = $s;
## Re-initialize ourself.
select((select($self), $|=1)[$[]); # don't buffer writes
$s = *$self->{net_telnet};
$s->{blksize} = &_optimal_blksize((stat $self)[11]);
$s->{buf} = "";
$s->{eofile} = '';
$s->{errormsg} = "";
lib/Games/Axmud/Obj/Telnet.pm view on Meta::CPAN
$fh = "";
}
elsif (&_is_open_fh($name)) { # input arg is an open fh
## Use the open fh for logging.
$fh = $name;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
elsif (!ref $name) { # input arg is filename
## Open the file for logging.
$fh = &_fname_to_handle($self, $name)
or return;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
else {
return $self->error("bad Input_log argument ",
"\"$name\": not filename or open fh");
}
lib/Games/Axmud/Obj/Telnet.pm view on Meta::CPAN
return $self->error("problem connecting to \"$host\", ",
"port $port: $errno");
};
}
select((select($self), $|=1)[$[]); # don't buffer writes
$s->{blksize} = &_optimal_blksize((stat $self)[11]);
$s->{buf} = "";
$s->{eofile} = '';
$s->{errormsg} = "";
vec($s->{fdmask}='', fileno($self), 1) = 1;
lib/Games/Axmud/Obj/Telnet.pm view on Meta::CPAN
$fh = "";
}
elsif (&_is_open_fh($name)) { # input arg is an open fh
## Use the open fh for logging.
$fh = $name;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
elsif (!ref $name) { # input arg is filename
## Open the file for logging.
$fh = &_fname_to_handle($self, $name)
or return;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
else {
return $self->error("bad Option_log argument ",
"\"$name\": not filename or open fh");
}
lib/Games/Axmud/Obj/Telnet.pm view on Meta::CPAN
$fh = "";
}
elsif (&_is_open_fh($name)) { # input arg is an open fh
## Use the open fh for logging.
$fh = $name;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
elsif (!ref $name) { # input arg is filename
## Open the file for logging.
$fh = &_fname_to_handle($self, $name)
or return;
select((select($fh), $|=1)[$[]); # don't buffer writes
}
else {
return $self->error("bad Output_log argument ",
"\"$name\": not filename or open fh");
}
view all matches for this distribution