in reply to Removing the first record in a file containing fixed records
Alternatively, you can seek() over the first record instead of reading it.{ local($/) = \$record_length; my $first_record = <recordline>; $/ = \(512*1024); while (<recordfile>) { print newrecordfile; } }
|
|---|