-- Perl 5.8.8 documentation --
Fink::FinkVersion

NAME

Fink::FinkVersion - Fink version numbers

SYNOPSIS

  use Fink::FinkVersion qw(:ALL);
  my $fink_version    = fink_version;
  my $dist_version    = distribution_version;
  my $pkginfo_version = pkginfo_version;
  my $max_info_level  = max_info_level;

DESCRIPTION

This module retrieves the version numbers of various parts of the fink installation.

Functions

These functions are exported on request. You can export them all with

  use Fink::FinkVersion qw(:ALL);
  • fink_version
      my $fink_version = fink_version;

    Returns the version of the fink source code.

  • distribution_version
      my $dist_version = distribution_version

    Returns the fink distribution version you're currently using.

  • pkginfo_version
      my $pkginfo_version = pkginfo_version;

    Returns from whence you updated your packages. If you're using a point release it will return that. Otherwise if you're using one of the dynamic methods...

        rsync       packages updated via rsync
        cvs         packages updated via cvs
  • max_info_level
      my $max_info_level = max_info_level;

    Returns the highest level of package description file that this fink can parse. If a .info is componsed of a 'InfoN: <<' ... '<<' block where N is a larger integer than that returned by this function, the entire .info file should be ignored.