2 ms·
You also don't need quotes around strings (barewords). So my $bar = x; should give the same result. Good luck with lexing that properly. https://perlmav
by weinzierl 2y ago
You also don't need quotes around strings (barewords). So
my $bar = x;
should give the same result.
Good luck with lexing that properly.
https://perlmaven.com/barewords-in-perl https://perlmaven.com/barewords-in-perl
- shawn_w 2y agoIf you're writing anything approaching decent perl that won't be accepted.
- emmelaich 2y ago"use strict" will prevent it and I think strict will be assumed/default soon.
- JadeNB 2y agoAs of Perl 5.12, `use`ing a version (necessary to ensure availability of some of the newer features) automatically implies `use strict`. https://perldoc.perl.org/strict#HISTORY https://perldoc.perl.org/strict#HISTORY
- weinzierl 2y agoDoesn't really matter for a syntax highlighter, because it is out of your control what you get. For the llamafile highlighter even more so since it supports other legacy quirks, like C trigraphs as well.