Perl: how to run a command line command from inside perl
I am trying to write a Prel script that will run on a Linux got for managing quotas. If you are at the command line in Linux you can use the command:
'setquota username | groupname block-softlimit block-hardlimit...'
What I am trying to do is automate this as there are many users to do and I want to be able to set this as a job as to update quotas if we want to change them.
If I am and the command line I simply type in the command (setquota) with the proper informatin and its done. My question is, how do I run the command from inside my Perl script?