thank you
I changed the script like you said. Looks better,
but i still get the errors. the mail que has
one mail in it and here is the out put of the script...

root ns2 perl_scratch--->./mail.pl
Linux ns2.taproot.bz 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown
8:46pm up 33 min, 4 users, load average: 0.00, 0.00, 0.00
Sat Jan 11 20:46:21 MST 2003
Use of uninitialized value in string at ./mail.pl line 15.
Use of uninitialized value in string at ./mail.pl line 15.
Use of uninitialized value in string at ./mail.pl line 15.

as i mentioned before i belive the problem is
line 15 trying to call vars from @array that dont exist.
Im just not sure on how to fix it. Or if my logic to start
with is sound.

Thanks for the tip,
jd

In reply to Re: Re: Newbie Question - arrays by mohadib_the_nasty
in thread Newbie Question - arrays by mohadib_the_nasty

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.