List Info

Thread: Re: Warning messages




Re: Warning messages
country flaguser name
United States
2007-05-10 08:13:01

>> Use of uninitialized value in numeric gt (>)

For example:
<code&gt;
my $oper1; # not initialized
my $oper2 = 10;
print "blahn" if $oper1 > $oper2; # using $oper1 without a value
&lt;code>

>&gt; Use of uninitialized value in concatenation (.) or string
For example:
<code&gt;
my $str1; # not initialized
my $str2 = "Perl";
print $str1 . $str2; # using $str1 without a value
&lt;code>

HTH.

On 5/10/07, Mirza Abdullah Jan < jan576pk%40yahoo.com">jan576pkyahoo.com> wrote:
&gt;
> Hi All,
>;
> Why these warning messages appears, what is the reason? How we can cater
&gt; this?
&gt;
> Use of uninitialized value in numeric gt (>)
&gt;
> Use of uninitialized value in concatenation (.) or string
&gt;
> Regards
> Abdullah
>
>; ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
&gt; Check outnew cars at Yahoo! Autos.
&gt;
> [Non-text portions of this message have been removed]
>
>;
>

--
Thiago Nascimento
perl -e '$_="tMM naaCt Feocmama_itpUilucoGa";$_.=$1,print $2 while
s/(..)(.)//;print substr$_,1,1;'
&quot;...just because I don't know the meaning of my art, does not mean it has no
meaning..." S.D.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )