view release on metacpan or search on metacpan
xt/author/eol.t view on Meta::CPAN
't/04-init-lib.t',
't/10-use-lib-onself.t',
't/11-use-lib-onchild.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/m4.pm view on Meta::CPAN
Returns the name of the m4 command. Usually just C<m4>.
=head1 CAVEATS
Why GNU m4? Many Unixen come with BSD or other variants of m4 which are
perfectly good. Unfortunately, the main use case for this module is
L<Alien::Autotools> and friends. Autoconf requires the GNU m4, probably
for political reasons, possibly for technical reasons. If you are using
one of these Unixen, don't despair, you can usually install the GNU
version of m4 either by building from source or by installing a binary
package, with either the name C<gm4> or C<gnum4>, and this module will
find it, and L<Alien::Autotools> will be able to use it.
=head1 AUTHOR
view all matches for this distribution
view release on metacpan or search on metacpan
};
build [
# since this only works on 64bit linux
# don't really have to worry about
# portability so we can use all the unixisms
# we want!
'mkdir -p %{.install.prefix}/include',
'mkdir -p %{.install.prefix}/lib',
'cp LICENSE %{.install.prefix}',
'cp -a include/* %{.install.prefix}/include',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/patch.pm view on Meta::CPAN
=head2 patch
%{patch}
When used with L<Alien::Base::ModuleBuild> in a C<alien_build_commands> or C<alien_install_commands>,
this helper will be replaced by either C<patch> (Unix and cygwin) or C<patch --binary> (MSWin32).
=head1 SEE ALSO
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
require Alien::Poppler;
push @PKG_CONFIG_PATH, Alien::FontForge->pkg_config_path;
push @PKG_CONFIG_PATH, Alien::Poppler->pkg_config_path;
} or warn "Unable to add to \$PKG_CONFIG_PATH (@PKG_CONFIG_PATH): $@";
build [
[ 'cmake', qw(-G), 'Unix Makefiles',
exists $ENV{MSYSTEM} ? ('-DPDF2HTMLEX_LIBS=-lintl') : (),
'-DCMAKE_RUNTIME_PREFIX:PATH=%{.runtime.prefix}',
'-DCMAKE_INSTALL_PREFIX:PATH=%{.install.prefix}', '.' ],
[ '%{gmake}' ],
[ '%{gmake}', 'install' ],
view all matches for this distribution
view release on metacpan or search on metacpan
};
sub build_from_source {
my ($build, $executable) = @_;
my $platform = 'unix';
for ($^O) {
$platform = 'macosx' if /darwin/;
$platform = 'bsd' if /bsd/;
$platform = 'windows' if /MSWin32/;
}
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/eol.t view on Meta::CPAN
't/header.t',
't/init.t',
't/libs.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/eol.t view on Meta::CPAN
't/header.t',
't/init.t',
't/libs.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
];
}
else
{
build [
[ '%{make}', -f => 'unix/Makefile', 'generic', 'prefix=%{.install.prefix}' ],
[ '%{make}', -f => 'unix/Makefile', 'install', 'prefix=%{.install.prefix}' ],
];
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
libuv/include/uv/posix.h
libuv/include/uv/stdint-msvc2008.h
libuv/include/uv/sunos.h
libuv/include/uv/threadpool.h
libuv/include/uv/tree.h
libuv/include/uv/unix.h
libuv/include/uv/version.h
libuv/include/uv/win.h
libuv/libuv.pc.in
libuv/LICENSE
libuv/LICENSE-docs
libuv/src/queue.h
libuv/src/strscpy.c
libuv/src/strscpy.h
libuv/src/threadpool.c
libuv/src/timer.c
libuv/src/unix/aix-common.c
libuv/src/unix/aix.c
libuv/src/unix/android-ifaddrs.c
libuv/src/unix/async.c
libuv/src/unix/atomic-ops.h
libuv/src/unix/bsd-ifaddrs.c
libuv/src/unix/bsd-proctitle.c
libuv/src/unix/core.c
libuv/src/unix/cygwin.c
libuv/src/unix/darwin-proctitle.c
libuv/src/unix/darwin.c
libuv/src/unix/dl.c
libuv/src/unix/freebsd.c
libuv/src/unix/fs.c
libuv/src/unix/fsevents.c
libuv/src/unix/getaddrinfo.c
libuv/src/unix/getnameinfo.c
libuv/src/unix/ibmi.c
libuv/src/unix/internal.h
libuv/src/unix/kqueue.c
libuv/src/unix/linux-core.c
libuv/src/unix/linux-inotify.c
libuv/src/unix/linux-syscalls.c
libuv/src/unix/linux-syscalls.h
libuv/src/unix/loop-watcher.c
libuv/src/unix/loop.c
libuv/src/unix/netbsd.c
libuv/src/unix/no-fsevents.c
libuv/src/unix/no-proctitle.c
libuv/src/unix/openbsd.c
libuv/src/unix/os390-syscalls.c
libuv/src/unix/os390-syscalls.h
libuv/src/unix/os390.c
libuv/src/unix/pipe.c
libuv/src/unix/poll.c
libuv/src/unix/posix-hrtime.c
libuv/src/unix/posix-poll.c
libuv/src/unix/process.c
libuv/src/unix/procfs-exepath.c
libuv/src/unix/proctitle.c
libuv/src/unix/pthread-fixes.c
libuv/src/unix/signal.c
libuv/src/unix/spinlock.h
libuv/src/unix/stream.c
libuv/src/unix/sunos.c
libuv/src/unix/sysinfo-loadavg.c
libuv/src/unix/sysinfo-memory.c
libuv/src/unix/tcp.c
libuv/src/unix/thread.c
libuv/src/unix/tty.c
libuv/src/unix/udp.c
libuv/src/uv-common.c
libuv/src/uv-common.h
libuv/src/uv-data-getter-setters.c
libuv/src/version.c
libuv/src/win/async.c
libuv/test/echo-server.c
libuv/test/fixtures/empty_file
libuv/test/fixtures/load_error.node
libuv/test/run-benchmarks.c
libuv/test/run-tests.c
libuv/test/runner-unix.c
libuv/test/runner-unix.h
libuv/test/runner-win.c
libuv/test/runner-win.h
libuv/test/runner.c
libuv/test/runner.h
libuv/test/task.h
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Build/Any_wx_config.pm view on Meta::CPAN
version => $self->_version_2_dec
( $self->notes( 'build_data' )->{data}{version} ),
debug => $self->awx_is_debug,
unicode => $self->awx_is_unicode,
mslu => $self->awx_is_mslu,
# it is unlikely it will ever be required under *nix
$self->notes( 'build_wx' ) ? () :
( compiler => $self->awx_compiler_kind( $compiler ),
compiler_version => $self->awx_compiler_version( $compiler )
),
);
view all matches for this distribution
view release on metacpan or search on metacpan
builder/xmake.pm view on Meta::CPAN
zypper => 'zypper --version',
pacman => 'pacman -V', # arch, etc.
emerge => 'emerge -V', # Gentoo
pkg_termux => 'pkg list-installed', # termux (Android)
pkg_bsd => 'pkg help', # freebsd
nixos => 'nix-env --version',
apk => 'apk --version',
xbps => 'xbps-install --version',
scoop => 'scoop --version', # Windows
winget => 'winget --version', # Windows
brew => 'brew --version', # MacOS
builder/xmake.pm view on Meta::CPAN
, # arch, etc.
emerge => "$sudo emerge -atv dev-vcs/git ccache", # Gentoo
pkg_termux => "$sudo pkg install -y git getconf build-essential readline ccache"
, # termux (Android)
pkg_bsd => "$sudo pkg install -y git readline ccache ncurses", # freebsd
nixos => "nix-env -i git gcc readline ncurses;",
apk =>
"$sudo apk add git gcc g++ make readline-dev ncurses-dev libc-dev linux-headers",
xbps => "$sudo xbps-install -Sy git base-devel ccache",
#scoop => "$sudo ", # Windows
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Can.pm view on Meta::CPAN
*ExtUtils::MM_Cygwin::maybe_command = sub {
my ($self, $file) = @_;
if ($file =~ m{^/cygdrive/}i and ExtUtils::MM_Win32->can('maybe_command')) {
ExtUtils::MM_Win32->maybe_command($file);
} else {
ExtUtils::MM_Unix->maybe_command($file);
}
}
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Capture/Tiny.pm view on Meta::CPAN
#--------------------------------------------------------------------------#
sub _relayer {
my ($fh, $layers) = @_;
# _debug("# requested layers (@{$layers}) for @{[fileno $fh]}\n");
my %seen = ( unix => 1, perlio => 1 ); # filter these out
my @unique = grep { !$seen{$_}++ } @$layers;
# _debug("# applying unique layers (@unique) to @{[fileno $fh]}\n");
binmode($fh, join(":", ":raw", @unique));
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Inline.pm view on Meta::CPAN
use Inline::denter;
use Config;
use Carp;
use Cwd qw(abs_path cwd);
use File::Spec;
use File::Spec::Unix;
use Fcntl qw(LOCK_EX LOCK_UN);
my %CONFIG = ();
my @DATA_OBJS = ();
my $INIT = 0;
inc/Inline.pm view on Meta::CPAN
$o->{API}{pkg} = $pkg;
$o->{API}{script} = $script;
$o->{API}{language_id} = $language_id;
if ($option =~ /^(FILE|BELOW)$/i or
not $option and
defined $INC{File::Spec::Unix->catfile('Inline','Files.pm')} and
Inline::Files::get_filename($pkg)
) {
$o->read_inline_file;
$o->{CONFIG} = handle_language_config(@config);
}
inc/Inline.pm view on Meta::CPAN
croak M26_error_version_without_name()
unless $o->{CONFIG}{NAME};
my @pkgparts = split(/::/, $o->{API}{pkg});
my $realname = File::Spec->catfile(@pkgparts) . '.pm';
my $realname_unix = File::Spec::Unix->catfile(@pkgparts) . '.pm';
my $realpath = $INC{$realname_unix}
or croak M27_module_not_indexed($realname_unix);
my ($volume,$dir,$file) = File::Spec->splitpath($realpath);
my @dirparts = File::Spec->splitdir($dir);
pop @dirparts unless $dirparts[-1];
push @dirparts, $file;
inc/Inline.pm view on Meta::CPAN
my $o = shift;
my ($lang, $pkg) = @{$o->{API}}{qw(language_id pkg)};
my $langfile = uc($lang);
croak M59_bad_inline_file($lang) unless $langfile =~ /^[A-Z]\w*$/;
croak M60_no_inline_files()
unless (defined $INC{File::Spec::Unix->catfile("Inline","Files.pm")} and
$Inline::Files::VERSION =~ /^\d\.\d\d$/ and
$Inline::Files::VERSION ge '0.51');
croak M61_not_parsed() unless $lang = Inline::Files::get_filename($pkg);
{
no strict 'refs';
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Inline.pm view on Meta::CPAN
use Inline::denter;
use Config;
use Carp;
use Cwd qw(abs_path cwd);
use File::Spec;
use File::Spec::Unix;
use Fcntl qw(LOCK_EX LOCK_UN);
my %CONFIG = ();
my @DATA_OBJS = ();
my $INIT = 0;
inc/Inline.pm view on Meta::CPAN
$o->{API}{pkg} = $pkg;
$o->{API}{script} = $script;
$o->{API}{language_id} = $language_id;
if ($option =~ /^(FILE|BELOW)$/i or
not $option and
defined $INC{File::Spec::Unix->catfile('Inline','Files.pm')} and
Inline::Files::get_filename($pkg)
) {
$o->read_inline_file;
$o->{CONFIG} = handle_language_config(@config);
}
inc/Inline.pm view on Meta::CPAN
croak M26_error_version_without_name()
unless $o->{CONFIG}{NAME};
my @pkgparts = split(/::/, $o->{API}{pkg});
my $realname = File::Spec->catfile(@pkgparts) . '.pm';
my $realname_unix = File::Spec::Unix->catfile(@pkgparts) . '.pm';
my $realpath = $INC{$realname_unix}
or croak M27_module_not_indexed($realname_unix);
my ($volume,$dir,$file) = File::Spec->splitpath($realpath);
my @dirparts = File::Spec->splitdir($dir);
pop @dirparts unless $dirparts[-1];
push @dirparts, $file;
inc/Inline.pm view on Meta::CPAN
my $o = shift;
my ($lang, $pkg) = @{$o->{API}}{qw(language_id pkg)};
my $langfile = uc($lang);
croak M59_bad_inline_file($lang) unless $langfile =~ /^[A-Z]\w*$/;
croak M60_no_inline_files()
unless (defined $INC{File::Spec::Unix->catfile("Inline","Files.pm")} and
$Inline::Files::VERSION =~ /^\d\.\d\d$/ and
$Inline::Files::VERSION ge '0.51');
croak M61_not_parsed() unless $lang = Inline::Files::get_filename($pkg);
{
no strict 'refs';
view all matches for this distribution
view release on metacpan or search on metacpan
removed, file modes of new files are set, and the timestamps of
all patched files are adjusted.
Note that 'applypatch' only requires the 'patch' program. It does not
rely on a shell or shell tools. This makes it possible to apply
patches on non-Unix systems.
REQUIREMENTS
- Perl 5.004 standard installation.
- For 'makepatch': the 'diff' program.
view all matches for this distribution
view release on metacpan or search on metacpan
t/44_ceql_bncweb.t view on Meta::CPAN
# -*- mode: cperl; buffer-file-coding-system: latin-1-unix; -*-
## Test the BNCweb extension of the CEQL grammar
## !! This file must be stored in ISO-8859-1 (Latin-1) encoding !!
use warnings;
use strict;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# will build the correct XS library... here, I tell *only this part*
# of the MakeMaker process, that we are really Crypt::OpenSSL::PKCS12,
# and not the Alt::*
#
# it seems to work!
my $old_init_main = \&ExtUtils::MM_Unix::init_main;
{
no warnings 'redefine';
*ExtUtils::MM_Unix::init_main = sub {
my ($self) = @_;
local $self->{NAME} = 'Crypt::OpenSSL::PKCS12';
return $old_init_main->($self);
};
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Devel/CheckLib.pm view on Meta::CPAN
@$ld,
(map { "-I$_" } @incpaths),
"-o$exefile",
$cfile
);
} else { # Unix-ish: gcc, Sun, AIX (gcc, cc), ...
@sys_cmd = (
@$cc,
@$ld,
$cfile,
(map { "-I$_" } @incpaths),
inc/Devel/CheckLib.pm view on Meta::CPAN
"-o$exefile",
(map { "-I$_" } @incpaths),
(map { "-L$_" } @libpaths),
"-l$lib",
$cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
@sys_cmd = (
@$cc,
@$ld,
$cfile,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Date/Extract.pm view on Meta::CPAN
=item format
Choose what format the extracted date(s) will be. The default is "DateTime",
which will return L<DateTime> object(s). Other option include "verbatim" (return
the original text), "epoch" (return Unix timestamp), or "combined" (return
hashref containing these keys "verbatim", "DateTime", "pos" [position of date
string in the text]).
=item time_zone
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Inline.pm view on Meta::CPAN
use Inline::denter;
use Config;
use Carp;
use Cwd qw(abs_path cwd);
use File::Spec;
use File::Spec::Unix;
use Fcntl qw(LOCK_EX LOCK_UN);
my %CONFIG = ();
my @DATA_OBJS = ();
my $INIT = 0;
inc/Inline.pm view on Meta::CPAN
$o->{API}{pkg} = $pkg;
$o->{API}{script} = $script;
$o->{API}{language_id} = $language_id;
if ($option =~ /^(FILE|BELOW)$/i or
not $option and
defined $INC{File::Spec::Unix->catfile('Inline','Files.pm')} and
Inline::Files::get_filename($pkg)
) {
$o->read_inline_file;
$o->{CONFIG} = handle_language_config(@config);
}
inc/Inline.pm view on Meta::CPAN
croak M26_error_version_without_name()
unless $o->{CONFIG}{NAME};
my @pkgparts = split(/::/, $o->{API}{pkg});
my $realname = File::Spec->catfile(@pkgparts) . '.pm';
my $realname_unix = File::Spec::Unix->catfile(@pkgparts) . '.pm';
my $realpath = $INC{$realname_unix}
or croak M27_module_not_indexed($realname_unix);
my ($volume,$dir,$file) = File::Spec->splitpath($realpath);
my @dirparts = File::Spec->splitdir($dir);
pop @dirparts unless $dirparts[-1];
push @dirparts, $file;
inc/Inline.pm view on Meta::CPAN
my $o = shift;
my ($lang, $pkg) = @{$o->{API}}{qw(language_id pkg)};
my $langfile = uc($lang);
croak M59_bad_inline_file($lang) unless $langfile =~ /^[A-Z]\w*$/;
croak M60_no_inline_files()
unless (defined $INC{File::Spec::Unix->catfile("Inline","Files.pm")} and
$Inline::Files::VERSION =~ /^\d\.\d\d$/ and
$Inline::Files::VERSION ge '0.51');
croak M61_not_parsed() unless $lang = Inline::Files::get_filename($pkg);
{
no strict 'refs';
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Capture/Tiny.pm view on Meta::CPAN
#--------------------------------------------------------------------------#
sub _relayer {
my ($fh, $layers) = @_;
# _debug("# requested layers (@{$layers}) for @{[fileno $fh]}\n");
my %seen = ( unix => 1, perlio => 1 ); # filter these out
my @unique = grep { !$seen{$_}++ } @$layers;
# _debug("# applying unique layers (@unique) to @{[fileno $fh]}\n");
binmode($fh, join(":", ":raw", @unique));
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Runtime.pm view on Meta::CPAN
The I<NAME> is a string, which should be a valid module name (one or
more C<::>-separated segments). If it is not a valid name, the function
C<die>s.
The notional filename for the named module is generated and returned.
This filename is always in Unix style, with C</> directory separators
and a C<.pm> suffix. This kind of filename can be used as an argument to
C<require>, and is the key that appears in C<%INC> to identify a module,
regardless of actual local filename syntax.
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
CONTRIBUTING view on Meta::CPAN
code, check with me first. Sometimes the English strings may not in
a stable state, so it would be a waste of time translating them.
Coding Style
I tend to write using something approximating the Allman style, using
tabs for indentation and Unix-style line breaks.
* <http://en.wikipedia.org/wiki/Indent_style#Allman_style>
* <http://www.derkarl.org/why_to_tabs.html>
view all matches for this distribution
view release on metacpan or search on metacpan
t/test-data/original/0/101.alvis view on Meta::CPAN
<documentCollection>
<documentRecord id="0717FBB236A4A067DC9BE4FA48801BE3">
<acquisition>
<acquisitionData>
<modifiedDate>1141065614536</modifiedDate>
<httpServer>Apache/1.3.34 (Unix) DAV/1.0.3 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.1 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a</httpServer>
<urls>
<url>http://battellemedia.com/archives/2004_08.php</url>
</urls>
</acquisitionData>
<canonicalDocument>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
sources + resources
=item * Obtain:
http://www.link.cs.cmu.edu/link/ftp-site/link-grammar/link-4.1b/unix/link-4.1b.tar.gz
=item * Install:
untar link-4.1b.tar.gz
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alvis/Saa.pm view on Meta::CPAN
return 0;
}
# print STDERR "Soketti on $LOCALADDR_PREFIX$port\n";
unlink "$LOCALADDR_PREFIX$port";
my $unix_sock = IO::Socket::UNIX->new(Local => "$LOCALADDR_PREFIX$port",
Type => SOCK_STREAM,
Listen => 10);
if(!defined($unix_sock))
{
$this->{'err'} = "$@";
close($inet_sock);
return 0;
}
binmode($inet_sock, ":raw");
binmode($unix_sock, ":raw");
$serv->{'inet_sock'} = $inet_sock;
$serv->{'unix_sock'} = $unix_sock;
$this->{'servs'}->{$port} = $serv;
$this->{'serv_sel'}->add($inet_sock);
$this->{'serv_sel'}->add($unix_sock);
return 1;
}
sub connected
lib/Alvis/Saa.pm view on Meta::CPAN
$this->{'err'} = "Not connected";
return 0;
}
my $serv = $this->{'servs'}->{$port};
$this->{'serv_sel'}->remove($serv->{'unix_sock'});
$this->{'serv_sel'}->remove($serv->{'inet_sock'});
shutdown($serv->{'unix_sock'}, 2);
shutdown($serv->{'inet_sock'}, 2);
close($serv->{'unix_sock'});
close($serv->{'inet_sock'});
unlink("$LOCALADDR_PREFIX$port");
delete($this->{'servs'}->{$port});
return 1;
lib/Alvis/Saa.pm view on Meta::CPAN
my $serv;
my $found = 0;
for(@servs)
{
if($this->{'servs'}->{$_}->{'inet_sock'} == $conn ||
$this->{'servs'}->{$_}->{'unix_sock'} == $conn)
{
$serv = $this->{'servs'}->{$_};
$found = 1;
last;
}
view all matches for this distribution
view release on metacpan or search on metacpan
- Get rid of silly min/max language in favor of cardinality and
dependencies.
BUG FIXES:
- Fixed a problem with syncing after the Unix time rollover to 10
digits.
- Alzabo::ForeignKey->is_many_to_one always returned false.
- Alzabo::MethodMaker was interpreting foreign key cardinality
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Amazon/CloudFront/SignedURL.pm view on Meta::CPAN
The URL or stream. (required)
=item * expires
The Unix epoch time when the URL is to expire. (xor policy)
=item * policy
The CloudFront policy document. (xor expires)
view all matches for this distribution