On 2/20/06, Bowen, Bruce <[EMAIL PROTECTED]> wrote: snip > Would $a = index($state, /\n); then be the correct format to find the end of > the line > or a carriage return? Because that gives errors. I'm getting the impression > you can > use \n with some commands and not others. Just that it doesn't seem to be > documented anywhere. snip
The correct syntax is $a = index($state, "\n"); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>