The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Language::LispPerl::BuiltIns - Default builtin functions collection

apply_role

Apply the given builtin Role to this object.

Usage (install Coroutine builtin functions):

 $this->apply_role('Language::LispPerl::Role::BuiltIns::Coro');

has_function

Returns true if this BuiltIns container has got the given function.

Usage:

  if( my $f = $this->has_function( 'eval ' ) ){
     $this->call_function( $f , $ast );
  }

call_function

Just calls the given CODEREF with the given args.

Usage:

  $this->call_function( $self->has_function('eval') , $ast );