The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 1.0002

SYNOPSIS

    use Statistics::R::REXP;
    
    my $null = Statistics::R::REXP::Null->new();
    say $rexp->is_null;
    print $rexp->to_pl;

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

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

ACCESSORS

sexptype

SEXPTYPE of null objects is NILSXP.

to_pl

The Perl value of NULL is undef.

attributes

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

BUGS AND LIMITATIONS

Classes in the REXP hierarchy are intended to be immutable. Please do not try to change their value or attributes.

There are no known bugs in this module. Please see Statistics::R::IO for bug reporting.

SUPPORT

See Statistics::R::IO for support and contact information.

AUTHOR

Davor Cubranic <cubranic@stat.ubc.ca>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by University of British Columbia.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007