I'm currently working on a project that requires me to list the contents of the "All Programs" folder (and preferably the rest of the start menu, but that's not necessary). I was wondering if there was a nice API to do this (I know there isn't one to edit it, but that's not important to me)...
Hi,
I'm writing a modular program (mainly as an experiment) and I would like some advice on passing the configuration of the program. What I would like is to be able to use a configuration file (preferably xml) to hold all the core configuration, aswell as different lumps of configuration that...
I'm writing an IRC client library in c# using the Aynchronous Socket model in .NET. I am currently at a problem where, when recieving data from the socket, the program simply fills its buffer (a byte[256]) with data from the socket and hands it to me. The problem is that this array could contain...
Hi,
I have my configuration loaded into a hash called %config, I want to check that hash for the presence of certain mandatory values. It is currently a hash of two hashes, I want to make another temporary hash of two hashes with some default values in it and then loop through each value of the...
Ok, so I want to load an ini file as the config of my script. I want to use the tie() method so that I can access it as if it were a normal hash array (called %config). If I want to check the contents of the ini file for sanity of the data in the inifile (existance of compulsory settings, etc)...
Hi,
I'm frustrated at the moment because my IRC bot has stopped functioning and I don't know why. I made allot of changes without testing it and I don't know what went wrong... It gives me an error saying:
getservbyname error 99: Cannot assign requested address
I tested a simple POE irc bot...
ok, I am doing a web based admin system for a little project I am working on. To see what I could do as a start I decided to start on reading the iptables rules and formatting them nicely on the page - just to start. I hit a rather large road block though, I need root permissions. I am using the...
Hi,
In windows, the $0 variable returns the FULL path to my perl script, but in linux it is giving me a relative path - not useful to me at the moment. as soon as I chdir() to another directory (eg "/"), the relative path is no longer useful to me and $0 still contains the path relative to...
ok, so if I have a perl script in a directory (eg "C:\perlscripts\")and I go to that directory and run it then "./config.conf" in the script will refer to the file "config.conf" in the same directory as the script ("C:\perlscripts\config.conf"), but if I am in a different directory (eg "C:\")...
ok I have the following subroutine in one of my programs, all it does is read a file and check various things then load it as a config. The subroutine isn't finished yet but this part of the syntax should be fine :-/
I have highlighted the parts that perl says are wrong in red and I've put the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.