Joseph Jones wrote:
>
> if I have a subroutine that returns a references to a hash how would I get
> that hash in a hash that is tied to a DBM i.e.
>
> my %h;
> my $db_name = "test.dbmx";
>
> tie(%h, 'AnyDBM_File', $db_name, O_RDWR|O_CREAT, 0640)
> or die("can't create \%h: $!");
>
> $temp = $nntp->newsgroups();
>
> $temp is a references to a hash I would like to have the return value of
> $nntp->newsgroups()
> put directly in to %h. can this be done or do I have to copy %$temp to %h
%h = %{ $nntp->newsgroups() };
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]