--- Ovid <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl > > use strict; > use warnings; > > use UNIVERSAL::require; > use HTML::TokeParser qw<no_such_function>; > > print "here"; > > That produces: > > :!perl -Ilib parse.pl > "no_such_function" is not exported by the HTML::TokeParser module > Can't continue after import errors at parse.pl line 7 > BEGIN failed--compilation aborted at parse.pl line 7. > > So it's great that I can now easily track this sort of error down, > but it's not great that the code mysteriously stops working.
Note that the following does not trigger this: use UNIVERSAL::require; use CGI qw<no_such_function>; So I'm guessing it *might* be related to Exporter, but I don't have time to track this down right now. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/