Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Tweaking the mysteries of HoHs and arrays

by McDarren (Abbot)
on Nov 19, 2007 at 10:43 UTC ( [id://651635]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if ( defined $messages{$id}{to} ) {
            $messages{$id}{to2} = $to;
        } else {    
            $messages{$id}{to} = $to;
        }
    
  2. or download this
    push @{$messages{$id}{to}}, $to;
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    Nov 16 10:28:52 smtp3 postfix/smtp[19429]: 883822080A4: to=<carols@the
    +irdomain.com.au>, relay=mailhost.theirdomain.com.au[203.x.x.x], delay
    +=1, status=sent (250 Message queued)
    Nov 16 10:28:52 smtp3 postfix/smtp[19429]: 883822080A4: to=<daleb@thei
    +rdomain.com.au>, relay=mailhost.theirdomain.com.au[203.x.x.x], delay=
    +1, status=sent (250 Message queued)
    Nov 16 10:28:52 smtp3 postfix/qmgr[9315]: 883822080A4: removed
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (9)
As of 2024-04-23 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found