Julia Gillard inspired by Herald journalist Joanne McCarthy