|
NAMEProphet::Util - Common utility functions.VERSIONversion 0.751METHODSupdir PATH, DEPTHStrips off the filename in the given path and returns the absolute path of the remaining directory.Default depth is 1. If depth are great than 1, will go up more according to the depth value. slurp FILENAMEReads in the entire file whose absolute path is given by FILENAME and returns its contents, either in a scalar or in an array of lines, depending on the context.instantiate_record class => 'record-class-name', uuid => 'record-uuid', app_handle => $self->app_handleTakes the name of a record class (must subclass Prophet::Record), a uuid, and an application handle and returns a new instantiated record object of the given class.FUNCTIONSescape_utf8 REFGiven a reference to a scalar, escapes special characters (currently just &, <, >, (, ), ", and ') for use in HTML and XML.Not an object routine (call as Prophet::Util::escape_utf8( \$scalar) ). AUTHORS
COPYRIGHT AND LICENSEThis software is Copyright (c) 2009 by Best Practical Solutions.This is free software, licensed under: The MIT (X11) License BUGS AND LIMITATIONSYou can make new bug reports, and view existing ones, through the web interface at <https://rt.cpan.org/Public/Dist/Display.html?Name=Prophet>.CONTRIBUTORS
Visit the GSP FreeBSD Man Page Interface. |