in reply to Using printf
Also, your "\n" won't get printed since your format has 3 "slots" and you are passing it 4 parameters. You can put the "\n" in the format.printf "%18s %18s %18s", ($ip_date_time[$i]{ip}, $ip_date_time[$i]{dat +e}, $ip_date_time[$i]{time});
|
|---|