<br><br><div class="gmail_quote">On Dec 5, 2007 11:05 AM, Radu State &lt;<a href="mailto:State@loria.fr">State@loria.fr</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="FR"><div>

















<font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB"># Humberto J.
Abdelnur (Ph.D Student) #</span></font>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB"># Radu State
(Ph.D) #</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB"># Olivier Festor
(Ph.D) #</span></font></p></div></div></blockquote><div>lol......<br><br>&quot;wow&quot; is all i can say to this..<br>
<br>
let me enlighten you on the basics of Perl<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="FR">
<div><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB"></span></font><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB"></span></font><font face="Courier New" size="2">
<span style="font-size: 10pt;" lang="EN-GB">$text = &#39;&#39;;</span></font></div></div></blockquote><div><br><a href="http://perldoc.perl.org/functions/my.html">http://perldoc.perl.org/functions/my.html</a><br><br>if you understood&nbsp; perl you would see that this line shows your complete lack of ability as $text could be declared as its used in the loop 
<br><br>to demonstrate such amazing techniques such as declaring variables properly i will demonstrate this code<br><br>die ($!) unless open&nbsp; my $file,&#39;&lt;&#39;,&quot;/etc/passwd&quot;;<br>my @b = &lt;$file&gt;;<br><br>
while(my $a = shift @b){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print $a;<br>}<br><br>notice the &quot;my $a&quot; ... please take a few minutes to reflect on&nbsp; this code as your fragile phd minds can only handle so much but soon it will come to you<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="FR"><div><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">
</span></font>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">while (not $text
=~ /^SIP\/2.0 100(.\r\n)*/ ){</span></font></p></div></div></blockquote><div>from perlretut ( <a href="http://perldoc.perl.org/perlretut.html">http://perldoc.perl.org/perlretut.html</a> ) <br></div><div><p>&quot;The sense of the match can be reversed by using 
<code class="inline">!~</code>
 operator:</p>

<pre class="verbatim">    <a class="l_k" href="http://perldoc.perl.org/functions/print.html">print</a> <span class="q">&quot;It doesn&#39;t match\n&quot;</span> if <span class="q">&quot;Hello World&quot;</span> !~ <span class="q">
/World/</span><span class="sc">;&quot;<br><br></span></pre>
Understanding that you do not know how to code i will make it easier for you:<br><br>&nbsp;&quot;<font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">while ($text !~ /^SIP\/2.0 100(.\r\n)*/ ){&quot;</span>
</font><br></div></div>