Gorka wrote: > Hi! I've got a perl script with this for: > > for (my $j=0;$j<=$#fichero1;$j++) > { > if (@fichero1[$j] eq $valor1) > { > $token = 1; > } > } > Try
foreach (@fichero1) { if ($_ eq $valor1) { $token = 1; break; } } -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com Ukrainian C++ Developer, Debian Maintainer, APT contributor
signature.asc
Description: OpenPGP digital signature