logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Filter::Util::Exec - exec source filter

Author

       Paul Marquess

Date

       11th December 1995.

perl v5.40.0                                       2024-11-17                                          Exec(3pm)

Description

       This module is provides the interface to allow the creation of SourceFilters which use a Unix coprocess.

       See Filter::exec, Filter::cpp and Filter::sh for examples of the use of this module.

       Note that the size of the buffers is limited to 32-bit.

   filter_add()
       The function, "filter_add" installs a filter. It takes one parameter which should be a reference. The
       kind of reference used will dictate which of the two filter types will be used.

       If a CODE reference is used then a closurefilter will be assumed.

       If a CODE reference is not used, a methodfilter will be assumed.  In a methodfilter, the reference can
       be used to store context information. The reference will be blessed into the package by "filter_add".

       See Filter::Util::Call for examples of using context information using both methodfilters and closurefilters.

Name

       Filter::Util::Exec - exec source filter

Synopsis

           use Filter::Util::Exec;

See Also