in reply to Re: Strict Ref : ERROR
in thread Strict Ref : ERROR

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.

Replies are listed 'Best First'.
Re^3: Strict Ref : ERROR
by Ieronim (Friar) on Jun 28, 2006 at 17:53 UTC
    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.