while (<>) { /^(.*) -> (.*)$/; print "$1\n"; }