Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

hidden features in DBSQL

Quote Reply
hidden features in DBSQL
Alex, could you explain this piece of code?
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
Subject Author Views Date
Thread hidden features in DBSQL Lepo75 1300 Apr 21, 2000, 6:41 AM
Post Re: hidden features in DBSQL
pugdog 1246 Apr 22, 2000, 12:15 PM
Post Re: hidden features in DBSQL
Alex 1253 Apr 23, 2000, 4:18 PM