3 ms·
As just another Perl hacker, your "not real Perl" made me laugh. And no, let me reassure you that that snippet of line-noise is not, in fact, syntactically val
by Qcombinator 7y ago
As just another Perl hacker, your "not real Perl" made me laugh. And no, let me reassure you that that snippet of line-noise is not, in fact, syntactically valid Perl after all.
...you have to transpose a couple of characters for that:
cat nocarrier.pl
!$#foo->_%[]
perl -c nocarrier.pl
nocarrier.pl syntax OK
(And yes, that genuinely does make me love Perl a tiny bit more. I guess you and I are just different that way, and that's OK.)
- Ultimatt 7y ago$ perl6 -e '!$#foo->_%[]' ===SORRY!=== Error while compiling -e Unsupported use of $#foo variable; in Perl 6 please use @foo.end at -e:1 ------> !$#foo⏏->_%[]