},
'IPC::SysV' => {
- 'DISTRIBUTION' => 'MHX/IPC-SysV-2.08.tar.gz',
+ 'DISTRIBUTION' => 'MHX/IPC-SysV-2.09.tar.gz',
'FILES' => q[cpan/IPC-SysV],
'EXCLUDED' => [
qw( const-c.inc
+ perl5\100tux.freedom.nl
mhx mhx-perl\100gmx.net
+ mhx\100r2d2.(none)
++ mhx\100cpan.org
mst mst\100shadowcat.co.uk
+ matthewt\100hercule.scsys.co.uk
nicholas nick\100ccl4.org
char *caddr = (char *) sv2addr(addr);
STRLEN len;
const char *src = SvPV_const(sv, len);
- int n = ((int) len > size) ? size : (int) len;
+ unsigned int n = ((unsigned int) len > size) ? size : (unsigned int) len;
Copy(src, caddr + pos, n, char);
if (n < size)
{
use vars qw($VERSION);
use Carp;
-$VERSION = '2.08';
+$VERSION = '2.09';
# Figure out if we have support for native sized types
my $N = do { my $foo = eval { pack "L!", 0 }; $@ ? '' : '!' };
}
sub new {
- @_ == 3 || croak 'new IPC::Msg ( KEY , FLAGS )';
+ @_ == 3 || croak 'IPC::Msg->new( KEY , FLAGS )';
my $class = shift;
my $id = msgget($_[0],$_[1]);
use vars qw($VERSION);
use Carp;
-$VERSION = '2.08';
+$VERSION = '2.09';
# Figure out if we have support for native sized types
my $N = do { my $foo = eval { pack "L!", 0 }; $@ ? '' : '!' };
}
sub new {
- @_ == 4 || croak 'new ' . __PACKAGE__ . '( KEY, NSEMS, FLAGS )';
+ @_ == 4 || croak __PACKAGE__ . '->new( KEY, NSEMS, FLAGS )';
my $class = shift;
my $id = semget($_[0],$_[1],$_[2]);
use vars qw($VERSION);
use Carp;
-$VERSION = '2.08';
+$VERSION = '2.09';
# Figure out if we have support for native sized types
my $N = do { my $foo = eval { pack "L!", 0 }; $@ ? '' : '!' };
require Exporter;
@ISA = qw(Exporter);
-$VERSION = '2.08';
+$VERSION = '2.09';
# To support new constants, just add them to @EXPORT_OK
# and the C/XS code will be generated automagically.
our %Config;
BEGIN {
- require Test::More; import Test::More;
- require Config; import Config;
+ require Test::More; Test::More->import;
+ require Config; Config->import;
if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
plan(skip_all => 'IPC::SysV was not built');
@INC = '../lib' if -d '../lib' && -d '../ext';
}
- require Test::More; import Test::More;
- require Config; import Config;
+ require Test::More; Test::More->import;
+ require Config; Config->import;
if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
plan(skip_all => 'IPC::SysV was not built');
return $code->();
}
return $code->();
-}->(sub { new IPC::Msg(IPC_PRIVATE, S_IRWXU | S_IRWXG | S_IRWXO) });
+}->(sub { IPC::Msg->new(IPC_PRIVATE, S_IRWXU | S_IRWXG | S_IRWXO) });
unless (defined $msq) {
my $info = "IPC::Msg->new failed: $!";
@INC = '../lib' if -d '../lib' && -d '../ext';
}
- require Test::More; import Test::More;
- require Config; import Config;
+ require Test::More; Test::More->import;
+ require Config; Config->import;
if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
plan(skip_all => 'IPC::SysV was not built');
require Test::Pod;
$Test::Pod::VERSION >= 0.95
or die "Test::Pod version only $Test::Pod::VERSION";
- import Test::Pod tests => scalar @pods;
+ Test::Pod->import( tests => scalar @pods );
};
if ($@) {
require Test::More;
- import Test::More skip_all => "testing pod requires Test::Pod";
+ Test::More->import( skip_all => "testing pod requires Test::Pod" );
}
else {
for my $pod (@pods) {
@INC = '../lib' if -d '../lib' && -d '../ext';
}
- require Test::More; import Test::More;
- require Config; import Config;
+ require Test::More; Test::More->import;
+ require Config; Config->import;
if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
plan(skip_all => 'IPC::SysV was not built');
@INC = '../lib' if -d '../lib' && -d '../ext';
}
- require Test::More; import Test::More;
- require Config; import Config;
+ require Test::More; Test::More->import;
+ require Config; Config->import;
if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
plan(skip_all => 'IPC::SysV was not built');
@INC = '../lib' if -d '../lib' && -d '../ext';
}
- require Test::More; import Test::More;
- require Config; import Config;
+ require Test::More; Test::More->import;
+ require Config; Config->import;
if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
plan(skip_all => 'IPC::SysV was not built');