Hello, i'm new here (and to Perl), and this is my question: I want to get a variable directly from an on-running UNIX daemon on my system. How do I do that?
Buy or borrow a copy of The Perl Cookbook. The Cookbook has recipes for writing simple network clients and servers, one of which you could adapt for your purposes.