Get the message which is at the indicated location in the list of
messages contained in this folder. Deleted messages will be returned
as undef
.
print $inbox[3]; # 4th message in the folder print @inbox[3,0]; # 4th and first of the folder print $inbox[-1]; # last message
Random message replacement is not permitted --doing so would disturb threads etc. An error occurs if you try to do this. The only thing which is allowed is to store a message at the first free index at the end of the folder (which is also achievable with PUSH()).
$inbox[8] = $add; $inbox[-1] = $add; push @inbox, $add;
Sets all messages behind from LENGTH to the end of folder to be deleted.