in reply to Re^2: A philosophical pondering concerning hexes
in thread A philosophical pondering concerning hexes
If you think that oct 108 should be undefined, and not 8, do you also think that $x = "10 dogs" + "5 chickens" should result in $x being undefined, and not 15? What about
Should that print "Its square is 0.", after issueing a warning?print "Please enter a number: "; my $num = <>; printf "Its square is %d.\n" => $num * $num if $num =~ /^\d+$/;
Abigail
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A philosophical pondering concerning hexes
by diotalevi (Canon) on Jun 25, 2004 at 19:26 UTC |