You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, the closest Raku semantic cousin to Perl's __DATA__ marker is =finish. As per the REPL:
> __DATA__
===SORRY!=== Error while compiling:
Unsupported use of __DATA__ as start of data. In Raku please use: the
=finish pod marker and $=finish to read.
------> __DATA__⏏<EOL>
When I type __DATA__ in a *.pl file I'm editing in emacs, the item is recognized and the color and behavior of the text following it is identical to that of a multi-line comment (no special indentation, recognized keywords, etc.).
I think it would be helpful to have something analogous in raku-mode whenever =finish is encountered. Currently, it doesn't have much of an effect at all: indentation stays in place, keywords that I might place accidentally in the $=finish text are still colorized, etc.
Would this make for a good enhancement of the mode?
The text was updated successfully, but these errors were encountered:
As far as I can tell, the closest
Raku
semantic cousin toPerl
's __DATA__ marker is=finish
. As per theREPL
:When I type
__DATA__
in a*.pl
file I'm editing inemacs
, the item is recognized and the color and behavior of the text following it is identical to that of a multi-line comment (no special indentation, recognized keywords, etc.).I think it would be helpful to have something analogous in
raku-mode
whenever=finish
is encountered. Currently, it doesn't have much of an effect at all: indentation stays in place, keywords that I might place accidentally in the$=finish
text are still colorized, etc.Would this make for a good enhancement of the mode?
The text was updated successfully, but these errors were encountered: