test.pm

来自「source of perl for linux application,」· PM 代码 · 共 21 行

PM
21
字号
package B::Lint::Plugin::Test;use strict;use warnings;# This package will be loaded automatically by Module::Plugin when# B::Lint loads.warn 'got here!';sub match {    my $op = shift @_;    # Prints to STDERR which will be picked up by the test running in    # lint.t    warn "Module::Pluggable ok.\n";    # Ignore this method once it happens once.    *match = sub { };}1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?