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 Chriss Miller 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: *

  1. u8ug2tfj

    loading array from txt file

    OK... got it to run! Thanks much!
  2. u8ug2tfj

    loading array from txt file

    Ok. Let me make it a general question. I want to save an array on a server so I can use it again, changing and calling each element in the array. It's not a big array so no need for a SQL database or anything... just maybe 50 elements maximum. The elements will be strings, possibly containing...
  3. u8ug2tfj

    loading array from txt file

    Thanks. Still a problem. Script runs but no output. ***text file looks like this*** "item1","item2","item3" ***code looks like this now*** open (FROMFILE,"<array.txt"); $line=<FROMFILE>; @elements=split (/","/, $line); close(FROMFILE); $elements[0]=~s/"//g; $elements[$#elements]=~s/"//g...
  4. u8ug2tfj

    loading array from txt file

    I have managed to load form data t a text file that has each element separated by double quotes and commas ("item1","item2","item3"...) and I want to get open this file and use the data to repopulate an array so that I can use an item (@array[0]) to fill in a form value. I have tried this: open...

Part and Inventory Search

Back
Top