while ( ) { print if 'abc' eq ( split /:/ )[ 0 ]; } #### while ( ) { print if /^abc:/; }