$ perldoc -f chomp |ack return -A1 $INPUT_RECORD_SEPARATOR in the "English" module). It returns the total number of characters removed from all its arguments. It's -- number of characters removed is returned.