Ling F. Zhang <[EMAIL PROTECTED]> wrote: : : it is always not good to have a line of instruction : that's very long...what's perl's character to break up : the code?
There isn't one. Perl statements end with a semicolon (there are exceptions). You can use any amount of whites space you wish to break up long lines. Both of these are valid: my $sum = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10; my $sum = 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 0 +1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0+1+2+ 3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4 ; HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]