Michael Brown > HTML-Native > HTML::Native::Attribute::ReadOnly

Download:
HTML-Native-1.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

HTML::Native::Attribute::ReadOnly - A read-only HTML element attribute

SYNOPSIS ^

    use HTML::Native::Attribute::ReadOnly;

    my $attr =
        HTML::Native::Attribute::ReadOnly->new ( [ qw ( foo bar ) ] );
    print $attr;  # prints "foo bar"
    $attr->{foo} = 0;  # dies

DESCRIPTION ^

An HTML::Native::Attribute::ReadOnly object is an HTML::Native::Attribute object that does not allow modification of its values.

See "DYNAMIC GENERATION" in HTML::Native::Attribute for further details on when and why you might want to use an HTML::Native::Attribute::ReadOnly object.

syntax highlighting: