RE: How to pass info to a CGI program without using a form?

2009-08-23 Thread David Christensen
boll wrote: > I don't understand how to pass the name of the image directory in the > URL, or how to modify the program to read the directory name. You should buy one or both of these books: http://www.wiley.com/legacy/compbooks/stein/ http://oreilly.com/catalog/9781565924192/ HTH, Da

Re: Perl module Net::Oping Error

2009-08-23 Thread Chas. Owens
On Sun, Aug 23, 2009 at 21:06, fzz wrote: > hi all        I installed Net::Oping module. I run it ,but I can't get right > values . Please give me some light. Thanks in advance. > I write these code: > > #!/usr/bin/perl > You should really say the following here: use strict; use warnings; >  use

Perl module Net::Oping Error

2009-08-23 Thread fzz
hi allI installed Net::Oping module. I run it ,but I can't get right values . Please give me some light. Thanks in advance. I write these code: #!/usr/bin/perl use Net::Oping (); my $obj = Net::Oping->new (); $obj->host_add (qw(www.example.org)); my $ret = $obj->ping (); print

Re: mod_perl: access full request, log it, etc

2009-08-23 Thread Bruce Ferrell
Dan wrote: > Hi all. > > I'm setting up a mod_perl & soap server, and a friend is writing a java > client. As I commented to him, it's a bit like the blind leading the > blind at this point :) > > His request is causing mod_perl to complain about not being able to > serialize the request, with

How to pass info to a CGI program without using a form?

2009-08-23 Thread boll
There is a perl program running on my server that delivers random images to a web page. The image on the html page is specified by this html code: http://localhost/cgi/random_image.cgi"/> I would like to use this program in several places to display images from other directories, so that

Re: HTML::TreeBuilder - handle invalid html gracefully

2009-08-23 Thread Roman Makurin
On Sun, Aug 23, 2009 at 02:56:44PM +0400, Roman Makurin wrote: > Hi All! > > How can I tell HTML::TreeBuilder to parse invalid html files > gracefully ? Here is an example: > > - > #!/usr/bin/perl > > use strict; > use warnings; > > use HTML::TreeBuilder; > > my $root = HTML::TreeBuilder->

HTML::TreeBuilder - handle invalid html gracefully

2009-08-23 Thread Roman Makurin
Hi All! How can I tell HTML::TreeBuilder to parse invalid html files gracefully ? Here is an example: - #!/usr/bin/perl use strict; use warnings; use HTML::TreeBuilder; my $root = HTML::TreeBuilder->new_from_file(*DATA); print +($root->look_down(_tag=>'div', class=>'text'))->as_text, $/;

Re: Business::UPS should be fixed or removed.

2009-08-23 Thread Telemachus
On Sat Aug 22 2009 @ 10:30, Rick Bragg wrote: > Hi, > > As far as I can tell, this perl module returns bogus numbers that have > nothing to do with the real prices from UPS and should be done away with > or fixed. If you use this, beware, check out your prices, will all be > low. > > Rick Than

mod_perl: access full request, log it, etc

2009-08-23 Thread Dan
Hi all. I'm setting up a mod_perl & soap server, and a friend is writing a java client. As I commented to him, it's a bit like the blind leading the blind at this point :) His request is causing mod_perl to complain about not being able to serialize the request, with an error in XML::Parser. I w