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.) make the assumption that they are only loaded once. When you reload the same file, they tend to show their surprised by not working. If you feel motivated to submit patches for these problems, I would encourage that.

SEE ALSO

mod_perl, Event, ObjStore

AUTHOR

Copyright © 1997-1998 Doug MacEachern & Joshua Pritikin. All rights reserved.

This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)

1 POD Error

The following errors were encountered while parsing the POD:

Around line 73:

Non-ASCII character seen before =encoding in '©'. Assuming CP1252