in reply to Difference between exists and defined

The internal implementation of arrays is very space efficient.

All used slots point to values (scalar, constant ...), but unused slots don't demand much space or even no space.

There are only little use cases where using exists on arrays can be of help.

You don't want to meddle with such internals.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice