centos man page for deprecate

Query: deprecate

OS: centos

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

deprecate(3pm)						 Perl Programmers Reference Guide					    deprecate(3pm)

NAME
deprecate - Perl pragma for deprecating the core version of a module
SYNOPSIS
use deprecate; # always deprecate the module in which this occurs use if $] > 5.010, 'deprecate'; # conditionally deprecate the module
DESCRIPTION
This module is used using "use deprecate;" (or something that calls "deprecate->import()", for example "use if COND, deprecate;"). If the module that includes "use deprecate" is located in a core library directory, a deprecation warning is issued, encouraging the user to use the version on CPAN. If that module is located in a site library, it is the CPAN version, and no warning is issued. EXPORT None by default. The only method is "import", called by "use deprecate;".
SEE ALSO
First example to "use deprecate;" was Switch.
AUTHOR
Original version by Nicholas Clark
COPYRIGHT AND LICENSE
Copyright (C) 2009, 2011 This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available. perl v5.16.3 2013-03-04 deprecate(3pm)
Related Man Pages
package::deprecationmanager(3) - mojave
package::deprecationmanager5.18(3) - mojave
inc::module::install(3pm) - debian
date::calc::pp(3pm) - debian
package::deprecationmanager(3pm) - debian
Similar Topics in the Unix Linux Community
smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
How to "ignore" deprecates in php?
Function eregi() is deprecated error on kolab2 mailserver
PHP Deprecated: Function ereg_replace()
Trouble with deprecated files