--As of Tuesday, February 17, 2004 5:28 PM -0500, Joel is alleged to have said:

I fixed the source code with the suggestions given, but still no luck. Any
other ideas?

Joel
-------------------------------------------
# !usr/bin/perl

$abc=1000

Still need a semicolon... (and a 'my', for preference.)


until ($abc==0)
{
print "Counting down to 0 from $a\n";
$a--;

Don't you mean $abc instead of $a in the two lines above?


}
print "Blast off!";

With those fixed it runs as intended.


Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

--
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