Joseph Brenner > List-Filter > List::Filter::Transform::Library::FileSystem

Download:
List-Filter-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

List::Filter::Transform::Library::FileSystem - transforms for working with unix file listings

SYNOPSIS ^

   # This is a plugin, not intended for direct use.
   # See: List::Filter::Storage::CODE

DESCRIPTION ^

A library of standard List::Filter "transforms" for working with unix file listings.

See List::Filter::Transform::Library::Documentation for information about the transforms defined by this module.

filters

The following is a (most likely partialy) listing of named filters are defined by this module.

Note that all follow the "leading colon" naming convention.

:dwim_upcaret

Returns a transform to be used on regexps that are intended to pick entries out of unix file system listings:

It converts a leading "^" in a regexp into a "\b", except when it looks like you really meant to match the beginning of the string, which in a file listing is typically relatively uninteresting, e.g.

   /usr/share/bin/this
   /usr/share/bin/that
   /usr/share/bin/theother
   ...

METHODS

new

Instantiates a new List::Filter::Profile object.

Takes an optional hashref as an argument, with named fields identical to the names of the object attributes.

With no arguments, the newly created profile will be empty.

init

Initialize object attributes and then lock them down to prevent accidental creation of new ones.

Note: there is no leading underscore on name "init", though it's arguably an "internal" routine (i.e. not likely to be of use to client code).

define_filters_href

basic setters and getters

storage_handler

Getter for object attribute storage_handler

set_storage_handler

Setter for object attribute set_storage_handler

SEE ALSO ^

List::Filter List::Filter::Project

List::Filter::App::Relate

AUTHOR ^

Joseph Brenner, <doom@kzsu.stanford.edu>, 24 May 2007

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by Joseph Brenner

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.

BUGS ^

None reported... yet.

syntax highlighting: