#!usr/bin/perl
$abc=1000
until ($abc==0) { print "Counting down to 0 from $a\n"; $a--; } print "Blast off!";
MINE:
#!usr/bin/perl use strict; use warnings;
my $abc = 1000;
until ($abc == 0) { print "Counting down to 0 from $abc\n"; $abc--; } print "Blast off!";
hint #1: Watch out for missing semi-colons! hint #2: perldoc -f my (done from a command prompt)
If you are just starting out getting to know perldoc is a wonderful idea. Also "use strict" and "use warnings". 98.2753% of the time they will help your coding. : )
HTH
Robert
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>