http://www.perlmonks.org?node_id=61739


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

Another common problem is if you just used "cut'n'paste" to grab the script, then you probably introduced leading spaces on the lines. You should probably use the "d/l code" link at the bottom of the node instead (though browsers can be a bit silly about this and it can introduce other problems that way).

It would probably good to update the script so that it ignores whitespace completely.

        - tye (but my friends call me "Tye")