Name

VERSION

Synopsis

VERSION([ require ])

Description

Returns the value of the variable $VERSION in the package the object is blessed into. With require specified, VERSION dies if the version of the package is not equal to or greater than the version specified in require. Can be called as either a static or object method call.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.