libperl-rs 0.4.1

Embed the Perl 5 runtime in a Rust application — safe wrapper around libperl-sys
Documentation
1
2
3
4
5
6
7
//! Quick demo: print the Perl version libperl-sys was built against.

fn main() {
    println!("PERL_VERSION  = {}", libperl_sys::PERL_VERSION);
    println!("PERL_THREADED = {}", libperl_sys::PERL_THREADED);
    println!("PERL_ARCHNAME = {}", libperl_sys::PERL_ARCHNAME);
}