in reply to Re: Inline::Files and DBD::CSV
in thread Inline::Files and DBD::CSV

Now that I'm aware that Inline::Files was not meant to be used in production code, I'll think up something like what you suggest... maybe a bit more sophisticated because I want to keep all the data towards the end of file (that's why I used Inline::Files in the first place). Anyway, thanks for the help!

Replies are listed 'Best First'.
Re^3: Inline::Files and DBD::CSV
by ikegami (Patriarch) on Oct 14, 2008 at 17:45 UTC
    Just do
    my %file; init_files(\%files); . . . sub init_files { my ($files) = @_; %$files = ( ... ); }