Hello,
I know the subject seems really simple, maybe it is simple :)
I am trying compare two variables, both of these variables are FILEHANDLE variables, they contain apache config files. I know I can use file compare to compare these, but I was wondering if I can just compare config files...
Hello,
I am using following rewrite rule:
RewriteRule ^(domain)/?([a-zA-Z0-9_]*/?$ /new.php?state=$1&kwt=%3 [nc,L]
this is working perfect, if somebody visits /DoMain it redirects to /new.php?state=DoMain( not case sensitive ) I would like to know if there is a way to make redirect url...
I am having trouble returning multiple arrays from sub. I am returning arrays like this: return (@allhosts,@allips); and calling sub like this:
my (@data , @allips) = getfarmdetails($farmid,$name);
However it seems that first array has everything, am I not doing this right ?
Actually one more question, what If I also wanted to loop through examplesite. I tried following code but it's not working, I would also like to print the name of the site along with application server and Ip address
push(@ { $array{examplesite}{'Application Server'}{'External IP'} },'test')...
Hi guys,
I am creating a hash to store my servers. Here is my hash example:
push(@ { $array{examplesite}{'App-servers'}{'Application Server'}{'External IP'} },'test');
push(@ { $array{examplesite}{'App-servers'}{'Application Server'}{'External IP'} },'test1');
push(@ {...
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.