warnings::register(3pm) Perl Programmers Reference Guide warnings::register(3pm)

# [NAME](#NAME)

warnings::register - warnings import function

# [SYNOPSIS](#SYNOPSIS)

```
    use warnings::register;
```

# [DESCRIPTION](#DESCRIPTION)

Creates a warnings category with the same name as the current package.

See "Reporting Warnings from a Module" in warnings for more information on this module's usage.

2026-10-27 perl v5.44.0

---

Document: warnings::register(3pm) from perl 5.44.0-r4 (Chainguard OS)
Source: https://github.com/Perl/perl5.git
