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)
In reply to regex error by anaconda_wly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |