Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more
mRuby::Symbol - mruby symbol value.
use mRuby::Symbol qw/mrb_sym/;mrb_sym('foo'); ## :foo in mruby context.
use
mRuby::Symbol
qw/mrb_sym/
;
mrb_sym(
'foo'
);
## :foo in mruby context.
my $sym = mrb_sym($str) : mRuby::Symbol
Generate symbol value named $str in mruby.
$str
To install mRuby, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mRuby
CPAN shell
perl -MCPAN -e shell install mRuby
For more information on module installation, please visit the detailed CPAN module installation guide.