DWH_File::Value::Undef - DWH_File::Value::Undef documentation


DWH_File documentation Contained in the DWH_File distribution.

Index


Code Index:

NAME

Top

DWH_File::Value::Undef -

SYNOPSIS

Top

DWH_File::Value::Undef is part of the DWH_File distribution. For user-oriented documentation, see DWH_File documentation (perldoc DWH_File).

DESCRIPTION

Top

COPYRIGHT

Top

AUTHORS

Top

    Jakob Schmidt <schmidt@orqwood.dk>


DWH_File documentation Contained in the DWH_File distribution.

package DWH_File::Value::Undef;

use warnings;
use strict;
use vars qw( @ISA $VERSION );
use overload
    '""' => \&store_string,
    fallback => 1;

@ISA = qw( DWH_File::Value );
$VERSION = 0.01;

sub new {
    my ( $this ) = @_;
    my $class = ref $this || $this;
    my $none = '';
    my $self = \$none;
    bless $self, $class;
    return $self;
}

sub from_input {
    my ( $this ) = @_;
    return $this->new;
}

sub from_stored {
    my ( $this ) = @_;
    return $this->new;
}

sub store_string { '%' }

sub actual_value { undef }

1;

__END__

CVS-log (non-pod)

    $Log: Undef.pm,v $
    Revision 1.1.1.1  2002/09/27 22:41:49  schmidt
    Imported