Hi everyone,

I am parsing a file and need to recognize when I have come to a blank line. Can
you tell me how to do this? Here is my code so far:

while ( defined($fileLine = <IN>) ) {
        
        chomp ($fileLine);
                
        #if this line is blank, go to next line
                
        #if ($fileLine

        print "\nOne line: " . $fileLine;
}


Thank you,
Kathy

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to