Guys, 

I think I have worked out why the following line doesn't do what I expected
it to.

I want @all_lines to become @all_lines from 0 up to $line_count minus 1.

This line:

@all_lines = @all_lines[0..($line_count--)];

I think is making @all_lines become @all_lines from 0 to $line_count, AND
THEN is decrementing $line_count by 1.

I know I could decrement @line_count on the preceding line, but there _must_
be a cool way of doing this??

Thanks.

R.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to