Thanks Bob, and thanks RF. I used seek and tell, and now have the data
as part of a module.
Paul
On Wed, Feb 05, 2003 at 05:13:24PM -0500, Bob Showalter wrote:
> From: Bob Showalter <[EMAIL PROTECTED]>
> To: 'Paul Tremblay' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Paul Tremblay wrote:
> Thanks, but this won't work. I need to open the data file and read
> some data. Later in the script, I need to open the data file again
> and read more data. When I use , perl apparently reads one
> line at a time until it finds what I want. It then starts at the line
> I le
Thanks, but this won't work. I need to open the data file and read some
data. Later in the script, I need to open the data file again and read
more data. When I use , perl apparently reads one line at a time
until it finds what I want. It then starts at the line I left off when I
need to read more
>However, I have several files that need aren't modules but are needed
>for my script. One of these is a data file. How do I set up Makefile.pl
>to make sure this data file gets put in a place where the script can
>read it?
The answer verbatim from The Perl Cookbook
(http://www.oreilly.com/catalo