How to grep on a scalar value,the following grep is yieldin a value of zero?
$folder_present = grep (/^\Q$folder\E$/i, $mk); print $folder_present #prints zero
In reply to Grep failing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |