in reply to Red Perl part I

This fails for me, with "substr outside of string at /tmp/t line 11, <DATA> line 1." (This is perl, v5.6.0 built for darwin.)

Replies are listed 'Best First'.
Re: Re: Red Perl part I
by ysth (Canon) on Apr 30, 2004 at 21:02 UTC
    That will result if you save it with incorrect line endings for your platform.