Adam Jimerson wrote:
Yea I read that dbmopen was superseded by the "tie" function but I couldn't
figure out the permissions for it:
tie(%HIST, 'NDBM_File', '/usr/lib/news/history', 1, 0);
perldoc DB_File
[ snip ]
Default Parameters
It is possible to omit some or all of the final
"John W. Krahn" wrote:
> Adam Jimerson wrote:
>> I am working on a program that will act as a contact manager of sorts,
>> it uses two hashes to store everything (although the second one is
>> commented
>> out because I am not ready to work with it). I am using the format
>> function to display
(Randal L. Schwartz) wrote:
>> "Adam" == Adam Jimerson writes:
>
> Adam> my %phone_numbers = ();
> ...
> Adam> $phone_numbers{$_} #needs to print the keys of the hash for the
> name, and Adam> values for the phone number so it will be like this "Some
> Name 555-555-" Adam> .
>
> Back in
> "Adam" == Adam Jimerson writes:
Adam> my %phone_numbers = ();
...
Adam> $phone_numbers{$_} #needs to print the keys of the hash for the name, and
Adam> values for the phone number so it will be like this "Some Name
555-555-"
Adam> .
Back in the day, formats couldn't access lexical (m
Adam Jimerson wrote:
I am working on a program that will act as a contact manager of sorts, it
uses two hashes to store everything (although the second one is commented
out because I am not ready to work with it). I am using the format function
to display everything but I don't know how to ge