Figured it out, this is what I ended up with. Seems to work:
@svr = split '', $server;
my $arrlen = @svr;
@filter="/";
my $lower;
my $upper;
#my $upper=uc($server);
for ( $i = 0; $i < $arrlen; $i++) {
if ( @svr[$i] == /[0-9]/ ) {
push @filter,'[';
$upper=uc(@svr[$i])...
I need to create a regular expression that I can pass to another program (outside of the perl script ) using the format listed above. I need a regex is case insensitive, so I would match svr123, Svr123, SVR123, sVr123,etc. So it needs to read in the string and create a new string...
Not a Perl Expert. I'm trying to take a string and convert to a regular expression: for example: svr123
convert to /(s|S)(v|V)(R|r)123/
I would need to convert the string into an array and create a new string with the upper and lower case character to create a regular expression to use in...
I'm running a simple script that prompts for a servername, then passes that server into a perl script. It does not bomb, but the perl script is not run. I plan to add error checking later, but for now I'd just like to get this running. The perl scrip runs without issue from the commandline...
Thanks for all your help! Appreciate you sticking with me on this, it's working as I had hoped and I have a much better understanding of the process now. Happy Holidays.
That runs the script, thank you. One last thing. I'm going to call the asp with a parameter. How do I reference that in the script? Here would be the call to the asp: http://server:81/script.asp?nimid=ID
Thanks.
The pu.exe runs on the same server that the asp runs on. The pu.exe is purely commanline and I pass the authentication to run the command, so no special Win permissions are needed. I will need to prompt the user on the client side for one aurgument..so in the end I a passing two parameters..one...
Yes, the second scenario... I need to have multiple Clients pass an argument from their browser to run the same script on the host server. I'm assuming this will require the RUNAT="server" entry, but I'm unsure ofthe correct syntax. Thank you for your help.
I have a simple VBScript that takes one parameter when called and then prompts the user to enter a second parameter to then call an exe. I need users to be able to run this exe on one server, so it's my understanding an option is to use ASP. How would I call this vbs in an ASP script? I...
rootvg running on AIX 5.2 ML 2 is corrupt?
The server has two HD's mirrored, one has failed.
Below are some of the symptoms,
lsvg -p rootvg
0516-040 : Unable to read the specified physical volume
descriptor area.
lspv -l hdisk0
0516-040 : Unable to read the specified physical volume...
I have some remote servers running AIX 5.2 ML 2. They do not currently have the DST patch. If the servers are connected to a Network Time server, is there an issue with DST? Java? If I need to apply the patch, is there an easy way to apply a bare-bones update? I have the 'patch' from IBM...
I have rootvg mirrored on two HD's. If I have to replace one of the drives, will a bosboot -a wrote the boot record to both HD's or do I have to bosboot -ad to the new drive? Does the bosboot -a write the boot record with any drive containing hd5?
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.