in reply to using require as c like #include?

If all you're trying to do is bring in a stored hash, why not do it the easy way:

use strict; use warnings; use Storable; use Data::Dumper; my $h_ref = { 'This' => 1, 'That' => 2 }; store $h_ref, 'myfile'; my $stored_hash = retrieve('myfile'); print Dumper $stored_hash;


Dave