anaconda_wly has asked for the wisdom of the Perl Monks concerning the following question:
It's OK when I type directly not using a string var.$binpath="c:\\qa\\kontor\\bin"; if( $ENV{PATH} !~ /$binpath/i) # error here
Anyone can point out my error?Thanksif( $ENV{PATH} !~ /c:\\qa\\kontor\\bin/i)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex error
by aitap (Curate) on Apr 06, 2013 at 12:25 UTC | |
|
Re: regex error (backslashing)
by LanX (Saint) on Apr 06, 2013 at 15:30 UTC | |
by anaconda_wly (Scribe) on Apr 07, 2013 at 07:58 UTC | |
|
Re: regex error
by Anonymous Monk on Apr 06, 2013 at 10:54 UTC | |
|
Re: regex error
by igelkott (Priest) on Apr 06, 2013 at 15:11 UTC |