in reply to Isn't there a print line function?
$_ = "this is a line containing whatever\n"; print if /whatever/; [download]