This is indeed version 5.60 of Autoloader, running under perl 5.8.8.

The first few lines are:

package AutoLoader; use strict; use 5.006_001; our($VERSION, $AUTOLOAD); my $is_dosish; my $is_epoc; my $is_vms; my $is_macos; BEGIN { $is_dosish = $^O eq 'dos' || $^O eq 'os2' || $^O eq 'MSWin32' || $ +^O eq 'NetWare'; $is_epoc = $^O eq 'epoc'; $is_vms = $^O eq 'VMS'; $is_macos = $^O eq 'MacOS'; $VERSION = '5.60'; } AUTOLOAD { my $sub = $AUTOLOAD;

This is the same code as that cited by Anonymous Monk in http://search.cpan.org/~nwclark/perl-5.8.8/lib/AutoLoader.pm.

Lines 91-2 say:

local $!; # Do not munge the value. eval { local $SIG{__DIE__}; require $filename };
where the previous block (most of the AUTOLOAD sub, in fact) goes to great lengths to establish $filename.

ikegami, I don't believe DDSutils is involved. That just exports a couple of subs and some quasi-constants.No clever BEGIN/END stuff.

I observed that the Autoloader module does not itself use warnings; - I am reminded of another situation in the past where a CPAN module (I don't recall which) peppered my web server error log with warnings when my code ran under #!/usr/bin/perl -w because my invocation was imposing warningfulness on it. . That went away when I replaced #!/usr/bin/perl -w with use warnings; which kept my warnable condition to my own scope. I am just wondering whether something similar could be happening with regard to diagnostics but it seems rather far fetched.

Update: Forgot to say:

This is perl, v5.8.8 built for i486-linux-gnu-thread-multi ; out-of-the-box Ubuntu 8.04 LTS.


This signature will be ready by Christmas

In reply to Re^2: Use of uninitialized value in require at ...AutoLoader.pm ? by jvector
in thread Use of uninitialized value in require at ...AutoLoader.pm ? by jvector

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.