Is there any list of built-ins treated as named unary operators?
Out of curiosity I tried looking for myself:
use B::Keywords qw/@Barewords @Functions/; use Pod::Functions '%Type'; # overkill my %all = (%Type, map {$_=>1} @Barewords, @Functions); for my $f (sort keys %all) { my $p = eval { prototype("CORE::$f") }; $p = defined $p ? "($p)" : ''; print "$f $p\n"; }
In reply to Re: Perl precedence details
by Anonymous Monk
in thread Perl precedence details
by hurricup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |