Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

RE: Re-post: hashes frustration

by cwest (Friar)
on Sep 14, 2000 at 17:42 UTC ( #32454=note: print w/replies, xml ) Need Help??


in reply to Re-post: hashes frustration
in thread hashes frustration

I haven't used DB_Files but this is my guess:

try:

(contacts_db($database->{anthony1}))->unpack_name()
Since contacts_db() returns a reference for you to unpack_name() with, you can simplify this into one statement like the above.

It's untested, but I'm 74.2% sure it will work.

--
Casey
   I am a superhero.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://32454]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2023-12-08 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (37 votes). Check out past polls.

    Notices?