Hello i am new to perl scripting.
I would like to know how do we check the output of a system command using perl.
For example, if mysql is restarted i want to print success
-------------------------------------------------
#!/usr/bin/perl
print "Hello, Perl! \n";
$a='service mysqld restart'...