Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Perl you could write

print "I ate a $fruit for $meal"

Or

printf 'I ate a %s for %s', $fruit, $meal



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: