It would help if you could clarify what you expect the following chunk of code to achieve:
my @data = ( split /;/ )[31,32,38,39,261]; if (@data[39] =~ /15/) { 2 } else { 1 } -- CoderStack http://www.coderstack.co.uk/php-developer-jobs The Software Developer Job Board