PET::Util::PreMultiLang

PET::Util::PreMultiLang

This is a special multilangual module.  It operates on dot-lang files.  This is for createing websites which have different language versions.  A ‘master’ website is created...  (FIXME: description is missing!)

Summary
PET::Util::PreMultiLangThis is a special multilangual module.
Functions
NAME
preprocess ($file)This is called from PET::Dispatcher.
realProcess ($dataref)Real processing using .lang files.

Functions

NAME

sub NAME

preprocess ($file)

sub preprocess

This is called from PET::Dispatcher.  Should return a filename that is the filename of the preprocessed template.  FIXME: later this should be able to return a scalarref (content of preprocessed file?)  FIXME: we shall cache on-disk changing for approx.  5 seconds to avoid too many stat calls!  FIXME: (mashol) : .pet changes should have an effect here...

realProcess ($dataref)

sub realProcess

Real processing using .lang files.

Base class for all Util modules.
sub NAME
sub preprocess
This is called from PET::Dispatcher.
sub realProcess
Real processing using .lang files.
Close