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 > Perl Modules

    Text::MicroMason::Safe 2.13

    Download button

    No screenshots available
    Downloads: 425  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.7/5)
    14 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alan Ferrency | More programs
    Perl Artistic License / FREE
    July 23rd, 2008, 11:29 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Text::MicroMason::Safe description

    A Perl module to compile all templates in a safe compartment.

    Text::MicroMason::Safe is a Perl module to compile all templates in a safe compartment.

    SYNOPSIS

    Instead of using this class directly, pass its name to be mixed in:

    use Text::MicroMason;
    my $mason = Text::MicroMason->new( -Safe );


    Use the standard compile and execute methods to parse and evalute templates:

    print $mason->compile( text=>$template )->( @%args );
    print $mason->execute( text=>$template, @args );


    Safe usage restricts templates from accessing your files or data:

    print $mason->execute( text=>"" ); # dies

    print $mason->execute( text=>"The time is ." ); # dies


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    templates compiler | Micro Mason | Perl module | template | compiler | MicroMason

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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