in reply to Random Numbers?

}elsif($wizard<=0){ &die; }
You might want to use a different function name, since die() is already a Perl builtin. Unless you really meant to call Perl's die().

You also have $dmg and $damage variables. Are they supposed to be different?

Update: Thanks, [id://Animator]. Spending time here in PM is great for clearing up my little "pockets of ignorance".

Replies are listed 'Best First'.
Re^2: Random Numbers?
by Animator (Hermit) on May 10, 2005 at 20:55 UTC
    You cannot prefix a perl-built-in function with an ampersand. All functions prefixed by an ampersand are user-defined functions... which means he isn't calling Perl's die()