in reply to Re^2: Question regarding perl subroutine
in thread Question regarding perl subroutine

$ua is not what you think. It is undefined, probably because the code above lacks error checks. See Basic debugging checklist.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)