$ua is not what you think. It is undefined, probably because the code above lacks error checks. See Basic debugging checklist.
Alexander
In reply to Re^3: Question regarding perl subroutine
by afoken
in thread Question regarding perl subroutine
by sureshsmr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |