in reply to Handle SIGHUP with AnyEvent

Please post your real code.
String found where operator expected at 921850.pl line 9, near "echo " +Got SIGHUP, reloading..."" (Do you need to predeclare echo?) syntax error at 921850.pl line 9, near "echo "Got SIGHUP, reloading... +"" Global symbol "$done" requires explicit package name at 921850.pl line + 12. Execution of 921850.pl aborted due to compilation errors.