Perl Script to read partitions

Hi Guys!
I'm currently doing a perl/bash script that will read all the partitions in the server. I'm trying to use df -h but it will just display the partitions.

Your help is very much appreciated.

Thank you.