Name
SPVM::BlessedObject::String - String based blessed object
DESCRIPTION
SPVM::BlessedObject::String is array based blessed object.
This object contains SPVM array object.
Usage
# Convert to Perl decoded String
my $string = $spvm_string->to_string;
Methods
to_string
my $string = $spvm_string->to_string;
Return the string as Perl decoded String. If the docoding fails, an exception will thrown.
to_bin
my $string = $spvm_string->to_bin;
Return the string value as bytes.
Operators
SPVM::BlessedObject::String overloads the following operators.
bool
my $bool = !!$url;
Always true.
stringify
my $str = "$url";
Alias for "to_string".