Hi There,
I'm trying to login to a ssl encrypted webinterface with authrization
uing LWP but I don't get authorized for some reason and i can't figure
out why not.
My code:
my $url = 'https://192.168.167.166/'; # Yes, HTTPS!
my $browser = LWP::UserAgent->new;
$browser->credentials(
'ht
On Dec 10, 11:31 pm, jimsgib...@gmail.com (Jim Gibson) wrote:
> At 11:43 AM -0800 12/9/09, cerr wrote:
>
>
>
> >Hi There,
>
> >I use below code to make sure i have only one instance of my script
> >running at a time. But weirdly enough i sometimes seem to have runn
t only one
line is being returned (from the actual call)... - any suggestions/
comments?
Thanks,
Ron
On Dec 10, 11:31 pm, jimsgib...@gmail.com (Jim Gibson) wrote:
> At 11:43 AM -0800 12/9/09, cerr wrote:
>
>
>
> >Hi There,
>
> >I use below code to make sure i have only o
Hi There,
I use below code to make sure i have only one instance of my script
running at a time. But weirdly enough i sometimes seem to have running
two instances. This script is getting called on a regular basis by a
cron job and may take a long time (30+min)to complete but still...I
can't figure
Hi There,
I need a server that's listening on UDP port 5000.
I have successfully gotten a TCP client to listen on port 5000:
[perl]
#!/usr/bin/perl -w
# serverfork.pl - a server that forks a child
# process to handle client connections
use strict;
use IO::Socket;
use Sys::Hostname;
use POSIX qw(:s
Hi There,
On http://www.codepedia.com/1/PerlDBITutorial I found that prepare()
would escape a string.
Now I have a query like this:
"INSERT INTO logs (source, date, time, program, msg, inserttime) VALUES
('NovaxPRG-T0029', '2009-11-02', '09:51:11', 'NovaxPRG', 'NovaxPRG
[931]: T0029: CRITICAL: cou
On Oct 21, 8:31 am, jimsgib...@gmail.com (Jim Gibson) wrote:
> At 3:59 PM -0700 10/20/09, cerr wrote:
>
> >Hi,
>
> >I wanna execute an external bash command but timeout if it's taking
> >longer than XX seconds. I've tried it like this:
> >eval {
Hi,
I wanna execute an external bash command but timeout if it's taking
longer than XX seconds. I've tried it like this:
eval {
local $SIG{ALRM} = sub {die "alarm\n"};
alarm $timeout;
$test = `$sshpassPATH . " -p ".$clientpw." ssh root@".$ip." ".
$RemcksumPATH." ".$Remcksum