---
name: "NetApp::Filer::Version"
section: "3pm"
platform: "linux"
package: "libnetapp-perl"
version: "500.002-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/NetApp::Filer::Version"
---

# NetApp::Filer::Version(3pm)

## NAME

NetApp::Filer::Version -- OO Class for representing NetApp Filer versions

## SYNOPSIS

```
    use NetApp::Filer;
    my $filer = NetApp::Filer->new({ ... });
    # The "version" is: NetApp Release 7.2.2: Sat Mar 24 20:38:59 PDT 2007
    my $version = $filer->get_version;
    # $version->isa("NetApp::Filer::Version")
    print $version->get_release, "\n";
    # prints "7.2.2"
    print $version->get_date, "\n";
    # prints "Sat Mar 24 20:38:59 PDT 2007"
    print $version->get_string, "\n";
    print "$version\n";
    # Both print the same thing, the second one through operator overloading,
    # namely the original, unparsed version string
    print $version->get_version, "\n";
    # prints "v7.2.2"
```

## DESCRIPTION

This class is used to encapsulate the NetApp Filer version string, and provide access to the components of the string as a numeric release, a perl version, and a date string.

## METHODS

### get\_release

Returns the NetApp numerical release as a string, for example:

```
    7.2.2
```

### get\_date

Returns the NetApp release date as a string, for example:

```
    Sat Mar 24 20:38:59 PDT 2007
```

### get\_string

Returns the unparsed version string in it's entirety:

```
    NetApp Release 7.2.2: Sat Mar 24 20:38:59 PDT 2007
```

### get\_version

Returns the NetApp release as a perl version object.
