The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Verilog::Netlist::Subclass - Common routines for all classes

SYNOPSIS

  use Verilog::Netlist::Subclass;
  package Verilog::Netlist::Something;
  @ISA = qw(Verilog::Netlist::Subclass);

  ...

  $self->warn();

DESCRIPTION

Verilog::Netlist::Subclass is used as a base class for all structures. It is mainly used so that $self->warn() and $self->error() will produce consistent results.

MEMBER FUNCTIONS

$self->warn (Text...)

Print a warning in a standard format.

$self->error (Text...)

Print an error in a standard format.

$self->exit_if_error()

Exits the program if any errors were detected.

Requests the given file be deleted if any errors are detected. Used for temporary files.

SEE ALSO

Verilog::Netlist

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>