in reply to matching a regular expression
How about:
"hsbn" =~ /^$state/ || "admin" =~ /^$state/
I think that should work. Unless I'm not seeing something :)
"hsbn" =~ /^$state/ || "admin" =~ /^$state/
I think that should work. Unless I'm not seeing something :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: matching a regular expression
by sgifford (Prior) on May 18, 2006 at 15:50 UTC | |
by ikegami (Patriarch) on May 18, 2006 at 16:31 UTC | |
by Jasper (Chaplain) on May 18, 2006 at 15:59 UTC | |
by blazar (Canon) on May 18, 2006 at 15:56 UTC | |
by japhy (Canon) on May 18, 2006 at 16:13 UTC | |
by blazar (Canon) on May 18, 2006 at 16:22 UTC | |
by Jasper (Chaplain) on May 18, 2006 at 16:05 UTC | |
by blazar (Canon) on May 18, 2006 at 16:08 UTC |
In Section
Seekers of Perl Wisdom