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; } }
In reply to Re: Removing the first record in a file containing fixed records
by pc88mxer
in thread Removing the first record in a file containing fixed records
by sparkle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |