Craftworks > Text-ClearSilver-0.10.5.4 > Text::ClearSilver::Compat

Download:
Text-ClearSilver-0.10.5.4.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Text::ClearSilver::Compat - Adopt Text::ClearSilver, instead of ClearSilver and Data::ClearSilver::HDF

SYNOPSIS ^

    use Text::ClearSilver::Compat;

    # main script
    use ClearSilver;            # noop
    use Data::ClearSilver::HDF; # noop

    my %vars;
    my $hdf = Data::ClearSilver::HDF->HDF(\%vars);

    my $cs = ClearSilver::CS->new($hdf);
    $cs->parseFile('template.cs');
    $cs->render();

SEE ALSO ^

Text::ClearSilver

syntax highlighting: