Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Tweaking the mysteries of HoHs and arrays

by billie_t (Sexton)
on Nov 19, 2007 at 09:05 UTC ( [id://651620]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($line =~ /relay=127\.0\.0\.1/) {        
        my ($id, $to, $status) = (split /\s+/, $line, 10)[5,6,9];
    ...
        if (defined  $messages{$id}{to2} ) {     print ", $messages{$id}{t
    +o2}"; }
        print "\n";    
    }
    
  2. or download this
    Nov 16 10:28:51 66AE820809D     Terry.Puser@ourdomain.com    carols@th
    +eirdomain.com.au, daleb@theirdomain.com.au[, ...]
    
  3. or download this
    Nov 16 10:28:51 smtp3 postfix/smtpd[17709]: connect from mailserver.ou
    +rdomain.gov.au[168.x.x.x]
    Nov 16 10:28:51 smtp3 postfix/smtpd[17709]: 66AE820809D: client=mailse
    +rver.ourdomain.gov.au[[168.x.x.x]
    ...
    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: perlquestion [id://651620]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found