Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jgiri
  • Order by date
  1. jgiri

    Compare two varilabes

    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...
  2. jgiri

    Rewrite question

    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...
  3. jgiri

    Return multiple arrays

    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 ?
  4. jgiri

    Loop through Multi Dimension hashs

    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')...
  5. jgiri

    Loop through Multi Dimension hashs

    Thanks!
  6. jgiri

    Loop through Multi Dimension hashs

    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(@ {...

Part and Inventory Search

Back
Top