What editor do you use? I had the same problem with Vim, where it would comment the rest of the line after $#array. I fixed it by changing the perlComment definition to this:
which only matches a # not preceded by a $."$\@<!#.*"
kelan
Perl6 Grammar Student
In reply to Re: Re: Whats your favorite nonstandard regex quote char?
by kelan
in thread Whats your favorite nonstandard regex quote char?
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |