When it rains heavily rats sometimes used to visit our garden and thus wreak destruction. Then I’d have to use a rat trap to catch them and then dispose of them, which wasn’t fun.
Now, when I put some cut pandan leaves there, they don’t come. I bought a handful of leaves from the Balik Pulau market for 50 sen (or 4RM in Tesco) and they will last several months, as it doesn’t matter if they dry out.
I can’t guarantee it will work for you, but at 50 sen for a few months you don’t have much to lose.
If I can find and grow pandan it would be even better…