RE: Question on chat message

2004-11-17 Thread Sreedhar . Kalkunte-Venkatachala
Hi Add on to my question I have defined 2 variable. Still it is sending message to both channel sub DoChat { @msg1 = @_; @msg2 = @_; GetIrcConnection($chatuser,$chatirc) or die unable to get irc connection for user $chatuser on channel $chatirc$!; SendIrc($chatchannel1,@msg1);

Re: Question on chat message

2004-11-17 Thread JupiterHost.Net
[EMAIL PROTECTED] wrote: Hi Hello, Add on to my question I have defined 2 variable. Still it is sending message to both channel use strict and warnings :) sub DoChat { @msg1 = @_; @msg2 = @_; Why 2 variables? Its the same thing? my @msg [EMAIL PROTECTED]; ... SendIrc($chatchannel1,@msg)

RE: Question on chat message

2004-11-17 Thread Sreedhar . Kalkunte-Venkatachala
To: [EMAIL PROTECTED] Subject: Re: Question on chat message [EMAIL PROTECTED] wrote: Hi Hello, Add on to my question I have defined 2 variable. Still it is sending message to both channel use strict and warnings :) sub DoChat { @msg1 = @_; @msg2 = @_; Why 2 variables? Its

Re: Question on chat message

2004-11-17 Thread JupiterHost.Net
[EMAIL PROTECTED] wrote: Hi Hi, please don;'t top post :) The reasoned I am using 2 message because both message are different. Both can be printed same time. Assigning @_ to each wasn't different... can we use some thing like this @msg1=$msg1; @msg2=$msg2; That would give you an array with