Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Perl loop



******    message to minivend-users from Stefan Hornburg <racke@linuxia.de>     ******


Is this the best way to loop over a database within perl or is there a
faster solution ?

[perl table=store]
$DbSearch->{table} = $Db{store};
$srch_ary = $DbSearch->array({ra => 1, fi => 'store'});
for (@$srch_ary) {
        ...
}
[/perl]

Ciao
        Racke

-- 
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Coding from hell and back <--- 
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: