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

NAME

Sidef - The Sidef Programming Language

DESCRIPTION

This in the main object which provides some SUPER methods.

SYNOPSIS

This module can only be used as a parent:

        our @ISA = qw(Sidef);

or

        use parent qw(Sidef);

METHODS

!=

Obj != Obj -> Bool

Return true when two objects are not of the same type.

    nil != 4     # True
    nil != nil   # False

==

Obj == Obj -> Bool

Return true when two objects are of the same type.

    nil   == nil   # True
    false == nil   # False

def_method

Obj.def_method(name, block) -> Obj

Define a method for the self object.

is_a

Obj.is_a(Obj) -> Bool

Returns true when both objects have the same type.

Aliases: is_an

method

Obj.method(name; args...) -> LazyMethod

Returns a lazy method call for the main object.

METHODS

Obj.METHODS() -> Hash

Returns a new hash with the method names as keys and LazyMethod objects as values for the self object.

respond_to

Obj.respond_to(method_name) -> Bool

Returns true when the Obj responds to a given method name.

Aliases: respondTo

super_join

Obj.super_join(args...) -> Obj

Returns a new Obj with all the arguments concatenated together.