📄 arnold.pm
字号:
package NAV::Arnold;our @ISA = qw(Exporter);our @EXPORT = qw(&readconfig);use NAV::Path;sub readconfig { my $config = "$NAV::Path::sysconfdir/arnold/arnold.cfg"; my %cfg; open (CFG, $config) or die ("Could not open $config, exiting: $!"); while (<CFG>) { next if /^\#/; next unless /^\S+/; chomp; $_ =~ /(\S+)\s*=\s*(.+)/; $cfg{$1} = $2; } close CFG; return %cfg;}1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -