in reply to Fiddling around with reg-ex

if ($columns\0\ =~ /\/home/)
{
<indent>print 'matched on /home';</indent>
}
etc...