Movatterモバイル変換


[0]ホーム

URL:


 / 
Module-Reload-1.12
River stage one • 3 direct dependents • 7 total dependents
/Module::Reload

NAME

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

SYNOPSIS

Module::Reload->check;

DESCRIPTION

When Perl pulls a file viarequire, it stores the filename in the global hash%INC. The next time Perl tries torequire 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 (orApache::Reload if you're still using Apache 1).

perldoc require for details of howrequire 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.

Module Install Instructions

To install Module::Reload, copy and paste the appropriate command in to your terminal.

cpanm

cpanm Module::Reload

CPAN shell

perl -MCPAN -e shellinstall Module::Reload

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp