in reply to having trouble with count
Your 2nd assignment to the $count variable clobbers the 1st ($count++).$count++; @z =split('', $line); $count = @z;
You should show the data values you input as well as the output you want. That way it will be clearer to us what you are trying to accomplish. Also, use strict and warnings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: having trouble with count
by bjohn (Initiate) on Mar 22, 2011 at 14:09 UTC |