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 bkrike 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 phidelt1354

  1. phidelt1354

    Hash table inside class::struct

    I'm declaring my hash table that exists from within a struct. Then later in the code, the program goes through and loads a flat file to read from and it reads each line and populates each line accordingly. I am checking to see if the value exists. The problem is when I check to see if it...
  2. phidelt1354

    Hash table inside class::struct

    FISH! I need your help again please! How would you initialize a hash later in the code (ie not at declaration). I am getting an error that says "Use of uninitialized value in length at....." I am calling the length function on a field in my hash that has no value so I want to initialize...
  3. phidelt1354

    Hash table inside class::struct

    Thanks a lot Fish! I really appreciate your help!
  4. phidelt1354

    Hash table inside class::struct

    That does work thank you! I am fairly new to PERL so I was having trouble declaring my hash table in the struct, the syntax to populate it, and how to print it out. I appreciate your answer and feel free to give me any instruction on how the syntax for populating/printing fields from my hash...
  5. phidelt1354

    Hash table inside class::struct

    How do you add a hash table to this structure? struct header => { customer => '$', type => '$', shares => '$' }; I need to add a hash table to the header struct to hold a map of friend_type->friend_name. The friend_type string will represent the different friends in the flat.dat file that it...

Part and Inventory Search

Back
Top