Re: tie hash variable to file

2005-01-19 Thread John W. Krahn
Ken Gillett wrote: I want to pass a string to a subroutine and use that as the name of the hash to tie to a dbm file (or use dbmopen). But I can't make it work with a hash reference in the sub routine. If I use the same code outside the sub or hard code the hash name (i.e. no ref) within the su

Re: tie hash variable to file

2005-01-19 Thread Chris Devers
On Wed, 19 Jan 2005, Ken Gillett wrote: > I want to pass a string to a subroutine and use that as the name of > the hash to tie to a dbm file (or use dbmopen). But I can't make it > work with a hash reference in the sub routine. > > If I use the same code outside the sub or hard code the hash n

tie hash variable to file

2005-01-19 Thread Ken Gillett
I want to pass a string to a subroutine and use that as the name of the hash to tie to a dbm file (or use dbmopen). But I can't make it work with a hash reference in the sub routine. If I use the same code outside the sub or hard code the hash name (i.e. no ref) within the sub it all works perf