Look very carefully at the lifecycle(s) of $field. If you don't see the problem, consider this:
Looking at this, what would you expect it to print?$foo = 1; if ( 1 ) { my $foo = 2; } print "$foo\n";
I doubt this has anything to do with the problem you originally reported, but it is one more red flag among many raised by the code fragment you posted.
In reply to Re: Re: Re: It won't insert
by dws
in thread Problem with insert using DBI
by mnlight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |