http://qs321.pair.com?node_id=207631


in reply to Defining Subroutines

Watch out for that comparison you do!
$a = $b; # assigns the value of $b to $a $a == $b; # compares the two numerically
Note that your code won't fail compiling (aside from the already answered sub issues ;-)) but it won't do what you expect it would.

janx