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

    Inline::Mason 0.07

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Yung-chung Lin | More programs
    Perl Artistic License / FREE
    September 13th, 2007, 00:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Inline::Mason description

    Inline::Mason is an inline Mason script for Perl.

    Inline::Mason is an inline Mason script for Perl.

    SYNOPSIS

    package MY::Mason;
    use Inline::Mason 'as_subs';
    our @ISA = qw(Inline::Mason);

    print Inline::Mason::generate('HELLO');
    print Inline::Mason::HELLO();
    print HELLO();
    print NIFTY(lang => 'Perl');



    __END__

    __HELLO__
    % my $noun = 'World';
    Hello < % $noun % >!
    How are ya?

    __NIFTY__
    < % $ARGS{lang} % > is nifty!

    FUNCTIONS

    load_mason

    Create mason scripts in place, and you can pass a list of pairs.

    Inline::Mason::load_mason
    (
    BEATLES
    =>
    'Nothing's gonna change my ',
    # ... ... ...
    );

    print BEATLES(what => 'world');

    load_file

    Load an external file manually and explicitly, and the scripts will belong to the caller's package. This is a safer and more robust way when Inline::Mason is used across several files and packages.

    use Inline::Mason qw(passive as_subs);
    Inline::Mason::load_file('external_mason.txt');

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    inline Mason | Mason script | Perl module | inline | Mason | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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