Question: are ants attracted to perfume?
Answer: Perfumes are one of the best solutions in making this possible. Soaking a very strong perfume and placing it to the ants' entry points will irritate them. As they are not able to tolerate the perfume's scent, they will probably stay away from that place and presto, you're now free from ants.