Tie a large file to a Hash

From: SpecialK (gkincade1_at_austin.rr.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 17:28:20 GMT

Does anyone know how to tie a large file to a Hash using IPC::Shareable?
Code fragments would be most helpful.

thanx,
greg



Relevant Pages

  • Tie a large file to a Hash
    ... Does anyone know how to tie a large file to a Hash using IPC::Shareable? ... Code fragments would be most helpful. ...
    (comp.lang.perl.misc)
  • Re: Help with tied/nested data structures
    ... tie %hash, 'HashTest'; ... package ScalarTest; ... sub FETCH { ... tie $$ref, 'ScalarTest', $value; ...
    (comp.lang.perl.misc)
  • DB_File and File Locking -- Best Practices
    ... I am am unluckily stuck with a slow moving IT department managing the ... Traditionally file locking was supposed to go like this: ... when you tie the %hash the file is read before the lock is made. ...
    (comp.lang.perl.misc)
  • Re: FAQ 4.61 How can I always keep my hash sorted?
    ... perl's own hash implementation copied from the guts and put into a tie able ... In older versions of perl, ... there were a fixed list of possible vtables, ...
    (comp.lang.perl.misc)
  • Re: Help with tied/nested data structures
    ... You aren't having a problem with the GC culling them now. ... uses a normal hash to store values. ... scalar is stored as such and not, for instance, stringified. ... Some tie classes do that. ...
    (comp.lang.perl.misc)