Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Hash dereferencing and printing

by Russ (Deacon)
on Jun 03, 2002 at 16:30 UTC ( #171274=note: print w/replies, xml ) Need Help??


in reply to Hash dereferencing and printing

If I understand the issue, you just need to pass two hashes to post2Web:
sub post2Web { my ($jRef, $iRef) = @_; # Now just use $jRef, and $iRef printf INFO $infoformat, 'jobid', $jRef->{jobid}; printf INFO $infoformat, 'backup_time', $iRef->{backup_time}; } # Call it with references to your hashes as you would expect: post2Web(\%jobs, \%images);

Russ
Brainbench 'Most Valuable Professional' for Perl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-12-07 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?