happy new year to all of you.<br> <br> thanks all for your support. Back to the question, (which I guess, will irritate some catalyst/perl gurus - but please be patient for learners), I've been able to add multiple records with "PRE" assigned values. But that's not my purpose. I need to add multiple rows that have the same name on the html. I tried several ways, but none was good.<br> <br> my $book;<br> my $record; <br> foreach $book ( @{$c-&gt;request-&gt;params-&gt;{book}}){<br> &nbsp; <br> &nbsp;&nbsp;&nbsp; push&nbsp; @records, {title =&gt; $book, price =&gt; $price };<br> &nbsp;&nbsp;&nbsp; };<br> &nbsp;&nbsp; <br> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; eval{<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $c-&gt;model('bookDB::Book')-&gt;create($_) foreach (@records);<br> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br><br> ---- this gives me the compling error: Global symbol "@records" requires explicit package name<br> <br><b><i>Juan Miguel Paredes
 &lt;juan.paredes@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 12/29/06, Will Smith <willbelair @yahoo.com=""> wrote:<br>&gt; Thank you,<br>&gt;  Yes, I mean I'm using DBIC. I've tried your method. It did not give error,<br>&gt; but, also did not insert into the table.<br>&gt;  Do I miss something?<br>&gt;<br><br>Hi, Will!<br><br>Are the correct SQL statements being generated? (try export<br>DBI_TRACE=1 or something like that)<br><br>Is a COMMIT missing? (check AutoCommit on your dsn and/or DBD::*<br>database specific docs, e.g. for PostgreSQL/Oracle it is off by<br>default, IIRC)<br><br>Greetings!<br><br>_______________________________________________<br>List: Catalyst@lists.rawmode.org<br>Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst<br>Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/<br>Dev site:
 http://dev.catalyst.perl.org/<br></willbelair></blockquote><br><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com