GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PkgConfig::LibPkgConf::Util(3) User Contributed Perl Documentation PkgConfig::LibPkgConf::Util(3)

PkgConfig::LibPkgConf::Util - Non OO functions for PkgConfig::LibPkgConf

 use PkgConfig::LibPkgConf::Util qw( argv_split compare_version );
 
 my @args = argv_split('-L/foo -lfoo'); # ('-L/foo', '-lfoo');
 my $cmp  = compare_version('1.2.3','1.2.4');

This module provides some useful utility functions that come along with "libpkgconf", but are not object oriented and thus do not get their own class.

 my @argv = argv_split $args;

Splits a string into an argument list.

 my $cmp = compare_version($version1, $version2);

Compare versions using RPM version comparison rules as described in the LSB. Returns -1 if the first version is greater, 0 if both versions are equal, 1 if the second version is greater.

 my $path = path_relocate($path);

Relocates a path, possibly calling realpath() or cygwin_conv_path() on it.

 my $sep = path_sep;

Returns the path separator as understood by "pkgconf". This is usually ":" on UNIX and ";" on Windows.

IRC #native on irc.perl.org

Project GitHub tracker:

<https://github.com/plicease/PkgConfig-LibPkgConf/issues>

If you want to contribute, please open a pull request on GitHub:

<https://github.com/plicease/PkgConfig-LibPkgConf/pulls>

For additional related modules, see PkgConfig::LibPkgConf

Graham Ollis

For additional contributors see PkgConfig::LibPkgConf

This software is copyright (c) 2016 Graham Ollis.

This is free software; you may redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2020-05-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.