If you have a potted plant, you could sprinkle salt around the outside of the container, but it will get rinsed away easily or look a little messy.
Slugs need somewhere to escape from the sun, or else they’ll dry out.
If you don’t have gloves or don’t want to pick the slugs up by hand, use a pair of tongs instead.
Since slugs make a lot of slime while they die, it could leave a mess on the floor or ground. It’s best to use salt outdoors away from any plants or surfaces you want to keep clean.
Avoid adding slugs to compost since they could contain a dangerous rat lungworm parasite.
Be sure to refill the beer every few days so it stays fresh.