dear monks, i had been using some linux commands like grep and cat, but it seems as they doesn't take any variable except $_. this code doesn't work but when i replace it with $_ , it works. 1 more thing i had to ask is how many $_ variables can be used simultaneously and how. thanks for sharing your knowledge
foreach $keye (@key_en) { $linb=`cat /home/vikash/pro_1/en_1000 | grep --regexp '$keye'`; print "$linb\n"; }
In reply to why does it not work??? by vikashiiitdm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |