Hi,
I am writing a simple perl script that will catch
kill signal. I am able to catch the signal sent within
the script. However, if I kill the process in a shell
using "kill -9 PID", the handler does not catch it.
Can someone help me? Here is my code snippet.
==Handler ===
...);
> $dbh->{RaiseError} = 1;
>
> try {
> $dbh->do("insert ...");
> }
> catch Error with {
> print STDERR "Insert failed!";
> }
>
> $dbh->do("update ...");
>
>
> ...Or if you only want to update when the insert
>
Hi,
I am using DBI and DBD to insert into database. If
the insert fails because of the key constraints, I
want to continue to update that record. How can I it
do this after I issue $sth->execute() statement?
Thanks.
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free,
suggestion to do this?
Regards,
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> Titu Kim wrote:
> > Hi,
> >I am newbie in Perl. I would like to use a perl
> > script to ssh to multiple linux machines to
> execute
> > uptime command. THen i need to get the res
Hi,
I am newbie in Perl. I would like to use a perl
script to ssh to multiple linux machines to execute
uptime command. THen i need to get the result of
'uptime' and analyse them. How can it do this?
Thanks.
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-