Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Modification of non-creatable array

by Krambambuli (Deacon)
on May 20, 2010 at 11:57 UTC ( #840905=note: print w/ replies, xml ) Need Help??


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
---


Comment on Re: Modification of non-creatable array
Download Code
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
      ---

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://840905]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2015-07-31 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls