On 11-06-21 03:52 AM, John W. Krahn wrote:
Why not just do it like this:
if ( $player_total_points >= 10 && $player_total_points <= 80 ) {
Agreed. Although Perl can switch between strings and numbers on the
fly, often it's better to treat numbers as numbers.
--
Just my 0.00000002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/