in reply to Re: Are there any sub-languages or subsets of perl?
in thread Are there any sub-languages or subsets of perl?

WOW, those are interesting! I looked at each link you've mentioned. So, in Perl, even the try catch scheme is done by a filter, it seems. So, the language itself is very versatile. That's very interesting, because I don't know any other programming language that can be molded or shaped like Perl. I can imagine that it can be a pretty difficult task to write an editor that does syntax highlighting for perl code, because there can be so many variations. LOL https://metacpan.org/pod/TryCatch
  • Comment on Re^2: Are there any sub-languages or subsets of perl?

Replies are listed 'Best First'.
Re^3: Are there any sub-languages or subsets of perl?
by choroba (Cardinal) on Feb 08, 2019 at 14:43 UTC
    > even the try catch scheme is done by a filter

    I don't see how "without source filters" can make you think so. Also, there's no "the" try catch scheme, following the TIMTOWTDI principle, there are many of them, see e.g. How fast can you try?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re^3: Are there any sub-languages or subsets of perl?
by tobyink (Canon) on Feb 08, 2019 at 14:52 UTC

    It's pretty much impossible to write a 100% accurate syntax highlighter for Perl anyway.