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
App::PFM::Config::Update(3) User Contributed Perl Documentation App::PFM::Config::Update(3)

App::PFM::Config::Update

PFM class used for updating an existing .pfmrc for a newer version of "pfm". Your original .pfmrc will be backed up as .pfmrc.datestamp.

This class should be regarded as a get-me-going-fast solution. You will probably be better off by having "pfm" generate a new .pfmrc for you and comparing it to your own version.

_init()
Initializes new instances. Called from the constructor.
_by_pfmrc_rules()
Sorting subroutine. Sorts the vim(1) modeline last.
_sort_pfmrc(arrayref $text)
Sorts the lines in the pfmrc text.
_cross(string $cross, string $from, string $to)
Determines if a certain version cross is crossed when updating from from to to.
_remove(arrayref $text, array @regexps)
Removes matching lines from the config text.
_append(arrayref $text, array @addition)
Adds the specified lines at the end of the config text.
_insert(arrayref $text, regexp $before, regexp $after, array @addition)
Adds the specified lines at the specified place in the config text. If before is specified, the addition is inserted before the matching line. If after is specified, the addition is inserted after the matching line.
_substitute(arrayref $text, coderef $substitutor)
Executes the substitutor code for all lines in the config text.
_get_locale()
Finds the locale that is currently in use for LC_TIME.
_get_pfmrc_timefieldlen(arrayref $text)
Determines the minimum length of a Unix 'ctime', 'mtime' or 'atime' column.
_get_pfmrc_timefieldformat(arrayref $text)
Determines the minimum length of the format as determined by the 'timestampformat' column.
_update_to_version()
_update_version_identifier
Updates the 'Version:' line in text to the new version.
_update_text(string $version_from, string $version_to, arrayref $text)
Updates the array indicated by text to the new version by adding any new config options, removing deprecated ones, and updating definitions that have changed.
get_minimum_version()
Fetches the minimum version a .pfmrc must have in order for this class to be able to update it.
check_date_locale(arrayref $text)
Checks the 'columnlayouts' option to see if it can accommodate date/time strings localized according to your current locale (as defined by LC_ALL or LC_TIME).
update(string $version_pfmrc, string $version_pfm, arrayref $text)
Updates the lines in the array pointed to by $text.

SEE ALSO

pfm(1), locale(7). App::PFM::Config(3pm).

2014-04-09 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.