NAME

Rserve::REXP::Null - the R null object

SYNOPSIS

use Rserve::REXP;

my $null = Rserve::REXP::Null->new;
say $rexp->is_null;
print $rexp->to_perl;

DESCRIPTION

An object of this class represents the null R object (NILSXP). The null object does not have a value or attributes, and trying to set them will cause an exception.

METHODS

Rserve::REXP::Null inherits from Rserve::REXP and adds no methods of its own.

ACCESSORS

sexptype

SEXPTYPE of null objects is NILSXP.

to_perl

The Perl value of NULL is undef.

attributes

Null objects have no attributes, so the attributes accessor always returns undef.