Sidef - The Sidef Programming Language
This in the main object which provides some SUPER methods.
This module can only be used as a parent:
our @ISA = qw(Sidef);
or
use parent qw(Sidef);
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
Obj.def_method(name, block) -> Obj
Define a method for the self object.
Obj.is_a(Obj) -> Bool
Returns true when both objects have the same type.
Aliases: is_an
Obj.method(name; args...) -> LazyMethod
Returns a lazy method call for the main object.
Obj.METHODS() -> Hash
Returns a new hash with the method names as keys and LazyMethod objects as values for the self object.
Obj.respond_to(method_name) -> Bool
Returns true when the Obj responds to a given method name.
Aliases: respondTo
Obj.super_join(args...) -> Obj
Returns a new Obj with all the arguments concatenated together.
To install Sidef, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sidef
CPAN shell
perl -MCPAN -e shell install Sidef
For more information on module installation, please visit the detailed CPAN module installation guide.