The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Object::Base::Undef

ABSTRACT

Data-Object Abstract Undef Class

SYNOPSIS

  package My::Undef;

  use parent 'Data::Object::Base::Undef';

  my $undef = My::Undef->new(undef);

DESCRIPTION

Data::Object::Base::Undef provides routines for operating on Perl 5 undefined data.

METHODS

This package implements the following methods.

new

  new(Undef $arg1) : Object

The new method expects an undefined value and returns a new class instance.

new example
  # given undef

  package My::Undef;

  use parent 'Data::Object::Base::Undef';

  my $undef = My::Undef->new(undef);