Re: Including a module
by bobmin(at)nidlink.com
|
| Date: |
Thu, 17 Aug 2000 13:23:39 -0700 |
| To: |
hwg-languages(at)mail.hwg.org |
| References: |
localhost |
| |
todo: View
Thread,
Original
|
|
I'd like to thank all those that replied to my original question
concerning the use of require. It was a dumb mistake on my part,
but the dumbest ones are usually the easiest to fix.
Which leads me to another issue concerning this additional file.
When the module is tested at the command line, it works fine, and a
perl -w -c shows only a few minor warnings. Mainly complaints
about setting internal flags in the LWP and HTTP modules. Variables
being used only once etc..
However when I try to install the code into my main routine it
produces the following error;
Warning: Use of "require" without parens is ambiguous at (eval 3)
line 1.
Search pattern not terminated at (eval 3) line 1.
Can someone suggest a way of narrowing this error down further?
I'd like to fix this, but a pointer to line 1 is probably one of the most
useless error messages around. Any suggestions would be useful at
this point. I've even gone as far as inlining the code, which caused
the same error message.
Thanks
Bob Minnick, Northern Webs
Northern Webs, http://www.northernwebs.com
208.265.0474
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.