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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by al0

  1. al0

    Need advices for my script

    Hi, I have made a script where I can extract lines from my apache logfile based on ip adresses. As I'm quite new to perl I know that the script I have made isnt efficient at all. So I wonder if anyone could help me a bit and give som tips how to do it better. #!/usr/bin/perl use warnings...
  2. al0

    change hash key name?

    Thanks a lot, have been struggling with this for quite a bit of time.
  3. al0

    change hash key name?

    Hi, Is it possible to change a keyname in a hash? My keys values in the hash references to arrays. I have a option in my script where you can change the information in the hash. chomp($hash{$matching_keys[$val]}[0]=<STDIN>); chomp($hash{$matching_keys[$val]}[1]=<STDIN>)...
  4. al0

    search hash keys

    Yes I mean contain, pardon my english. So if I have these keys for example: sometest some test testing other keys If I search for "test" I want to get the first three keys.
  5. al0

    search hash keys

    This works only if you type the exact keyname. I want to be able to search for example "test" and get all keys that consist of the word "test".
  6. al0

    search hash keys

    Hi, I have made a data structure that consists of hash and the keys referencing to arrays. The key names comes from the first elements in the array it referencing to. The thing I trying to accomplish is to be able to search trough all keys and print all that matches the string. From the keys...

Part and Inventory Search

Back
Top