Sha256: 1c15d3dbcc23fade7e090aebfb71d73b9dc2654c32bb0566b4aedeb350c70344
Contents?: true
Size: 418 Bytes
Versions: 4
Compression:
Stored size: 418 Bytes
Contents
require 'perl' require 'perl/common' module Perl class Shell include Perl::Common class << self def run new.run end end def initialize Perl.setup @my_perl = Perl.perl_alloc Perl.perl_construct(@my_perl) end def run argc, argv = argv_to_ffi Perl.perl_parse(@my_perl, nil, argc, argv, nil) Perl.perl_run(@my_perl) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-perl-04.01.2011.2 | lib/perl/shell.rb |
ruby-perl-04.01.2011.1 | lib/perl/shell.rb |
ruby-perl-04.01.2011 | lib/perl/shell.rb |
ruby-perl-0.99.15j | lib/perl/shell.rb |