Hello (again) Derek Am Samstag, 5. März 2005 05.06 schrieb [EMAIL PROTECTED]: > I have the file as attached and I want to take 104 and 356 to get a sum. > Here is my code: > > > while (<FF>) { > if ( $. > 6 ) { > if ( $_ !~ "ANR*" or $_ !~ "ANS*" ) { > print FFF $_; > } > } > next unless $_ /^[a-zA-Z0-9]$/ { > print $_; > } > } > [...]
I would start with checking the syntax of this code first (using strict and warnings) to get the syntax right. Otherwise, you can't test the code :-) greetings joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>