Thanks for trying to help. I really appreciate it! re:(a) a new window appear, display some program output (possibly too quickly to read), then disappear; or (b) the window containing the initial command prompt disappear as soon as the program finishes? Both a and b. That is what is so frustrating. Well, that and my brain doesn't think in code. Yes, sometimes it disappears as soon as the program finishes and sometimes nothing happens when I hit enter, no error, it just has the path that I typed. Other times it runs and tells me what lines have errors. Re: your suggestion. I'm only 2 days into this class so I'm not sure what you mean. Here is my code and yes I know there are errors but won't be able to find them until I can run it. Can you add what you were telling me to do so I can try it? #Noel use strict; my $numone; my $numtwo; print "Please enter first number "; $numone=<STDIN>; print "Please enter second number "; $numtwo=<STDIN>; if ($numone < $numtwo); { print $numone; print $numtwo; } elsif { print $numtwo; print $numone; }

In reply to Re^2: Newbie cmd prompt problem by nquiton
in thread Newbie cmd prompt problem by nquiton

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.