用法简介 1.带值参数传入程序内部 ※参数类型:整数, 浮点数, 字串 GetOptions( 'tag=s' => \$tag ); ‘=’表示此参数一定要有参数值, 若改用’:'代替表示参数不一定要有参数值 ‘s’表示传递字串参数, 若为’i'表传递整数参数, 若为’f'表传递浮点数. 带值参数使用的方法 $ test.pl --tag=string $ test.pl --tag string 2. 需要传送多个值的参数到程序中. 比如需要传几个值到 @libfiles 中的操作方法. G…