Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NetApp::Filer::VersionUser Contributed Perl DocumentaNetApp::Filer::Version(3)

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.

perl v5.32.1			  2008-11-26	     NetApp::Filer::Version(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=NetApp::Filer::Version&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help