|Think about Loose Coupling|
Re: How to use fseek in perl ??by mwah (Hermit)
|on Oct 24, 2007 at 11:53 UTC ( #646873=note: print w/replies, xml )||Need Help??|
Your request would be solved formally by
Addendum: If you only want to insert sth. after a specified line, then you may get along by doing this:
So here we count on $. (line number) and the line after #3 is #4.
Maybe you meant something else by your term "fseek in perl". Better you'd give a small hint what exactly you are trying to solve by that?
In Section Seekers of Perl Wisdom