Two Dimentional Array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jgsalins
    New Member
    • Aug 2008
    • 2

    Two Dimentional Array

    Greetings!

    I am a new bee to perl, please help!

    I have a text file delimited by pipe ( | )
    A|Apple
    B|Baloon

    I would like to load this into a two dimentional array. Please suggest a way to do this.

    Appriciate the help.
    Thanks.
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Do you know any perl? Do you know how to open a file and read it? Is this school/class/course work? Lets see what you have tried so far.

    Comment

    • jgsalins
      New Member
      • Aug 2008
      • 2

      #3
      I got started with perl a month back.
      Yes I know file handling also worked with one dimentional arrays.
      googled to find how to read a text file into a two dimensional array but could not find much help.

      Await your reply.
      Thanks.

      Comment

      • eWish
        Recognized Expert Contributor
        • Jul 2007
        • 973

        #4
        Please share with us the code that you have tried.

        --Kevin

        Comment

        • KevinADC
          Recognized Expert Specialist
          • Jan 2007
          • 4092

          #5

          Comment

          Working...