in reply to getting error while writing to a table

forming records as below

that is what you think, but do you know that for sure? What do you get when you Data::Dump::dd(\%input);

Basic debugging checklist, its for you

  • Comment on Re: getting error while writing to a table

Replies are listed 'Best First'.
Re^2: getting error while writing to a table
by learner@perl (Novice) on Jul 03, 2013 at 09:14 UTC
    Hi,

    here it is the output of dumper

    $VAR1 = '12'; $VAR2 = [ '01-01-1989,ABC,12,12000,300000,Finanance,BC' 'January,60000' ]; $VAR3 = '13'; $VAR4 = [ '01-01-1988,BCH,13,15000,400000,Manfacturing,CB' 'Feburary,400000' ];

    where i am missing, did i used wring code while printing data to table

      Try again please, dd\%foo the \ is important
        Hi,

        where you want me to use print dd(\%input), when i use the print dd(\%input);i am, what i understood is use about use Data::Dumper; is by using perl module we can print the data structure of array/hash, can you please guide where you want me to dd\%input