程嶏清单14-17.txt

来自「< linux网络编程工具>>配套源码」· 文本 代码 · 共 13 行

TXT
13
字号
  #!/usr/bin/perl
  push (@INC,'pwd');
  use Coffee;
  $cup = new Coffee;
  print "\n Calling with no parameters: \n";
  $cup->makeCup;         # With no parameters
  print "\n Calling with one parameter: \n";
  $cup->makeCup('1');      # With one parameter
  print "\n Calling with two parameters: \n";
  $cup->makeCup(1,'2');     # With two parameters
  print "\n Calling with three parameters: \n";
  $cup->makeCup('1',3,'1');   # With all three parameters

⌨️ 快捷键说明

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