http://www.perlmonks.org?node_id=840905


in reply to Modification of non-creatable array

Maybe you just need to exit the endless loop somehow ?

[...] @msg2 =$gsm->messages('SM'); last if @msg2 == 0; [...]
Otherwise, lifting the secret about which line exactly is line #94 would probably do no harm to the code's privacy ;)


Krambambuli
---

Replies are listed 'Best First'.
Re^2: Modification of non-creatable array
by Anonymous Monk on May 20, 2010 at 12:19 UTC

    Thank's Krambambuli it's work.

    line #94 : # get the number of the last sender my $dernier_num = $msg2[$#msg2]->sender();

    it was just just for not being long :) !

    ps: i have another question about the same code should i creat new thread or continue in the same ?
        ps: i have another question about the same code should i creat new thread or continue in the same ?

      Well, hold on for a minute; think about what a good title for the problem would be and then decide accordingly. If the current title fits the problem, stay in the thread; if not, not.


      Krambambuli
      ---