Combined from primary sources listed below.
See primary docmentation in context for method Str.
See primary docmentation in context for method Str.
put $block; # bar
Returns the string for the paragraphs of the block, with any markup also stringified.
See primary docmentation in context for method Str.
method Str(IO::CatHandle:D: --> Str:D)
Calls .Str on the currently active source handle and returns the result. If the source handle queue has been exhausted, returns an implementation-defined string ('<closed IO::CatHandle>' in Rakudo).
See primary docmentation in context for method Str.
put $markup; # B<and>
Returns the string for the markup object, with any embedded markup also stringified.
See primary docmentation in context for method Str.
put $paragraph; # Text before B<and> after markup
Returns the string for the paragraph, with any markup stringified.
See primary docmentation in context for method Str.
method Str(IO::Special:D:)
This returns '<STDIN>', '<STDOUT>', or '<STDERR>' as appropriate.
See primary docmentation in context for method Str.
method Str(IO::Path:D: --> Str)
Alias for IO::Path.path. In particular, note that default stringification of an IO::Path does NOT use the value of $.CWD attribute. To stringify while retaining full path information use .absolute or .relative methods.