Syst has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to copy some tables from one db to another db. I get alot of errors when I do it, I was trying to run them once at a time. When I run the above code, it does all the db copying, then prints out the -doing table - line. Is there anyway to get it to do one db copy then print and go back and forth. I am missing something here. right? It should work as it is coded, print then copy then print then copy.@jack2 = ('upd_ss_accum_base','upd_ss_accum_dar','upd_ts_accum_base',' +user_color','user_def','user_log'); foreach (@jack2) { print "Doing table " . $_; $copy_handler->copy([$_]); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: for-loop question
by Errto (Vicar) on Jan 22, 2005 at 23:57 UTC | |
|
Re: for-loop question
by Zaxo (Archbishop) on Jan 22, 2005 at 23:41 UTC |