develooper Front page | perl.perl5.porters | Postings from October 2003

[PATCH] Document PERL_DL_NONLAZY

Thread Next
From:
Gisle Aas
Date:
October 31, 2003 03:13
Subject:
[PATCH] Document PERL_DL_NONLAZY
Message ID:
lrn0bhbqyo.fsf@caliper.activestate.com
--- pod/perlrun.pod.dist	Fri Oct 31 02:57:13 2003
+++ pod/perlrun.pod	Fri Oct 31 03:09:33 2003
@@ -1118,6 +1118,14 @@
 this controls the behavior of global destruction of objects and other
 references.  See L<perlhack/PERL_DESTRUCT_LEVEL> for more information.
 
+=item PERL_DL_NONLAZY
+
+Set to one to have perl resolve B<all> undefined symbols when it loads
+a dynamic library.  The default behaviour is to resolve symbols when
+they are used.  Setting this variable is useful during testing of
+extensions as it ensures that you get an error on misspelled function
+names even if the test suite doesn't call it.
+
 =item PERL_ENCODING
 
 If using the C<encoding> pragma without an explicit encoding name, the

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About