http://www.perlmonks.org?node_id=1188540


in reply to Re^12: global var
in thread global var

When you accessed the script with the browser, what errors did you get in the Error Log in cPanel as shown here Error Log

poj