in reply to Re: Re: Re: Inserting lines in a file with Tie::File if lines don't exist
in thread Inserting lines in a file with Tie::File if lines don't exist
If you really have tie @lines, 'Tie::File', $hostsfile or die ...; then you should change it to something like
tie @lines, 'Tie::File', $hostsfile or die "Couldn't tie file $hostsfile; $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Inserting lines in a file with Tie::File if lines don't exist
by devgoddess (Acolyte) on Jan 04, 2004 at 01:47 UTC |