in reply to Re^2: Storing unordered data from file in memory
in thread Storing unordered data from file in memory
Because I want to learn feel free to improve the code and give hints what I could do better.Use printf instead of print and sprintf. This:
print "ERROR: S3-Record with address " . sprintf("%08X", $next_address +) . " is missing in input file!\n";
is shorter (and perhaps clearer) as this:
printf "ERROR: S3-Record with address %08X is missing in input file!\n +", $next_address;
|
|---|