[sf-perl] Can't figure this one out

David Alban extasia at extasia.org
Wed Mar 5 17:33:41 PST 2008

with respect to:


consider beginning of string and end of string anchors unless you want
also to match:


if it weren't for the /i modifier, i'd say just use 'eq'.
actually--you could do:

  lc $action eq 'start'

>  > if ($action =~ /start/i) {
>  >         &MainPage($q, \%p);

Live in a world of your own, but always welcome visitors.

More information about the SanFrancisco-pm mailing list