Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: URI.pm error: msg#00013

lang.perl.modules.lwp

Subject: Re: URI.pm error

Gisle Aas wrote:
Nigel Horne <njh@xxxxxxxxxxxxxx> writes:


What are the circumstances under which this error appears, and what
can be done to avoid it?

"Use of uninitialized value in substitution iterator at /usr/share/perl5/URI.pm line
76."


What kind of statement do you find at this line? What version of
URI.pm do you have installed?

Man URI doesn't tell you the version, but running 'r' within CPAN shows
no updates available, so I must presume it is the most up to date
version.

I have two calls to URI in my code, it's difficult to tell which
is causing the error at the moment, but there are few calls to URI
in the code so it can't be that difficult to see:

[njh@njh cgi-bin]$ fgrep URI search.cgi
use URI;
require URI::URL;
$URI::ABS_REMOTE_LEADING_DOTS = 1;
$URI::ABS_REMOTE_LEADING_DOTS = 1;
$newurl = URI->new_abs($newurl, $webdoc->base);
my $nexturl = URI->new_abs($1 . ".htm", $url);
$nexturl = URI->new_abs($nexturl, $base);
$title = $urltitles{$home} . ' (' . URI->new($url)->path . ')';

--Gisle

-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@xxxxxxxxxxxxxx http://www.bandsman.co.uk
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe