i'm getting this error:
DBD::mysql::st execute failed: Column count doesn't match value count at row
1 at ./test-get.pl line 91, line 1.
DBD::mysql::st execute failed: Column count doesn't match value count at row
1 at ./test-get.pl line 91, line 1.
and i've been counting placeholders, columns,
On 2011-02-11 11:26, Alan Haggai Alavi wrote:
$variable_1 ||= $variable_2 is equivalent to
$variable_1 = $variable_1 || $variable_2.
Hmm, I don't buy that, I would say that $x ||= $y is equivalent to
$x = $y unless $x;
alternatively:
$x or $x = $y;
because the setting of $x only needs
Hi Rob,
well, if we are already discussing threads in general, and not in Perl in
particular, I might as well contribute to the discussion.
On Wednesday 09 Feb 2011 15:03:04 Rob Coops wrote:
> Just adding a little to this discussion then. :-)
>
> Threads regardless of the language are meant to
Hi,
> then that I don't understand is the program logic :-(
It is a logical OR. Quoting `perldoc perlop`:
C-style Logical Or
Binary "||" performs a short-circuit logical OR operation. That
is, if the left operand is true, the right operand is not even
evaluated. Scalar
Hi,
> 12$sheet -> {MaxRow} ||= $sheet -> {MinRow};
Line 12 can be written as:
$sheet->{'MaxRow'} = $sheet->{'MaxRow'} || $sheet->{'MinRow'};
For example:
$variable_1 ||= $variable_2 is equivalent to $variable_1 = $variable_1
|| $variable_2.
The same applies to:
**=+=