|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^6: Offset Reading - two filesby gio001 (Acolyte) |
| on Dec 14, 2012 at 15:46 UTC ( #1008861=note: print w/ replies, xml ) | Need Help?? |
|
I have tried: perl -sple 'BEGIN{open BIG};($1,$2)=split;seek(BIG,$1,0);read(BIG,$_,$2)' -- -BIG=bigfile.dat index.dat >outfile.dat and I received the following:Modification of a read-only value attempted at -e line 1, <> line 1 Thanks,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||