in reply to what is the purpose of Tie::File
Hello
In the thread which reports UTF8 problem of Tie::File, I vaguely imagined a case which sometimes asked in this monk. That is "there is large, large file, and I want to find last 5 records and modify them".
Tie::File, and DB_File could iterate from last records(because it is array), so I thought these could do that kind of jobs faster.
Now I am thinking is there widgets (TK or GTK), using tied array feature? Say, $That_Widget::DATA[0]="new data"; updates file. Or, DBI supports this kind of data access like Tie::File ???
I wonder whether I responded your post ...
regards.
|
---|
In Section
Seekers of Perl Wisdom