http://qs321.pair.com?node_id=61402


in reply to Re: Re: Re: Yet Another Perl Aptitude Test (yapat)
in thread Yet Another Perl Aptitude Test (yapat)

Hi tame1! I'm sorry this is happening. It is possible that you are having a problem because my Windoze machine has put different line feed characters in the program than your machine wants to use. I found that when I carried this over to my linux box, I had to run this one-liner to get it to work:

perl -p -ibak -e 's/\015//g' yapat.pl

This removed any funky characters which made the regex fail. Again, I'm really sorry that happened-- tell me if this fixes the problem (and if it doesn't, please tell me too!) Thanks. -zeno