Alex, could you explain this piece of code?
($opt_r->{$column} =~ /^>(.+)$/) and push (@gt_fields, $1) and next;
($opt_r->{$column} =~ /^<(.+)$/) and push (@lt_fields, $1) and next;
($opt_r->{$column} =~ /^\s*$/) or push (@search_fields, $column);
($opt_r->{"$column-gt"} =~ /^\s*$/) or push (@gt_fields, $column);
($opt_r->{"$column-lt"} =~ /^\s*$/) or push (@lt_fields, $column);
}
I'm alittle confused and also no where is used into LinksSQL but as I can imagine should be very helpful for me.
Thank you in advance.
Lepo
Code:
foreach my $column (@{$self->{'db_cols'}}) { ($opt_r->{$column} =~ /^>(.+)$/) and push (@gt_fields, $1) and next;
($opt_r->{$column} =~ /^<(.+)$/) and push (@lt_fields, $1) and next;
($opt_r->{$column} =~ /^\s*$/) or push (@search_fields, $column);
($opt_r->{"$column-gt"} =~ /^\s*$/) or push (@gt_fields, $column);
($opt_r->{"$column-lt"} =~ /^\s*$/) or push (@lt_fields, $column);
}
I'm alittle confused and also no where is used into LinksSQL but as I can imagine should be very helpful for me.
Thank you in advance.
Lepo