📄 test.t
字号:
#!perl -w
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
use strict;
use vars qw( $loaded $GetPID $PID);
######################### We start with some black magic to print on failure.
BEGIN { $| = 1; print "1..2\n"; }
END {print "not ok 1\n" unless $loaded;}
use Win32::API;
$loaded = 1;
print "ok 1\n";
######################### End of black magic.
$GetPID = new Win32::API("kernel32", "GetCurrentProcessId", "", "N");
$PID = $GetPID->Call();
print "" . ($PID != $$ ? "not " : "") . "ok 2\n";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -