On Apr 14, 2004, at 2:44 PM, [EMAIL PROTECTED] wrote:

That won't work. Because of precedence it evaluates to:

substr $_, index($_, $ss), ( length($ss) = $rs );

Ok. I get it now. Didn't realize I was doing that :D


perldoc -f substr

I was looking it up in the "Learning Perl 3rd" edition.


/me slaps Oreilly

Still a great book. Should have checked perldoc. At this rate I won't be a Perl Noob for long ;-) Learned something new today!


BTW, is the above what you guys call "bottom posting"?

Sure is.


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to