Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    XML::Filter::Dispatcher::Compiler 0.52

    Download button

    No screenshots available
    Downloads: 291  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Barrie Slaymaker | More programs
    Perl Artistic License / FREE
    August 18th, 2007, 03:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    XML::Filter::Dispatcher::Compiler description

    XML::Filter::Dispatcher::Compiler can compile rulesets in to code.

    XML::Filter::Dispatcher::Compiler can compile rulesets in to code.

    SYNOPSIS

    use XML::Filter::Dispatcher::Compiler qw( xinline );

    my $c = XML::Filter::Dispatcher::Compiler->new( ... )

    my $code = $c->compile(
    Package => "My::Filter",
    Rules => [
    'a/b/c' => xinline q{warn "found a/b/c"},
    ],
    Output => "lib/My/Filter.pm", ## optional
    );

    Most of the options from XML::Filter::Dispatcher are accepted.

    NOTE: you cannot pass code references to compile() if you want to write the $code to disk, they will not survive. If you want to eval $code, this is ok.

    METHODS

    xinline

    Hints to X::F::D that the string is inlinable code. This is a requirement when using the compiler and is so far (v.52) ignored elswhere. In xinlined code, $self refers to the current dispatcher and $e refers to the current event's data. Or you can get that yourself in $_[0] and $_[1] as in a normal SAX event handling method.

    compile

    Accepts options that extend and override any previously set for the duration of the compile(), including the ruleset to compile.

    Requirements:

    · Perl



    Product's homepage

      


    TAGS:

    compile rulesets | XML filter | Perl module | XML | filter | dispatcher

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM