FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Perl/ Perl 6 Operators

Open felipeluna opened this issue 9 years ago • 2 comments

Hello, I noticed that perl have the $_ and @_ symbols, both can be accessed like this $_[0] and @_[0]. Can we have $_, $_[, @_, @_[ ligatures? I know that exists the #_ for clojure.

Also, perl 6 has a lot of operators, https://docs.perl6.org/language/operators and https://docs.perl6.org/language/variables I think it would be nice if some of them were in ligature form, but i don't know if it is possible since a lot have letters . I don't know the language, so I can't help decide if they would be useful or not.

Thanks

felipeluna avatar Aug 25 '17 14:08 felipeluna

I’ll think about it, thanks

tonsky avatar Aug 25 '17 20:08 tonsky

Another good one would be $$ which is used when accessing and dereferencing an element of a hash reference, something that's done quite often in the average Perl script. The regex operators =~ and !~ are also used very commonly, if not more than $$

marlencrabapple avatar Nov 30 '17 06:11 marlencrabapple