---
name: "Perl::Critic::Exception::IO"
section: "3pm"
platform: "linux"
package: "perl-perl-critic"
version: "1.156-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Perl::Critic::Exception::IO"
---

# Perl::Critic::Exception::IO(3pm)

A problem with input or output.

## NAME

Perl::Critic::Exception::IO - A problem with input or output.

## DESCRIPTION

The outside world can do nasty things to your poor, innocent code.

## INTERFACE SUPPORT

This is considered to be a public class.  Any changes to its interface will go through a deprecation cycle.

## METHODS

- file\_name()

  Returns the name of the file that the problem was found with, if available.

- errno()

  The value of `$ERRNO`/`$!` at the time the problem was found.

## AUTHOR

Elliot Shank \<perl@galumph.com\>

## COPYRIGHT

Copyright (c) 2007-2023 Elliot Shank

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.  The full text of this license can be found in the LICENSE file included with this module.
