in reply to Re: Tie::File strangeness with unshift
in thread Tie::File strangeness with unshift
As you suggest, i've created a new, short and dumb script that does something similar. Of course it works, i doubt the problem is anywhere but in my own code...
#!/usr/bin/perl -Tw use Tie::File; use strict; my @array; my $file = "./file.txt"; my $line = "this is a really long line of text (sortof)"; tie @array, 'Tie::File', $file; unshift @array, $line; untie @array
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Tie::File strangeness with unshift
by Limbic~Region (Chancellor) on May 26, 2003 at 00:23 UTC | |
by u914 (Pilgrim) on May 26, 2003 at 00:34 UTC | |
by Limbic~Region (Chancellor) on May 26, 2003 at 00:41 UTC | |
by u914 (Pilgrim) on May 26, 2003 at 00:53 UTC |