in reply to Re^2: WWW-Search module that works
in thread WWW-Search module that works
OK .. now we're getting somewhere. You've provided some code (great) and told me it outputs nothing.
My tendency, whenever I create an object, is to make sure that the object is defined. So, in your example, I would check that $oSearch is defined after it's created, and die if not.
After that, I'd step through the program using the Perl debugger, and find out what's happening. Dump $sQuery and make sure it has something useful in it, and likewise, see what $oResult has.
Also, your shebang line is wrong. It should probably be
Try that out and let us know how it goes for you.#!/usr/bin/perl -w
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: WWW-Search module that works
by coder57 (Novice) on Jun 12, 2007 at 20:21 UTC | |
by talexb (Chancellor) on Jun 13, 2007 at 01:41 UTC | |
| |
by ikegami (Patriarch) on Jun 14, 2007 at 16:34 UTC |