Would be good if you could do:
my $interpreter = Sidef->new(
classes => {
Sys => 'My::Sidef::Sys::Sys',
},
);
And that instance of Sidef would use My::Sidef::Sys::Sys instead of Sidef::Sys::Sys. This would allow you to run scripts in a safe evaluation context which didn't have access to Sys.exec() and so on.
Would be good if you could do:
And that instance of Sidef would use My::Sidef::Sys::Sys instead of Sidef::Sys::Sys. This would allow you to run scripts in a safe evaluation context which didn't have access to
Sys.exec()and so on.