Text::Xslate::Type::Raw - The raw string representation
Contents
Description
This class represents raw strings so that Xslate does not escape them.
Note that you cannot extend this class.
Methods
new
create a new instance
as_string
this method is overload to string.
print Text::Xslate::Type::Raw->new('raw_string')->as_string
print Text::Xslate::Type::Raw->new('raw_string') # the same, because of overload
perl v5.40.0 2024-10-20 Text::Xslate::Type::Raw(3pm)
Name
Text::Xslate::Type::Raw - The raw string representation
