At 16:02 05.07.2001 -0500, Humberto Varela wrote:
>you have an error in your syntax:
>
>
> >print STDOUT "The result you ignorant fool is: $result\n";
>
>should be:
>
>print STDOUT "The result, you ignorant fool, is: $result\n";
>
>commas help emphasize that "pause" in the print statement.
>
>: )

or how about a real dramatic pause?

use strict;

my ($number,$mult,$result);


print "Enter a number:  ";
chomp($number = <STDIN>);
print "Enter a multiplier:  ";
chomp($mult = <STDIN>);
$result = $number * $mult;
print "The result,";
sleep(2);
print " you ignorant fool,";
sleep(2);
print " is: $result\n";

Aaron Craig
Programming
iSoftitler.com

Reply via email to