It's tough to figure out what you're trying to accomplish, since the "i"
modifier on the regex doesn't make any sense, but if you want the "g"
modifier to cause repeated passes on the string, then you need to place the
regex in its own loop.
Something like this:
while ()
{
print WRITE "'
Resource Kit, then you can use the SC command line
utility:
sc \\foo query bufsize= 5000
Gary
-Original Message-
From: Veeraraju_Mareddi [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 2:02 AM
To: 'Gary MacDonald'
Cc: '[EMAIL PROTECTED]'; '[EMAIL
The server name should be preceded with \\. However, in a Perl string the
backslashes must be doubled. That is, "hotnt006".
The service name should be the short name rather than the usually longer
descriptive name. Counter-intuitively, for the service you are querying,
"Server" is the desc