
...
Here is a list of deprecated functions along with their recommended alternatives if available:
Deprecated | Preferred |
---|---|
|
|
|
|
|
|
|
|
The following modules are also deprecated:
Deprecated | Preferred |
---|---|
|
|
Noncompliant Code Example (die()
)
...
Using deprecated or obsolete classes or methods in program code can lead to erroneous behavior.
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
EXP30-PL | Medium | Probable | Low | P12 | L1 |
Automated Detection
Tool | Diagnostic |
---|---|
Perl::Critic |
ErrorHandling::RequireCarping | |
InputOutput::ProhibitInteractiveTest | |
Miscellanea::ProhibitFormats | |
PERL_S37 |
Related Guidelines
SEI CERT C Coding Standard | MSC24-C. Do not use deprecated or obsolescent functions |
---|---|
CERT Oracle Secure Coding Standard for Java | MET02-J. Do not use deprecated or obsolete classes or methods |
Bibliography
[Conway 2005] |
[CPAN] | Elliot Shank, Perl-Critic-1.116 RequireCarping, InteractiveTest, ProhibitFormats |
---|---|
[CPAN] | Chris Dolan, base |
[CPAN] | Max Maischein, parent |
...
...