in reply to Use of uninitialized value in numeric lt (<)

Am I missing something? I don't see where $numArgs is defined. Try use strict;

g0n, backpropagated monk