# CGI returns the filename and the filehandle in the same variable, giving the # name when treated as a string, and the handle otherwise. Therefore we need # to stringify $var explicitly, because Storable can't store a filehandle. $db{"1"}{"pic1"} = "$var";