in reply to Strict Ref : ERROR

Try to expain (in English, not in Perl) what you wanted the $_ variable to be :)
In your code you take a string from file and try to use it as array reference (???)

Replies are listed 'Best First'.
Re^2: Strict Ref : ERROR
by swetashah23 (Initiate) on Jun 28, 2006 at 17:21 UTC
    I am trying to read each field from the file and strip it off of the q +uotes and comma and storing them in the DB. one article said that I should first bind the array element ( I mean e +ach field in the file is an element of the array)to a position in the + table and then it will be executed as required. Thanks.
      You need to read data from comma-separated file (so-called CSV). The best way to do it is to use the Text::CSV module. Read its documentation. Then you need to load data to DB. Do it using the DBI placeholders. Read DBI documentation again! If you don't understand the code — re-read perlintro. It must help :)

      If you think you will work with Perl later — buy the Camel book.