in reply to what on earth is going on?

It is hard to tell from your question. In the future instead of "doesn't work" and "variable doesn't increase" you should be more specific. What doesn't work, what variable isn't incrementing.

That aside, line 19 of your script is spliting on , but you don't have commas you have tabs or spaces. BTW Answers will be better if you can provide actual working examples that we could test.


___________
Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;

Replies are listed 'Best First'.
Re^2: what on earth is going on?
by polettix (Vicar) on Nov 10, 2005 at 17:25 UTC
    Yes, and line 17 (splitting on tabs) has been commented...

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.
Re^2: what on earth is going on?
by Angharad (Pilgrim) on Nov 10, 2005 at 17:25 UTC
    Ok, well actually you hit the nail on the head. I am now splitting on tabs and have removed the count variable and its working properly now. Many apologies if you thought my question was unclear. And thanks.