Arrays don't have a fixed size, but you could make an object that stores an array and enforces its size during updates. There may already be tied arrays and such available on CPAN.
Wanting a fixed-size array in the first place smells a bit odd in itself to me. What is your use case?
In reply to Re: Array bounds checking
by SuicideJunkie
in thread Array bounds checking
by davehorsfall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |