jason corbett <[EMAIL PROTECTED]> wrote:

: I would like to know why this warning is coming back:
:
: Use of uninitialized value in join or string at  line 65.

    There is an undefined value in @record.

 print join ',', 1, 2, undef, 4;

 

    You can test for this with Dumper() from the Data::Dumper
module. Look for a value of "undef" (without the quotes).

    If you find an undefined value, adjust your query to
eliminate it or change undefined values in @record to
something else.


use Data::Dumper 'Dumper';

        .
        .
        .

    print Dumper [EMAIL PROTECTED];
    next;
    my $record_list = join ',', @record;


    This is called debugging. You might also read up on
the various debugging tools that come with perl. Get used
to these things. Debugging is as much a part of
programming as problem solving.


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to