我想在行中找到搜索字符串时返回整行。 当我打印时,我得到了大部分我需要的东西,但是我只有10个字符。我得到了该行和字符串的开头,然后约10个字符,但没有更多。 这里是我的代码(在此先感谢): use strict;
use warnings;
my $calls_dir = "Ask/";
opendir(my $search_dir, $calls_dir) or die "$!\n";
对于某些浮点数学,我正在使用BigDecimal。如果通过4.2划分5你会得到一个异常(如结果有非终止扩张不能由BigDecimal来表示),即 BigDecimal five = new BigDecimal("5");
BigDecimal fourPointTwo = new BigDecimal("4.2");
five.divide(fourPointTwo) // Arithmet