List Info

Thread: Re: Warning messages




Re: Warning messages
country flaguser name
United States
2007-05-10 08:16:18

>>&gt;>> "Mirza" == Mirza Abdullah Jan < jan576pk%40yahoo.com">jan576pkyahoo.com> writes:

Mirza>; Why these warning messages appears, what is the reason? How we can cater this?

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

My guess is that you have undef on one side or another of >.

Mirza> Use of uninitialized value in concatenation (.) or string

Again, just guessing, but I bet you have undef on one side or another
of a concatenation, or an interpolation "foo $x bar".

You'll need to show a minimal code snippet that demonstrates these errors to
get more help.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<; merlyn%40stonehenge.com">merlynstonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

__._,_.___
.

__,_._,___
return file handger
country flaguser name
United States
2007-05-10 13:39:56

Hi,

I want to write a subroutine for openfile (see below).
However, the subroutine failed to be returned to
$fhandle. Can anybody tells me why?

yao

----------------------------------------------
$fhandle = openfile(&quot;test.txt");

sub openfile{
$fname = $_[0];
open(filehandler, $fname) || die "Couldn't open the
file.n";

return (*filehandler);
}
-----------------------------------------------

__________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265

__._,_.___
.

__,_._,___
[1-2]

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