HTML::Native::Attribute::ReadOnly - A read-only HTML element attribute
use HTML::Native::Attribute::ReadOnly; my $attr = HTML::Native::Attribute::ReadOnly->new ( [ qw ( foo bar ) ] ); print $attr; # prints "foo bar" $attr->{foo} = 0; # dies
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.
To install HTML::Native, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Native
CPAN shell
perl -MCPAN -e shell install HTML::Native
For more information on module installation, please visit the detailed CPAN module installation guide.