Linux SoftwareProgrammingLibrariesInline::CPR 0.12

Inline::CPR 0.12


Inline::CPR is C Perl Run
Developer:   Brian Ingerson
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   7K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Inline::CPR is C Perl Run. Embed Perl in C, ala Inline

SYNOPSIS

#!/usr/local/bin/cpr

int main(void) {

printf("Hello World, I'm running under Perl version %sn",
CPR_eval("use Config; $Config{version}")
);

return 0;
}

Is it C? Is it Perl? It's neither, it's both. It's CPR!

CPR (C Perl Run) is a "new language" that looks like C. You don't need to compile it. You just run it, much like Perl. As an added bonus, you'll get access to the full internals of Perl via the CPR API.

The idea is that you just put a CPR hashbang at the top of your C program and run it like a script. The CPR interpreter will run your C code under Perl.

If your 'hash' doesn't 'bang', you can run your program like this:

cpr synopsis.cpr

Requirements:
  • Perl
    tags run your  the cpr  you just  under perl  perl run  

    Download Inline::CPR 0.12


     http://mirrors.evolva.ro/CPAN/authors/id/I/IN/INGY/Inline-CPR-0.12.tar.gz


    Authors software

    Test::Chunks 0.39 (by Brian Ingerson)
    Test::Chunks is a Data Driven Testing Framework.

    NOTE - This module has been deprecated and replaced by Test::Base

    Inline::C 0.44 (by Brian Ingerson)
    Inline::C is a Perl module that can Write Perl Subroutines in C.

    Inline::C is a module that allows you to write Perl subroutines i

    Inline::CPR 0.12 (by Brian Ingerson)
    Inline::CPR is C Perl Run


    Similar software

    Inline::CPR 0.12 (by Brian Ingerson)
    Inline::CPR is C Perl Run

    Inline::Struct 0.06 (by Neil Watkiss)
    Inline::Struct is a Perl module that manipulate C structures directly from Perl.

    SYNOPSIS

    use Inline C => Config => Structs =

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    Inline::CPP 0.25 (by Neil Watkiss)
    Inline::CPP is a Perl module that can write Perl subroutines and classes in C++.

    SYNOPSIS

    use Inline CPP;

    print "9 + 1

    Inline::C 0.44 (by Brian Ingerson)
    Inline::C is a Perl module that can Write Perl Subroutines in C.

    Inline::C is a module that allows you to write Perl subroutines i

    Code::Perl 0.03 (by Fergal Daly)
    Code::Perl is a Perl module to produce Perl code from a tree.

    SYNOPSIS

    use Code::Perl::Expr qw( :easy );

    my $c = derefh(

    MathML::Entities 0.13 (by Jacques Distler)
    MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

    SYNOPSIS

    use M

    Program Version Switch 1.03 (by mws)
    pvswitch is a very tiny program which makes it possible to use different program installations on one machine flawlessly.

    It's fle

    ExtUtils::Embed 1.14 (by Doug MacEachern)
    ExtUtils::Embed is a Perl module with utilities for embedding Perl in C/C++ applications.

    SYNOPSIS

    perl -MExtUtils::Embed -e x

    Inline::SLang::Changes 1.00 (by Doug Burke)
    Inline::SLang::Changes is a Perl module with changes to previous versions of the module.

    Inline::SLang lets you write Perl subrout


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags