Ask a Question related to PERL Modules, Design and Development.
-
Andrew Lambert #1
Perl B:Bytecode anyone ?
Hi,
I've been trying to compile perl scripts into bytecode. Now, from what I
understand I can use either perlcc -B script.pl or perl -MO=bytecode
script.pl to do this (whats the difference between these two methods anyway
?).
If I use perl -MO=bytecode, both versions I've tried dump seemingly random
ascii characters to the screen. ActivePerl-5.8 completes with 'script syntax
OK' while the standard redhat perl completes with 'No package specified for
compilation ...'. However, in either case, no output files are generated.
If I use perlcc -b, then activeperl-5.8 seems to complete OK, producing an
'a.out' file, while the redhat perl finishes with 'Can't call method "objix"
without a package or object reference at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/B/Bytecode.pm line 355'.
So, if running perlcc -b with activeperl-5.8 has actually worked, how do I
eventually run the a.out file ?
I realize that the bytecode compiler is supposed to be experimental but has
anyone had any success ?
Andrew Lambert Guest
-
Off Topic: Active Perl Native Windows / cygwin perl
I have both activestate windows native perl installed and the default cygwin perl. How can I have the cygwin shell use the windows perl rather... -
[ANN] Syck 0.41 -- 95% Support, Bytecode, Bugfixes
friends, countrymen: Happy to announce Syck 0.41. Syck is the YAML toolkit, the undying force that backs Ruby 1.8's YAML support. This... -
Re : Installing CPAN Perl Modules with Activestate Perl 5. v5.8
Hi, In the process of trying to get perl modules installed, I downloaded over 300 Activestate specific perl modules and they work fine (of the ones... -
Effeciency question - perl scripts v's perl exe's
Max Adams wrote: The only existing Perl compiler is part of perl. Anything else is just a packager that puts a perl, required modules, and the... -
Ruby => Rite, AST => Bytecode?
Matz and fellow Rubyists, On pragprog, we're sort-of discussing the creation of a new language ("Pragmatic") as an exercise in extending one's...



Reply With Quote

