in reply to Re: Re: Scalar size limits
in thread Scalar size limits

Ok, I have the same question for you as I do artist. You are s/// a $, where do I set my variable to this?
substr($_,0,49) =~ s/$/<br><font color=red>+<\/font>/ if length($_) > +50;

Replies are listed 'Best First'.
Re: Re: Re: Re: Scalar size limits
by fglock (Vicar) on Jun 26, 2003 at 16:42 UTC

    $ is the end of the substr'ed $_ !

    But ignore this and see my update on Text::Wrap.