Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of ambs (3914)

Wednesday October 27, 2004
02:19 PM

My first Acme module

[ #21548 ]
To write an Acme module is something very important for a CPAN contributor. We really want to write something for the Acme namespace, but we want it to be fun, interesting.

And, Acme::Lisp seems to meet these requirements. It is fun, it can be interesting. But it is just a kind of prototype.

What it does? It takes Lisp code written as array references and evaluates it. Do you want a sample? here it goes:

  use Acme::Lisp;

  $code = [qw(+ 2 4 6 8)];
  print eval_lisp($code);

Run this and get... 20. Wonderful, huh?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.