in reply to Modification of non-creatable array
Maybe you just need to exit the endless loop somehow ?
Krambambuli
---
Otherwise, lifting the secret about which line exactly is line #94 would probably do no harm to the code's privacy ;)[...] @msg2 =$gsm->messages('SM'); last if @msg2 == 0; [...]
Krambambuli
---
In Section
Seekers of Perl Wisdom