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 IamaSherpa 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. ddmama

    Passing a value from an array into a file reference

    for brevity, I left out the error checking in the script. Specifically, we check to make sure that the file is there: if(!(-f $DATA_PATH)) { &error("Could not open the CSV data file containing center information, because of an error: $!"); } We also check to see if the...
  2. ddmama

    Passing a value from an array into a file reference

    OK, tried it with an absolute path, same problem. I'm not clear as to what the question about "What is the status of your open statement if you check thr $! variable?" Perhaps a bit more code would help. Here's how I open the csv file, load it to the array, then grab the info I...
  3. ddmama

    Passing a value from an array into a file reference

    Before I started tweaking the script, it had a static address defined as $FILE_PATH = '../htdocs/document.html' and it worked. However, I'll try using the absolute path and see how it behaves.
  4. ddmama

    Passing a value from an array into a file reference

    Hello, I have a fairly complicated perl cgi script that I inherited that I am trying to tweak. Specifically, I need to be able to designate a different file name to be opened depending on what value the script passes back. The filename is stored in one column in a two-dimensional array that is...
  5. ddmama

    Passing a value from an array into a file reference

    Hello, I have a fairly complicated perl cgi script that I inherited that I am trying to tweak. Specifically, I need to be able to designate a different file name to be opened depending on what value the script passes back. The filename is stored in one column in a two-dimensional array that is...

Part and Inventory Search

Back
Top