I think *a=*[;$a=5;print $a,$/; is in the same ballpark as perl -wle 'eval q!$[ = 5!; print $[', which also prints 0. After compiling, $[ is read-only, but, as a best effort, Perl ignores an assignment to $[ instead of dying.
Abigail
In reply to Re: *a=*[; bug?
by Abigail-II
in thread *a=*[; bug?
by ambrus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |