in reply to Fiddling around with reg-ex

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

Replies are listed 'Best First'.
Re: Re: Fiddling around with reg-ex
by JoeJaz (Monk) on Jun 25, 2003 at 14:09 UTC
    This code seems to work well for my purposes. The syntax is easier than I expected. Regular expressions are a bit cryptic to me, but I am quickly learning, thanks to you and many other people from Perlmonks who have given me advice. Thanks for the help.