in reply to Re^7: Yesterday Date
in thread Yesterday Date

$/ is a fancy (and possibly silly) way of saying "\n"

By the way, putting quotes around nothing but a variable ("$d") is useless, weird and confusing.