Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Module::Reload(3)     User Contributed Perl Documentation    Module::Reload(3)

NAME
       Module::Reload -	Reload %INC files when updated on disk

SYNOPSIS
	 Module::Reload->check;

DESCRIPTION
       When Perl pulls a file via "require", it	stores the filename in the
       global hash %INC.  The next time	Perl tries to "require"	the same file,
       it sees the file	in %INC	and does not reload from disk.	This module's
       handler iterates	over %INC and reloads the file if it has changed on
       disk.

       Set $Module::Reload::Debug to enable debugging output.

BUGS
       A growing number	of pragmas ("base", "fields", etc.) assume that	they
       are loaded once only.  When you reload the same file again, they	tend
       to become confused and break.  If you feel motivated to submit patches
       for these problems, I would encourage that.

SEE ALSO
       Module::Reload::Selective is like this module, but lets you control
       which modules will be reloaded.

       again provides a	slightly different mechanism for reloading changed
       modules,	where you have to explicitly decide which modules to reload.

       Apache2::Reload (or Apache::Reload if you're still using	Apache 1).

       perldoc require <http://perldoc.perl.org/functions/require.html>	for
       details of how "require"	works.

REPOSITORY
       <https://github.com/neilb/Module-Reload>

AUTHOR
       Doug MacEachern & Joshua	Pritikin

       Now maintained by Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 1997-1998	Doug MacEachern	& Joshua
       Pritikin.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

perl v5.32.1			  2017-04-17		     Module::Reload(3)

NAME | SYNOPSIS | DESCRIPTION | BUGS | SEE ALSO | REPOSITORY | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Module::Reload&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help