in reply to Re^2: reading from a text file
in thread reading from a text file

No i didn't forget.
But its either a '\d' inside the '()' like this (\d\w+)
or a '\s' outside like this \s(\w+)
Do you see any big difference?
Cause if you don't use either of them and write it like this
($_ =~ /.*(\d\d).*(\w+)/)
Then the only thing that $2 will have inside, will be a single 'T'.
So i suggest you study a bit of regex more, before coming to conclusions

``The wise man doesn't give the right answers, he poses the right questions.'' TIMTOWTDI