in reply to Re^4: Working with fixed length files
in thread Working with fixed length files
perl version?
With your program I get 'x' outside of string in unpack because of the x2, after removing those, I get
On 5.008009 I getRate buk ike buk 19.6/s -- -43% ike 34.1/s 74% -- $ perl -e "die $^V" v5.12.2
Rate buk ike buk 22.7/s -- -35% ike 35.1/s 54% --
This is typical win32 mingw/activestate buildRate buk ike buk 24.9/s -- -47% ike 47.1/s 89% -- $ ..\perl.exe -e " die $^V" v5.14.0
update: Well you didn't copy buk's code exactly, you omitted
local $/ = \(2 * 122);
which appears critical5.008009 Rate ike buk ike 35.5/s -- -57% buk 83.1/s 134% -- v5.12.2 Rate ike buk ike 33.6/s -- -55% buk 74.4/s 121% -- v5.14.0 Rate ike buk ike 46.3/s -- -48% buk 88.2/s 91% --
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Working with fixed length files
by Tux (Canon) on Apr 28, 2011 at 09:41 UTC | |
by Anonymous Monk on Apr 28, 2011 at 09:50 UTC | |
by Tux (Canon) on Apr 28, 2011 at 10:02 UTC | |
by Anonymous Monk on Apr 28, 2011 at 09:57 UTC |
In Section
Seekers of Perl Wisdom