I get this error with my code
Use of uninitialized value in concatenation (.) at D:\begperl\build_de_sample.pl line 83.

Now that line is --- push @list3, "$id1\t$text\n";

After playing around with the code I know the problem is with $text, but I don't understand the problem b\c I declare $text.

Your wisdom is appreciated.
# *********** # CDS MVOCXX # *********** my ($sqlquery3, @list3); # PREPARE SQLQUERY3 CDS_MVOCXX********************************** $sqlquery3=$CDS->prepare(" SELECT distinct cds_mvocxx.id, cds_mvocxx.text FROM cds_mvocxx, ( SELECT cds_mspecxx.* FROM cds_mspecxx, ( SELECT prodid FROM cds_prod WHERE catid = 'AC')vt1 WHERE cds_mspecxx.prodid = vt1.prodid)vt2 WHERE id = vt2.hdrid or id = vt2.bodyid"); # RUN SQLQUERY3 CDS_MVOCXX*********************************** $sqlquery3->execute() || die "couldn't execute query: $DBI::errstr\n"; print "run\n"; while (( my $id1, my $text) = $sqlquery3->fetchrow_array) { push @list3, "$id1\t$text\n"; } # WRITE CDS_MVOCXX to a file*************************************** + open cds_mvocxx, "> c:/splitcat/components/mvocxx.txt" or die "i'm dyi +ng can't open log file"; print cds_mvocxx @list3; $sqlquery3 ->finish(); close cds_mvocxx;

In reply to wise ones, your help is needed by esolm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.