in reply to Defining Subroutines
Watch out for that comparison you do!
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.$a = $b; # assigns the value of $b to $a $a == $b; # compares the two numerically
janx
In Section
Seekers of Perl Wisdom