Net::SSH::Perl

2003-09-02 Thread jaws
Hi all, I am currently using Net::SSH::Perl module to login in my remote machine. Below is my code: == #!/usr/bin/perl use Net::SSH::Perl; $user="jaws"; $pass="password"; $host="111.222.333.444"; my $ssh = Net::SSH::Perl->new(

DBI:mysql

2003-04-02 Thread jaws
h->disconnect; but i got this error: Undefined subroutine &main::PASSWORD called at ./adduser.pl line 30, line 4. Any suggestions? --- cheers, jaws If there's one thing you need to remember it's this... ALL SYSTEMS ARE VULNERABLE! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: perl DBI and mysql

2003-03-28 Thread jaws
Thanks Ill try that. At 09:26 AM 3/28/2003 +, Rob Anderson wrote: Jaws, This looks like your script is working fine, but the insert your trying to do is in error. I'd guess that your just trying to add a row with a duplicate key, and that's what DBI is complaining about, be

Re: perl DBI and mysql

2003-03-28 Thread jaws
What will I do to get my script working properly? Thanks for your help. At 04:17 AM 3/28/2003 -0500, Dave K wrote: Jaws, > DBD::mysql::st execute failed: Duplicate entry 'sample' for key 1 at > ./addvpdnuser.pl line 17, <> line 1. > DBD::mysql::st execute failed: Dup

Re: perl DBI and mysql

2003-03-28 Thread jaws
te entry 'sample' for key 1 at ./addvpdnuser.pl line 17, <> line 1. [EMAIL PROTECTED] util]# That's the error message of the program. At 08:54 AM 3/28/2003 +, Rob Anderson wrote: Hi Jaws (!?), You don't say where your script is failing, or what errors it'

perl DBI and mysql

2003-03-27 Thread jaws
tr; } $dbh->commit or die $dbh->errstr; $dbh->disconnect; -- Thanks. Jaws -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]