Find out what files are provided by the installed package, i.e. list where files were installed.
sudo dpkg -L [package name]
dpkg -L apache-perl dpkg -L perl