in reply to Using printf

Hi nysus, Your format needs to be quoted, also your digits need to be between the % and the s...
printf "%18s %18s %18s", ($ip_date_time[$i]{ip}, $ip_date_time[$i]{dat +e}, $ip_date_time[$i]{time});
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.

$ perldoc perldoc