> Check return value of open() and other system calls.
>
> Eg. open($fname) or die "Error opening $fname: $!".
>
> - Raja
>
Wow,
that's the comments, I am looking for. Let fix things this time.

I got into some issues, when I tried to use Perl DBI module. lets say when
you try to connect to the MySQL instance [server], if the server is already
down, then connection statement throws you the error and stops the script
execution.

Since I went for in lining the shell command with in the Perl script.

quote:  my $status = `lsof -i | grep mysql | tr -s ' ' | cut -f 1 -d ' '`;

let me try to fix it again. Thanks Raja.


-- 
Ravi Jaya

Mobile: +91 97909 16181
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to