in reply to
Re^2: perl grep with regex
in thread
perl grep with regex
There's probably some whitespace at the end of the lines in the file. Remove it:
s/\s+$// for @arr2;
[download]
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on
Re^3: perl grep with regex
Download
Code
Replies are listed 'Best First'.
Re^4: perl grep with regex
by
swissknife
(Sexton)
on Jun 30, 2014 at 14:20 UTC
actually the space was in the beginning of line. i removed it and now it is working correctly.
[reply]
In Section
Seekers of Perl Wisdom