Hi All,
I'm trying to store a hash of array in perl's little db, but get the
following error. Any ideas on what I'm doing wrong or how to fix it?
Can't use string ("ARRAY(0x76d2ae0)") as an ARRAY ref while "strict
refs" in use at test.pl line 29.
Here is the code
dbmopen(%RELEASE_INFO, ${DATABASE_NAME}, 0777) || LOGMESSAGE ("Can't
create database ${DATABASE_NAME}\n");
$RELEASE_INFO{'DATA'}[0] = 'Release name';
$RELEASE_INFO{'DATA'}[1] = '1.2.3.4';
print "Release info is $RELEASE_INFO{'DATA'}[0]\n";
print "Release info is $RELEASE_INFO{'DATA'}[0]\n";
dbmclose(%RELEASE_INFO);
thanks.
- - - - - Cisco -
- - - -
This e-mail and any attachments may contain information which is confidential,
proprietary, privileged or otherwise protected by law. The information is solely
intended for the named addressee (or a person responsible for delivering it to
the addressee). If you are not the intended recipient of this message, you are
not authorized to read, print, retain, copy or disseminate this message or any
part of it. If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer._______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs