in reply to Tying big hashes

HAHAHA! This is SOO easy I didn't even see it untill just now :) All you have to do is:
use subs 'exit'; sub exit { saveConfig(); CORE::exit(); }
No tie required... there goes two and 1/2 days of trying to get tie to work ^_^

Replies are listed 'Best First'.
Re: Re: Tying big hashes
by Joost (Canon) on May 30, 2002 at 11:10 UTC
    Why not
    END { saveConfig() }
    That's even smaller (and more idomatic) :-)
    -- Joost downtime n. The period during which a system is error-free and immune from user input.