muntfish and Solo both make excellent points. To add to what Solo said re: daemonizing your script. It is important to note that once the DATA handle is read, it cannot (easily) be re-read (seeking to the beginging of the file puts you at the top of your source, not the top of the DATA handle). So if you were to convert it to a daemon, you would need to watch out for this. But then if you daemonize it, you would be better off with an external config anyway, that way it your config can change without restarting your daemon.
In reply to Re: DATA versus config file
by stvn
in thread DATA versus config file
by nimdokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |